Is there an OBJ Export script?
All
1-2
3-7
From:
Michael Gibson
24 Feb 2021 (3 of 7)
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
More
Post Options
Reply as PM
Print
Mark as unread
Relationship
IP
Logged
From:
ed (EDDYF)
24 Feb 2021 (4 of 7)
10190.4
In reply to
10190.3
Perfect Michael - I'll check it out.
Ed Ferguson
Reply
More
Post Options
Reply as PM
Print
Mark as unread
Relationship
IP
Logged
From:
ed (EDDYF)
24 Feb 2021 (5 of 7)
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
More
Post Options
Reply as PM
Print
Mark as unread
Relationship
IP
Logged
From:
Michael Gibson
24 Feb 2021 (6 of 7)
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
More
Post Options
Reply as PM
Print
Mark as unread
Relationship
IP
Logged
From:
ed (EDDYF)
24 Feb 2021 (7 of 7)
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
More
Post Options
Reply as PM
Print
Mark as unread
Relationship
IP
Logged
Reply to All
Show messages:
All
1-2
3-7