CamBuilder and first boundary position not zero

niallel
2024-10-23
2025-01-08
  • niallel - 2024-10-23

    Hi,

    I've read the CamBuilder documentation and it shows to use the left boundary of the first segment as SMCB.BoundImplicit(), so that the transition is as smooth as possible. With this it sets X and Y to 0.

    My first slave position is not 0 (say for example it's 100), so I would set it with SMCB.Bound(0,100).

    My question is that when the cam goes back to the start (Periodic := TRUE) , will it blend with the last position (360, 100) if I do this?

    I imagine it will, but the documentation isn't clear as the information in the Periodic Cams only says to set Smooth Transition in the cam properties - but when I'm defining it with code there isn't an option for Smooth Transition to be set.

    Hope this makes sense?

    Many thanks,

     
    • hboertz - 2025-01-08

      Hi @niallel,

      it is currently not possible to create periodic cams using SMCB.BoundImplicit(). If you want to create a periodic cam which does not start/end with all slaves values equal to zero, then you must specify the boundary conditions explicitly using SMCB.Bound().
      When you finished your cam, you can check via CamBuilder.CheckContinuity(), if the cam fulfills the continuity requirements for a periodic cam (see input isPeriodic).

      But you are right, it should be possible to create periodic cams using implicit boundary conditions. I have added the following Jira issue, so that this feature might be included in a future SoftMotion version:

      SM-5537: CamBuilder: It should be possible to create periodic cams using implicit boundaries

      I hope this answers your question.

      Best regards,
      Hendrik

       

Log in to post a comment.