|
LineMup and Copier
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.
LineMup and Copier // The Garage
Post by Délé // Aug 29, 2007, 5:23pm
Délé
Total Posts: 1374
|
Hey guys. Here are a couple more scripts.
The Copier script is pretty self explanatory. It makes copies of whatever is selected. Unlike the native workspace copy, this will copy entire selections. The only downside is that it won't automatically select the newly made copies, so you will have to select them by hand after creating them. I'll update the script when I figure out how to get that to work. Make sure the bridge is set to "off" when making copies and be mindful about how many copies you are making.
The LineMup script can align and distribute selections. You can align objects to the x, y, and z location of a selected object. You can even align scale and rotation to match the selected object. You can also distribute objects evenly between two selected objects. You can distribute location, scale, or rotation values. |
Post by Jack Edwards // Aug 29, 2007, 5:56pm
Jack Edwards
Total Posts: 4062
|
Nice work Dele :) |
Post by Délé // Aug 30, 2007, 3:59pm
Délé
Total Posts: 1374
|
Thanks Jack. :) |
Post by Norm // Aug 31, 2007, 4:50am
Norm
Total Posts: 862
|
Most interesting Dele. Thanks for sharing. |
Post by robert // Sep 5, 2008, 11:53am
robert
Total Posts: 609
|
Looking through the scripts they are surprisingly simple when it comes to the math, but still large due to number of options.;)
I like it though, really quite an amazing job you've done.:banana:
In fact before looking through this I kind of avoided the scripting and did mostly linking,:o but this is a prime example where that wouldn't be so good to do.:p
Seeing what raw power scripting contains has changed how I look at it. I'm now more inclined to consider scripting as a viable option for a great many "behaviors" and interactions.
Again really awesome, guess the trick really is learning the terminology.:D |
Post by Délé // Sep 5, 2008, 9:29pm
Délé
Total Posts: 1374
|
Thanks Robert. Yeah, scripting in tS is very powerful. Usually the math isn't too complicated, at least not with the stuff that I've done. Once you start figuring out some of the useful methods/functions, a lot can be accomplished with just some simple math. You can always dig around on the net and find all kinds of cool math to use in tS too.
As far as behaviors go, you should see some of the stuff Glen has made. He was getting into creating some Artificial Intelligence. Cool stuff. :) The possibilities are definitely there to do some very interesting things with scripting. If you're getting into it you should swing by the Tuesday night meetings. It's a good place to learn from each other. Plus we usually have a lot of fun messing around. :)
This reminds me, I've been meaning to update the LineMup script. I have a couple of improvements that I want to add. I'll have to get on that. ;) |
Post by robert // Sep 6, 2008, 9:15am
robert
Total Posts: 609
|
As far as behaviors go, you should see some of the stuff Glen has made. He was getting into creating some Artificial Intelligence. Cool stuff. :)... If you're getting into it you should swing by the Tuesday night meetings. It's a good place to learn from each other. Plus we usually have a lot of fun messing around. :)
Thanks again, I'll definitely check it out, but some Tuesdays may not work what with 12th grade IB and all. |
|