Anim8or Community
General Category => ASL Scripts => Topic started by: Kubajzz on December 25, 2009, 11:00:04 pm
-
Here is a little Christmas present from me ;)
As you surely know, the built-in "Mirror" command in Anim8or only works if you select a single mesh.
Would you like to be able to mirror several meshes at once? And what about mirroring spheres, cylinders and cubes? And parametric meshes! And subdivisions! And groups...
Now you can do that! Thanks to $imon, who gave me the idea to write this plugin...
The usage is quite simple. Select any number of shapes and run the script. The axis is determined from the GUI settings using these 3 buttons: (http://www.anim8or.com/manual/buttons/b_xyz_sss.gif)
- If the "X" button is enabled, the X axis will be used.
- If the "X" button is disabled and the "Y" button is enabled, the Y axis will be used.
- Otherwise the Z axis will be used.
The current version of ASL has limited capabilities when working with groups, parametric meshes and subdivisions. If you mirror a group, the result will not be grouped. Parametric meshes and subdivisions are mirrored, but the result will be converted to mesh.
The script is attached below, I hope you'll find it useful. Any feedback is greatly appreciated!
Merry Christmas to all!
-
Great work Kubajzz! Up to now I have not downloaded any scripts or plug ins, preferring to solve basic modelling problems myself, but this one I just can't do without. It will take the inaugural plug in position on my GUI.
EDIT: Downloaded, installed and tests perfect! Thanks, this will be HUGELY useful!
-
hi Kubajzz,
thanks for more this useful script !! amazing! :o
;)
only problem is the limitation "inside of Anim8or",
because not has(yet) comand for work with "convert to subdivided"
and when mirror duplicate de subdived meshes, the copy is convert
to mesh.
but is excelent script!!
thanks again!
Happy New Year
-
great, thanks kubjazz very kind of you.
a merry christmas and happy new year to you.
downloaded and working well.
-
Hello Kubajzz,
would it be possible to upload your script to a place, where we can download it, because this forum doesn´t work correct.
Many thanks.
AndyRch
-
You can find this plugin in the ASL database...
-
Thanks Kubajzz,
my fault.
I should searching this forum more intensive in the future ^^
-
Thanks so much Kubajzz! Great plugin, works good too. I'll be using this one a lot :)
-
Oh .. just wondering.. would it be possible to keep the edge properties when mirroring an object? I usually put the smooth angle of an object to 180, then sharpen the edges accordingly. When mirroring with your plugin, these edge properties disappear. It doesn't matter too much, since only half the trian will be directly visible, just think it would improve the plugin!
-
Thanks for the feedback Simon.
I tried to edit the script to save the edge sharpness settings, but I can't get it to work.
Don't ask me why, there might be a bug in the SetEdgeSharpness() or GetEdgeSharpness() functions, I really don't know... So I have to disappoint you.