Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Universal mirroring plugin  (Read 17927 times)

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Universal mirroring plugin
« 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:
  • 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!
Logged

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Universal mirroring plugin
« Reply #1 on: December 26, 2009, 04:22:36 am »

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!
« Last Edit: December 26, 2009, 04:26:10 am by ENSONIQ5 »
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 624
  • Neirao
    • View Profile
Re: Universal mirroring plugin
« Reply #2 on: December 28, 2009, 09:37:06 am »

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
Logged

captaindrewi

  • Sr. Member
  • ****
  • Posts: 490
  • errm...errr?
    • View Profile
Re: Universal mirroring plugin
« Reply #3 on: December 28, 2009, 08:37:07 pm »

great, thanks kubjazz very kind of you.
a merry christmas and happy new year to you.
downloaded and working well.
 
Logged
!

Andy_Rch

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • home on deviantart
Re: Universal mirroring plugin
« Reply #4 on: January 12, 2010, 03:13:28 pm »

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
Logged
--------------------
Look on my deviantart-side for more stuff:
http://steelegg.deviantart.com/

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Re: Universal mirroring plugin
« Reply #5 on: January 13, 2010, 11:40:56 pm »

You can find this plugin in the ASL database...
Logged

Andy_Rch

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • home on deviantart
Re: Universal mirroring plugin
« Reply #6 on: January 14, 2010, 12:17:02 pm »

Thanks Kubajzz,

my fault.
I should searching this forum more intensive in the future ^^
Logged
--------------------
Look on my deviantart-side for more stuff:
http://steelegg.deviantart.com/

$imon

  • Sr. Member
  • ****
  • Posts: 540
    • View Profile
Re: Universal mirroring plugin
« Reply #7 on: January 15, 2010, 06:05:38 am »

Thanks so much Kubajzz! Great plugin, works good too. I'll be using this one a lot :)
Logged

$imon

  • Sr. Member
  • ****
  • Posts: 540
    • View Profile
Re: Universal mirroring plugin
« Reply #8 on: January 17, 2010, 07:25:35 pm »

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!
Logged

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Re: Universal mirroring plugin
« Reply #9 on: January 30, 2010, 01:53:33 pm »

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.
Logged