DNA WALKABOUT
Hi GUYS,
I need some brains to work on this script
for DNA Wandering stuff.
I have made 4 straight splines but can go no further.
Now I am trying to attach them and my line keep
rejecting.
If you check my video you see that I am starting
to build the outline of the cube.
It is oriented as shown.
( http://www.youtube.com/watch?v=zhY9RMPmqEo )
I have attached the script that make the 4 lines
--For my Script PAULS DNA WALKABOUT
select $Shape01
max modify mode
subobjectLevel = 0
modPanel.setCurrentObject $Shape01.baseObject
splineOps.startAttach $Shape01
_____need to attach $Shape02 $Shape03 $Shape04
THANKS from
Paul
Attachment | Size |
---|---|
dna_walkabout.ms | 1.49 KB |
Comments
DNA WALKABOUT
It can support the pair of us 50 50
Paul
thanks
Glad to know I have support the science with something :)
my recent MAXScripts RSS (archive here)
DNA Walkabout
Wow thanks Anubis,
You make it look so easy. The next step is to turn this into the cube outline
The outer cube edges are 700 by 700 by 700 and the center inner cube is 100 by 100 by 100
What I aim to end up with is to get the DNA "DEE" and "SPAGO" to string along like crazy by just punching in the numbers 0.1.2 with S or feeding a text and produce a DNA 4 Color String to move to perfect order around in 3d space. Which could be a big thing for science. I realize this is putting you guys out a bit
but it will not see daylight without your help.
Thanks from Paul
Paul
interesting video...
First to say, forget all
splineOps
functions as soon as possible. They are kernel of bugs that corrupt the scene. The rest functions for shapes are fine, but splineOps is a full garbage.So, you need to draw the lines one by one and then attach them? If so, you can use
addAndWeld
(but below will show an alternative):As you know the coords, the alternative (more easy) way w'd be to draw entire shape at once (no needs attaching in this case):
Cheers!
my recent MAXScripts RSS (archive here)