Hi Metin,
re:
> Is there a way to set the default export settings, at least for OBJ? That'd be very convenient.
look for the file OD_CopyPasteExternal/Moi3D/ODCopyToExternal.js
Inside there, find this on line number 4:
code:
moi.geometryDatabase.fileExport( obj, 'NoUI=true' ); //also try: Output=ngons | quads | triangles
The options can be set on the 2nd parameter being sent to the moi.geometryDatabase.fileExport() function. You can remove the NoUI=true if you want to have the mesh dialog shown or you can add additional parameters in there separated by semi-colons. The available parameters are:
code:
Different possible options:
NoUI=true
Angle=12.0
Output=ngons | quads | triangles
MaxLength=0.0
MaxLengthApplyTo=curved | planes | all
MinLength=0.0
AspectRatio=0.0
Weld=true
Display=shadedwithedges | shadednoedges | wireframe
ExpandedDialog=false
So if you want to have no mesh dialog shown and have it use an angle parameter of 6, you would make it like this:
code:
moi.geometryDatabase.fileExport( obj, 'NoUI=true;Angle=6' );
- Michael
|