Batch Export Operation

Next
 From:  Simon (GRIMMY)
8965.1 
Hi all, I have a habit of creating lots of models within the same file and then when it comes to export it means that I need to manually place each one at 0,0,0 before hitting the export button in order to get the pivot at the correct location in the resulting .obj file.

Is there a way I can speed this up with some script command or any pointers on how I could write my own batch file to do this kind of thing?

Many Thanks
Simon
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8965.2 In reply to 8965.1 
Hi Simon, there is a CenterAtOrigin script here: http://moi3d.com/forum/index.php?webtag=MOI&msg=2409.2

Instructions for installing a plug-in are here: http://moi3d.com/wiki/FAQ#Q:_How_do_I_install_a_plug-in_script.3F

That probably doesn't do quite exactly what you want because with multiple objects selected it moves everything as one big block rather than each object individually. But if it does what you need with one object that should not be difficult to modify for you.

Then for the export, do you export all these objects in just one .obj file or do you want something like a separate file for each one?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
8965.3 In reply to 8965.1 
Hi Simon,
there is a batch export script that i wrote to export multiple parts to stl format (other formats possible).
Every part you export has to have a unique name.
It doesnt change the origin befor export but this shouldnt be a big thing if you are familar with scripting MOI.

Best you follow this discussion:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8582.1


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
8965.4 In reply to 8965.1 
I just enhanced my script with a checkbox. Now you can choose to set the object to origin before export...
Hope thats usefull


Ralf:)
looking for moments of inspiration...

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Simon (GRIMMY)
8965.5 In reply to 8965.4 
Hi, I just read this 2 months later :) Thanks very much for this!! It will be very useful!!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  r2d3
8965.6 In reply to 8965.5 
Actualy 3 month later ;-)


Ralf:)
looking for moments of inspiration...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All