iLogic - STL Translator Specific Parameters Info

iLogic - STL Translator Specific Parameters Info

Anonymous
Not applicable
986 Views
1 Reply
Message 1 of 2

iLogic - STL Translator Specific Parameters Info

Anonymous
Not applicable

I am looking for information on the option parameters, any documentation?

I found some code to query what parameters there are (Rule: GetTranslatorOptions), just not sure what the enumerations are for some.

Specifically: ExportUnits, Resolution

Using Rule:ExportSTL

I have changed the Export Units from 1 to 4 and do not see any change to the STL ASCII output.. not sure what this parameter does... Expected it to be an enumeration of the drop-down box that you see during "manual" exporting.  

 

Any help would be greatly appriciated.

 

 

 

0 Likes
Accepted solutions (1)
987 Views
1 Reply
Reply (1)
Message 2 of 2

ekinsb
Alumni
Alumni
Accepted solution

Below are the various options and the valid values for the STL export translator.  I'll make sure this makes it into the documentation for the next release.

 

ExportUnits

                2 - Inch

                3 - Foot

                4 - Centimeter

                5 - Millimeter

                6 - Meter

                7 - Micron

AllowMoveMeshNode = (True or False)

ExportColor (True or False)  (Only used for Binary output file type)

OutputFileType

                0 - Binary

                1 - ASCII

ExportFileStructure (Only used for assemblies)

                0 - One file

                1 - One file per instance.

 

Resolution

                0 - High

                1 - Medium

                2 - Low

                3 - Custom

 

*** The following are only used for “Custom” resolution

 

SurfaceDeviation

                0 to 100 for a percentage between values computed based on the size of the model.

NormalDeviation

                0 to 40 to indicate values 1 to 41

MaxEdgeLength

                0 to 100 for a percentage between values computed based on the size of the model.

AspectRatio

                0 to 40 for values between 1.5 to 21.5 in 0.5 increments


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog