sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Dynamic components with constrained range of motion?

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    3 Posts 3 Posters 1.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jimidmb
      last edited by

      Hi!

      I'm trying to make a dynamic component with some moving parts. I can constrain the axes... is there a way to set limits to how far a (sub-)component can be moved/rotated in a given direction?

      Thanks!
      Andrew

      1 Reply Last reply Reply Quote 0
      • Q Offline
        quantj
        last edited by

        In the dynamic attributes, when doing animation. You get to choose how much it rotates, so you can choose any degrees if you want.

        1 Reply Last reply Reply Quote 0
        • oceanembersO Offline
          oceanembers
          last edited by

          If I understand the question correctly, you want to be able to rotate the component, but only a certain distance? You can just use a conditional statement.
          Angle = if(inputAngle<maxAngle, inputAngle, maxAngle)

          If you wanted to actually be using the rotate tool, you could nest the component within a shell, and have the nested component compensate when the shell's rotation exceeds the max rotation. I don't think you can have a single rotation attribute constrained with a formula and still be able to directly alter it with the rotation tool, unfortunately.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement