Each Cutting Macro definition is separated into two main nodes.
-
The S3D_MACRO_OUTPUT node, which defines all the attributes that should be included as part of the macro and their data types.
-
The S3D_MACRO_MAP node, which defines conditional filters that can be used to tell whether the macro definition should be used to describe a given feature. The S3D_MACRO_MAP node also defines how to calculate the value for each of the attributes in the S3D_MACRO_OUTPUT node.
An example of a Cutting Macro definition XML file is shown below: