CAD Exchanger SDK
Both text and binary formats are supported.
The STL format describes a model with the help of individual triangles. Thus it does not allow to transfer any precise geometry, product structure, meta-data and even connectivity information.
Given that the STL format does not allow to transfer product structure, it is inefficient for transfer of assemblies. Some systems write assemblies by producing a single flat list of triangles of all parts, some write a file as concatenation of individual files corresponding to parts.
When writing assemblies CAD Exchanger produces a flat list of triangles. Therefore it is recommended to export assemblies in per-part mode, creating a single file for each part.
The STL export parameters are controlled by STL_WriterParameters. The following table contains a list of parameters for STL export:
|IsText()||false||Specifies whether a file must be written in text or binary format|