SAMSON Forum
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • SAMSON Connect
    • Get SAMSON
    1. Home
    2. Develop
    3. Modeling
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • Yassine

      Solved How to add new fields in the inspector for my custom class ?
      • Yassine

      5
      0
      Votes
      5
      Posts
      3532
      Views

      Yassine

      Awesome !

      Thank you guys, you rock !

      Yassine

    • H

      Solved Adding SBAtoms to SBGroupNode
      • Haichao

      4
      0
      Votes
      4
      Posts
      2809
      Views

      H

      Thanks, this solves my problem!

    • E

      Creating our own predicates
      • Elisa

      3
      0
      Votes
      3
      Posts
      2512
      Views

      E

      Thank you! Using the GetClass and GetElementUUID methods is enough for my purposes :)

    • E

      Sharing a child between two nodes
      • Elisa

      3
      0
      Votes
      3
      Posts
      2390
      Views

      E

      Thank you!
      I will try it with this.

      Yes, I meant SBStructuralGroup :)

    • H

      Solved visibility of elements in the visual model
      • Haichao

      5
      0
      Votes
      5
      Posts
      3443
      Views

      H

      This is already quite helpful, thank you!
      I will try and see if displayLineSweptSpheres solves the issue.
      I will post the solution when I've found it!
      Cheers,
      Haichao

    • L

      Get the position/index of an atom in the document view
      • Leonard

      3
      0
      Votes
      3
      Posts
      2592
      Views

      L

      Perfect thanks.

    • E

      Inheriting fields in the inspector class and vector fields
      • Elisa

      3
      1
      Votes
      3
      Posts
      2290
      Views

      E

      Dear Stephane,

      Thanks for the quick reply. I will add the position in three attributes for now. Looking forward to 0.8.0!

    • Laëtitia

      Get the atom xyz file coordinates
      • Laëtitia

      5
      0
      Votes
      5
      Posts
      3255
      Views

      Laëtitia

      oh you're right there is a 100 coefficient, it's giving me the coordinate in pm. Didn't think about that.
      thank you very much.

    • E

      Python bindings for my custom model
      • Elisa

      57
      1
      Votes
      57
      Posts
      26443
      Views

      DmitriyMarin

      I think it should be possible, it will be just an additional line in the launcher script. If we will be shipping Python Scripting with the Python environment, I think we might ship the environment with a bare SAMSON installation so that to use SAMSON Elements, that depend on this environment, the user won't need to install the Python Scripting Element.

    • E

      Serialization/Unserialization issues
      • Elisa

      17
      1
      Votes
      17
      Posts
      7345
      Views

      E

      Hi,

      I think I found the problem. Some initialization functions in the constructor of my class were overriding the unserialization. I tried to make a quick fix but when I do static casts in the unserialize function, SAMSON is crashing, so I will modify my constructor and check, it will take a bit though.

      Thanks for your help!

    • E

      Applying rotations to my custom model
      • Elisa

      3
      0
      Votes
      3
      Posts
      2411
      Views

      E

      Dear Stephane,

      Yes, we have atoms. The 0.8.0 solution will be the best long-term, as we are dealing with large systems and FPS drop a lot when translating or rotating, but for now I will check the ParticlePositionChanged event.

      Thanks!!

      Elisa

    • K

      How to do a carbon nanotube attached in a graphene sheet?
      • Kevin 3

      3
      0
      Votes
      3
      Posts
      2478
      Views

      DmitriyMarin

      Alternatively, you can do this without the Brenner interaction model but with the built-in minimization which uses the Universal Force Field (UFF) and the Add editor (shortcut: A) (it's Carbon by default).

      First, you will need to modify SAMSON preferences (Ctrl+K):
      -1- For the Add editor, disable the "Adjust hydrogens ..." option.
      0_1600418725406_Preferences-Add-no-adjust-H.png

      -2- For the Minimization, disable the "Warn me when hydrogens appear to be missing" warning to prevent it from poping-up on each new bond connection.
      0_1600418739623_Preferences-Minimize-no-H-warning.png

      Then you can apply the minimization: Home >Simulate > Minimize. Start connecting atoms in the nanotube and the graphene sheet using the Add editor (A) - to create a bond simply connect two atoms with this editor.

    • L

      Van der Waals Tutorial - Casting Shadows
      • Lauren

      4
      0
      Votes
      4
      Posts
      1391
      Views

      DmitriyMarin

      Dear @Lauren ,

      We have updated the Creating visualizations: Van der Waals visual model tutorial in our Developer Guide.

      You can also check out the code samples corresponding to this tutorial here: https://github.com/1A-OneAngstrom/SAMSON-Developer-Tutorials/tree/master/VanDerWaals. The code samples contain more optimized code and some additional functionality.