sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Possible piston controller bug

    Scheduled Pinned Locked Moved SketchyPhysics
    3 Posts 2 Posters 648 Views 2 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.
    • A Offline
      argosea
      last edited by

      I'm using SU ver 8 and SP 3.2 on vista. My construction is just 3 groups: a cylinder, a tube (with a flange foot); and a box (used as a base). The cylinder is inside the tube and the tube sits on the box. I group the piston with the cylinder and joint connected it to the tube. I set the piston/cylinder to "frozen". When I press play this allows me to reset the piston controller from 0.5 to 0 before activating the piston action by touching the model. (Which is what I want to do.)

      However, the "frozen" setting for the piston/cylinder does not work if my construction has 2 (or more) joints i.e. when I start over and group a piston with the cylinder and group a ball joint with the tube, and then joint connect the the piston to the tube and the ball joint to the base. In this case the cylinder is always advanced to the 0.5 setting of the controller immediately upon pressing play leaving no possibility of initially resetting the piston action to 0 before activating the model.

      Does anyone know of a way to fix this problem? My goal is to be able to set the piston controller to 0 as an initial setting before any action takes place.

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mr.K.1
        last edited by

        Well I can't really imagine the model from text, but to put it simply: a movable object will unfreeze others if they are connected.

        A better way to reset values is changing the controller input, you can try 2 things:
        slider('piston', 0.0) - which will set the piston to 0.0 by default, but the html slider will still be in the middle so it may get a bit jerky

        (slider('piston') - 0.5) * 2 - the default slider 0.5 gets reduced to 0.0, and x2 so you can still reach the full swing at 1.0, or -1.0

        1 Reply Last reply Reply Quote 0
        • A Offline
          argosea
          last edited by

          Thanks much for the help, that did the trick! I'm new to SP and greatly appreciate the assistance this forum provides.

          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