Blender’s constraint system offers a very powerful feature-set. In this video tutorial we will look at how to rig a piston using several constraints.

You must be logged in to upload images. Register

Discussion

24 Responses to “Rigging a Piston”
  1. Posts: 11

    I love your tuts Jonathan, very nice, thanks for teaching us.

    May I suggest that you add 30 secs at the early part of the constraining a piston tut to explain how to reset the object centers since that is crucial and lots of beginners have trouble with this.

    #
    1
    Nov 13, 2009 at 12:31 pm
  2. Lace Williamson
    Posts: 5

    Great tutorial! I’ve been following your tutorials for a while now and they’ve helped me immensely!

    As well as the 30 second portion on resetting object centers, you might mention something about applying the visual rotation and scaling data (I think it is alt-a?) to the object as this can give odd results when you go set up the constraints, depending on how the assembly was modeled.

    Thanks so much, these tutorials are priceless!

    –Lace

    #
    2
    Nov 18, 2009 at 11:33 pm
  3. Lace Williamson
    Posts: 5

    It’s ctrl-akey, apologies. This seemed to solve some strange movement issues I was having with items I was constraining.

    #
    3
    Nov 19, 2009 at 1:13 am
  4. Posts: 208

    I am having trouble with objects following empties ,right after objects are repositioned from Constraints to face empty. I was wondering is this got to do with resetting object centers that Lyle Walsh was mentioning about ?
    And , yes , thank you for your time ,and for the tutorial .

    #
    4
    Nov 30, 2009 at 5:17 pm
    • steeve
      Posts: 1

      very enjoyable thanks!

      #
      4.1
      Dec 6, 2009 at 3:23 am
  5. tom selbeck
    Posts: 1

    hi,i,m a noob so i got a problem,at the end my pieces don’t stay into eachother,they track but still fly out of the piston,do i have the axes wrong?

    #
    5
    Dec 6, 2009 at 4:26 am
    • Posts: 1394

      It sounds like you just need to set a limit on the constraints so that the piston can only move a certain distance.

      #
      5.1
      Dec 6, 2009 at 10:53 am
  6. Steven Bailey
    Posts: 4

    I’m assuming that resetting the object centers is a rather simple task. How is it done?

    #
    6
    Dec 30, 2009 at 1:28 pm
  7. Steven Bailey
    Posts: 4

    I’m having a little bit of trouble. I was very excited to find this tutorial, as it covers something I needed to learn in order to rig a piston model I’ve had for a while. I was never able to get around to animating it because the rigging, as you can imagine, was extremely complicated. This gives me that ability. There is a problem, though. Whenever I reset the axis so that the transformation that arises from applying the tracking constraint is undone, “AutoTrack” is immediately highlighted in red, and suddenly the tracking ceases to take place. I’ve gone through this portion of the tutorial several times, but each time I have the same problem. Are there any suggestions available that would enable me to fix this?

    #
    7
    Jan 3, 2010 at 11:02 pm
  8. Leo
    Posts: 2

    Is there a chance to scale the whole thing up/down without changing the proportions?

    #
    8
    Jan 25, 2010 at 11:17 am
  9. Alex
    Posts: 5

    yeah looks like lego :D

    #
    9
    Jan 31, 2010 at 5:54 am
  10. Posts: 16

    Jonathon,
    Is there a way to add several more cylinders inside of these, so that I can make a 4-section piston? I am currently working on rigging a boom for a crane, with square profiled segments and would like to have the entire assembly extend, raise/lower and rotate from where the bottom empty would be. I am having trouble making all the sections point to the base/bottom empty though. I have tried this with your system of empties and also with armatures (which I would prefer to use).

    Any way to do this?

    Thanks.

    #
    10
    Mar 18, 2010 at 6:57 am
  11. 23dornot23d
    Posts: 2

    Hi Jonathon

    Brilliant tutorial …. do you have links to more …. would love to see them
    your commentary and methods of working are excellent ….

    I made a few mistakes as I went along but learned a great deal from trying them out….

    Thankyou for posting ,,,,,, by the way what did you use to record the tutorial

    I would like to try one myself …..

    #
    11
    Mar 25, 2010 at 1:05 pm
  12. Dominik
    Posts: 38

    Nice tutorial but it doesn’t work for me :( I’ve tried it many times and i don’t know what i do wrong. The most problems
    occur while selecting the proper axis.

    #
    12
    Mar 29, 2010 at 9:19 am
  13. Dominik
    Posts: 38

    Finally…..After a few Hours and watching this tutorial many….maaaaaany times i figured it out :) But i got a question Jonathan. It’s the same as a comment above. What i have to do when i insert more zylinders in my piston?! Is it more difficult?

    #
    13
    Mar 29, 2010 at 9:56 am
  14. George
    Posts: 1

    Fantastic tutorial! It was very informative and easy to follow. Thanks for taking the time to create this.

    #
    14
    Apr 12, 2010 at 3:28 pm
  15. SuprDave
    Posts: 1

    Nice tutorial. I followed it and here’s what I got.
    Using blender 2.5 alpha 2
    [URL=http://tinypic.com/r/xq05d2/5]View My Video[/URL]

    #
    15
    May 13, 2010 at 4:46 pm
  16. Posts: 90

    Awesome tutorial, Jonathan. I’m loving using Blender for mechanical parts.

    Lyle and Lace, to set your object’s pivot, select your object, tap the Tab key to go into Edit Mode. Then position the 3d cursor (the life preserver thingy) where you want it to rotate from. This can be done by selecting 2 faces of different sides of the object, then Shift S and choose “Cursor To Selection”.
    After you get it where you want it, tap the Tab key again and it seemed to do nothing. Press the Center Cursor button on the Editing Menu (F9).
    This will set you up with a rotation and scaling point. If you can set it exactly without going into Edit mode then omit the first part.

    If there’s an easier way to do it, someone please let me know, as I’m still learning too.

    ~G

    #
    16
    Jun 23, 2010 at 12:45 pm
    • William Kirk
      Posts: 1

      Very good tutorial as always. Thanks for the help.

      #
      16.1
      Oct 3, 2010 at 11:40 am
  17. Elwin
    Posts: 4

    This looks VERY interesting. One question. The video only shows the whole assembly moving in one plane (looks like X-Z, maybe?), but will it work in all three planes?

    #
    17
    Dec 28, 2010 at 7:35 pm
    • Elwin
      Posts: 4

      Well…I just answered my own question (by doing your wonderful tutorial, of course!). It does work on three planes. Now if I could just figure out how to constrain a piston to move along something other than a major axis…

      #
      17.1
      Dec 28, 2010 at 8:44 pm
  18. Shayne Mcward
    Posts: 1

    When I initially commented I clicked the notify myself if new responses are added and then when a opinion is added I get many emails with the exact same comment. Will there be anyway you’ll be able to remove people from that service? Many thanks!

    #
    18
    Jan 22, 2012 at 12:08 pm

Leave a Comment