SAMSON Forum
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • SAMSON Connect
    • Get SAMSON
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • E

      Python bindings for my custom model
      Modeling • • Elisa

      58
      1
      Votes
      58
      Posts
      56182
      Views

      DmitriyMarin

      To update the topic and for information:
      If you are looking for instructions on how to create Python bindings for your SAMSON Extension, please refer to the Developer Guide: Creation of Python Bindings for SAMSON Extensions.

    • L

      Van der Waals Tutorial - Casting Shadows
      Modeling • • Lauren

      4
      0
      Votes
      4
      Posts
      1753
      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.

    • K

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

      3
      0
      Votes
      3
      Posts
      2808
      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.

    • E

      Applying rotations to my custom model
      Modeling • • Elisa

      3
      0
      Votes
      3
      Posts
      2732
      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

    • E

      Serialization/Unserialization issues
      Modeling • • Elisa

      17
      1
      Votes
      17
      Posts
      8732
      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!

    • Laëtitia

      Get the atom xyz file coordinates
      Modeling • • Laëtitia

      5
      0
      Votes
      5
      Posts
      3689
      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

      Inheriting fields in the inspector class and vector fields
      Modeling • • Elisa

      3
      1
      Votes
      3
      Posts
      2589
      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!

    • L

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

      3
      0
      Votes
      3
      Posts
      2896
      Views

      L

      Perfect thanks.

    • H

      Solved visibility of elements in the visual model
      Modeling • • Haichao

      5
      0
      Votes
      5
      Posts
      3876
      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

    • E

      Sharing a child between two nodes
      Modeling • • Elisa

      3
      0
      Votes
      3
      Posts
      2687
      Views

      E

      Thank you!
      I will try it with this.

      Yes, I meant SBStructuralGroup :)

    • E

      Creating our own predicates
      Modeling • • Elisa

      3
      0
      Votes
      3
      Posts
      2810
      Views

      E

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

    • H

      Solved Adding SBAtoms to SBGroupNode
      Modeling • • Haichao

      4
      0
      Votes
      4
      Posts
      3162
      Views

      H

      Thanks, this solves my problem!

    • Yassine

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

      5
      0
      Votes
      5
      Posts
      3951
      Views

      Yassine

      Awesome !

      Thank you guys, you rock !

      Yassine