Is there an OBJ Export script?

Next
 From:  ed (EDDYF)
10190.1 
Is there an OBJ Export script?

I'd like to have hot keys assigned for two flavors of OBJ Export:

1. A high poly version for rendering.

2. A low poly version for SubD work.

Currently I'm changing Export settings back and forth depending on my need, but pre-configured shortcuts would be nice to have.

Ed Ferguson
  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:  Frenchy Pilou (PILOU)
10190.2 In reply to 10190.1 
There is one for the free prog (or Pro) of Subdivision : Rocket 3F

https://rocket3f.com

Here the 2 ShortCuts from Moi to Rocket 3F (will be given in Loading Rocket 3F
Send_to_Rocket_3F hard

Send_to_Rocket_3F Sub
  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
10190.3 In reply to 10190.1 
Hi Ed, yes it is possible to do a script that uses predefined meshing parameters. Check out here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=1723.10

- 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:  ed (EDDYF)
10190.4 In reply to 10190.3 
Perfect Michael - I'll check it out.

Ed Ferguson
  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:  ed (EDDYF)
10190.5 In reply to 10190.4 
Michael -

I got two scripts working based on your forum reference - one for saving a low poly OBJ, and one for saving a high poly OBJ.

However the scripts save every object on the screen. Is there a way to save only the objects I've selected prior to running a script?

Ed Ferguson
  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
10190.6 In reply to 10190.5 
Hi Ed, yes you can call moi.geometryDatabase.fileExport() instead of moi.geometryDatabase.saveAs(), it will write only the selected objects out. It takes the same parameters as saveAs().

- 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
 From:  ed (EDDYF)
10190.7 In reply to 10190.6 
That works perfectly. This will save a lot of time. Thanks for the awesome support Michael!

Ed Ferguson
  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