MoI discussion forum
MoI discussion forum

Full Version: Is there an OBJ Export script?

From: ed (EDDYF)
24 Feb 2021   [#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
From: Frenchy Pilou (PILOU)
24 Feb 2021   [#2] In reply to [#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
From: Michael Gibson
24 Feb 2021   [#3] In reply to [#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
From: ed (EDDYF)
24 Feb 2021   [#4] In reply to [#3]
Perfect Michael - I'll check it out.

Ed Ferguson
From: ed (EDDYF)
24 Feb 2021   [#5] In reply to [#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
From: Michael Gibson
24 Feb 2021   [#6] In reply to [#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
From: ed (EDDYF)
24 Feb 2021   [#7] In reply to [#6]
That works perfectly. This will save a lot of time. Thanks for the awesome support Michael!

Ed Ferguson