Free Script to Control a Hydraulic Cylinder

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Free Script to Control a Hydraulic Cylinder // Roundtable

1  |  

Post by ivampretti // Nov 10, 2008, 4:27pm

ivampretti
Total Posts: 151
pic
I saw this question http://forums1.caligari.com/truespace/showthread.php?p=85765&posted=1#post85765 and I felt really happy because I developed a script ("Controle Pistao.RsObj") to control a cylinder and now I can help :banana:.


Some things are in portuguese because I did this for me a long time ago. I attached a Scene for an example of how use it, any question I'll be glade to answer ;)


Hope you all enjoy it!

Post by frootee // Nov 10, 2008, 5:33pm

frootee
Total Posts: 2667
pic
very nice Ivam. :D

Post by prodigy // Nov 10, 2008, 5:45pm

prodigy
Total Posts: 3029
pic
Hoooooo!!! Excellent :banana:

Perfect for one of my projects.. PERFECT! :) Thanks for Share!

Post by Steinie // Nov 11, 2008, 2:13am

Steinie
Total Posts: 3667
pic
ivampretti, a while ago someone wanted to create a spring compressing. There were a lot of theories on how to accomplish this. You might just be the man for the job. Any ideas?

This would benefit anyone thinking of animating the suspension of a car as an example.

Post by ivampretti // Nov 11, 2008, 1:21pm

ivampretti
Total Posts: 151
pic
@Steinie - is this the thread that you saw?


http://forums1.caligari.com/truespace/showthread.php?t=6564


this thread was created by me :D. Many ideas were suggested but I took the morph idea, it worked the best for me.


you just need to model a spring (helicoidal is the name of the shape of a spring in portughese) in her non compressed form. Then you apply a morph to the spring making her on the compressed way.


Here is a test Scene for you to play, you can use the spring object I made, but it is not perfect, it was just to test if it work. Any question be my guest :D I need to compress it, I dont know if you will be able to open it because I had lots of problems downloading compressed files from the forum. you can download the video I posted for a preview.

Post by Steinie // Nov 11, 2008, 2:45pm

Steinie
Total Posts: 3667
pic
Yes it was you!:o

I'm glad you figured it out. This method could come in handy in lots of ways.



By the way if you strip a thread in an Engine Block you can insert something that looks like a spring and it is called a "HeliCoil" which looks similar to Portuguese word for spring.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn