Jump to content

Piston problem


MR_S

Recommended Posts

Hi all, I am fairly new to 3DS max and trying to create a small animation of a piston pump. I have the shaft and piston moving in the correct motions using an expression controller, I just cant seem to get the arm working in sync with these. I have used various methods such as look at constraints and changing the order of links to try and solve the problem. I have uploaded the file for the scene to the website below, any advice is appreciated, thanks.

 

S

 

http://www.sendspace.com/file/p7os5m

Link to comment
Share on other sites

  • 2 months later...

ouch, an engine in 3ds max requires advanced rigging. its simple with an animated character but a mechanical object like an engine will be tough

Link to comment
Share on other sites

  • 1 month later...

I could not download your link bu if you are trying to animate the motion of a piston I suggest you look at the IK (Inverse Kinematics) tutorials. You can go several directions with IK either using Solvers and/or bones. IK for mechanisms is a real bear in Max (a piece of cake with Inventor).

Link to comment
Share on other sites

Cute, but more work than eating cake. It seems that your code needs something like the VBA DoEvents function to force a screen update in each iteration of the while loop. I am not that familiar with Autolisp. Running it on 2012 I could only see the crank at about 100° increments. Setting a breakpoint in the loop did let me see the incremental rotation.

Link to comment
Share on other sites

You can slower down the motion or make it faster by changing the number in line 30, where it says:

(setq	u1   0.5; step in degrees, adjust speed to your CPU here, faster - higher number

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...