waterWorks scenario

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.

waterWorks scenario // Scriptorium

1  |  

Post by Norm // Oct 4, 2006, 7:29am

Norm
Total Posts: 862
pic
In the Scene's library, you find one called fullLoop. It is collection of pipings and a "plug" that moves through pipe.


If you go into the scenario, you should be able to investigate and figure out how to make a full pipe loop, so when the physics is turned on, the plug would loop through the piping.


Once you get a handle on that, question/project would be how to add some scripting to make the scenario more interesting?


This could be our first project/experiment. Would be important that you try to understand the le objects and how phyics of the steam works.


Hint: you can adjust numerically, direction of steam somewhere in le objects. As you reposition a pipe, you may have to adjust steam direction.

Post by trueBlue // Oct 4, 2006, 1:28pm

trueBlue
Total Posts: 1761
pic
Okay I recreated the fullLoop scene like you have shown in your image. Then I exported all of the X,Y,Z Stream inputs out twice to thier streamPipe90/Straight panels. I reversed the X,Y,Z Stream settings of the duplicated pipes. So now I have the plug going through the piping continuously. Even though I was sucessful I am not sure I understand completely. Thanks for taking the time Norm and I look forward to what may evolve here.

Post by stan // Oct 4, 2006, 1:32pm

stan
Total Posts: 1240
pic
hi Norm..easy enough,you change the 'Stream X Stream Y Stream Z' value on the PhysLocalEnv nodes

Post by Norm // Oct 4, 2006, 5:58pm

Norm
Total Posts: 862
pic
Okay I recreated the fullLoop scene like you have shown in your image. Then I exported all of the X,Y,Z Stream inputs out twice to thier streamPipe90/Straight panels. I reversed the X,Y,Z Stream settings of the duplicated pipes. So now I have the plug going through the piping continuously. Even though I was sucessful I am not sure I understand completely. Thanks for taking the time Norm and I look forward to what may evolve here.


Now that you have an idea of how the stream scenario can work, my first idea was to perhaps create a different set of pipes and add some scripting.

In this original scenario, based on something Roman asked for a little while ago, this could end up being a bit of a engaging scenario for shared space perhaps. With some interesting piping, one could script some action as the plug traverses the pipe. The color of pipe wireframe or surface could change color (distance color script object could be utilized). The plug's color can change.


What if we put valves into the piping diagram, that when opened more or closed more, value for power of stream in the downstream pipe could increase or decrease accordingly.


If you take the objects that make a full circle of piping, and encapsulate them, the whole scenario becomes portable as an RsObj object rather than a scene proper. This allows us to drop it into shared space and activate it.


Here is only problem I find so far. When you "start" physics on it, it will utilize the same start position all the time. This translates to being able to move or scale the piping only once as when it starts, there is some memory or keyframe or such that makes subsequent movement or scaling impossible as the plug goes to initial starting position when physics first started.


I should ask the developer if there is some way to clear this "memory" so the object could be portable while phyics is not running. Still this is a neat idea. This is just basic piping ... what if there were longer straigt pipes, with valves, and we can speed the plug up as it nears a bend, then picks up again as it hits the straightaway.


It would be cool to see everyone upload thier own version. Then we could take the best parts of everyone's version and create a colaborative version to the general forums and shared space perhaps.


Part of the project has to involve what parameters of physics can we control via script. You could for instance, trigger the plug to reverse direction and adjust the stream values to match direction. You could create "t-intersections" or junctions, where flow conjoins or splits. Lots of possiblities.

Post by trueBlue // Oct 4, 2006, 7:20pm

trueBlue
Total Posts: 1761
pic
Before your last response, I was watching the Plug drift through the looping pipes and I was thinking that the distant color script would be kinda cool. It sorta does light up as is. I also noticed that it speeds up going through the short straight pipes. Being that Commercial Irrigation is part of my vocation, It was interesting seeing how the Elbows restricted the flow which is a big concern when designing irrigation systems. One idea I had was to have many objects ( Bubbles ) flowing through. Maybe even different types representing minerals or chemicals with different Physics.

Post by Norm // Oct 5, 2006, 8:48am

Norm
Total Posts: 862
pic
Yes interesting observation. Elbows are tough places, especially in world of gas and oil. I remember working on a system that was sucking toxic natural gas out of the ground, refining it, then pumping the toxis items back into the cavity. The elbows were corroding very fast, so they ordered in some special cadnium ones and we put them in. After 30 days they xrayed the elbow and found a problem, so we took them out and put regular carbon elbows in. They sent the cadnium ones out for inspection and they came back as ok, with deposits of carbon lining them. Seems the cadnium was ok but the piping was corroding and where the elbows were, coated the interiors. By end of project, we had a 100% cadnium system for this area of the plant.


Should have a motor at elbows to help the contents move downstream. But not possible in gas plant with all that high-pressure involved.

Post by stan // Oct 5, 2006, 10:40am

stan
Total Posts: 1240
pic
yes elbows slow things down..two 45 degs elbows are a wee bit better than one 90 deg..interesting stuff..not that I understand the math behind it. very important in designing forced air furnaces too .:D

Post by trueBlue // Oct 6, 2006, 1:47pm

trueBlue
Total Posts: 1761
pic
Without trying to sound pessimistic here, I have adapted the pipes making a couple of long straight ones. It seems that the plug starts through the straight pieces faster but two thirds down it starts hitting the inner sides thus creating friction and slowing it down considerably. Making the plugs smaller did not seem to help either.
Also I encapsulated the whole project and tried to run a simulation both inside and or outside but nothing happens. I have tried to run the simulation from a script several different ways, but I have not been successfull as of yet. It seems that when running a simulation everything must be in the upper most area of the LE.

Post by Norm // Oct 13, 2006, 8:16am

Norm
Total Posts: 862
pic
Yes it was more the corrosive nature of what they were pumping back into the ground. Was all new piping to begin with. Rate of corrosion compelled them to go with non-carbon piping and elbows.

Post by trueBlue // Nov 17, 2008, 7:50pm

trueBlue
Total Posts: 1761
pic
In the Scene's library, you find one called fullLoop. It is collection of pipings and a "plug" that moves through pipe.

If you go into the scenario, you should be able to investigate and figure out how to make a full pipe loop, so when the physics is turned on, the plug would loop through the piping.

Once you get a handle on that, question/project would be how to add some scripting to make the scenario more interesting?

This could be our first project/experiment. Would be important that you try to understand the le objects and how phyics of the steam works.

Hint: you can adjust numerically, direction of steam somewhere in le objects. As you reposition a pipe, you may have to adjust steam direction.
Does anybody have this object?

Post by Norm // Nov 18, 2008, 4:48am

Norm
Total Posts: 862
pic
Here is scene file: loads and works ok with ts7.6.

Post by trueBlue // Nov 18, 2008, 6:01am

trueBlue
Total Posts: 1761
pic
Thank you Norm!
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn