7.3. Appendix F: Save Geometries as XGL, STL, or DXF Files


Important:  This section contains procedures that occur outside of this version of Rocky. This information is provided as supplemental only; when third-party products are referenced, the content provided is not meant to replace the procedures or documentation included within those third-party products. Refer to the documentation that came with your third-party product for additional information.


Rocky supports importing geometries that have been saved as XGL, STL, or DXF 3D faces files. From within a CAD program, such as Ansys SpaceClaim, you might need to Save As Copy or Export your geometries to find these file types.

Note: DXF 3D faces is a format that might only be available in older versions of CAD programs. See your CAD program's user documentation for DXF support and export information.

What would you like to do?

7.3.1. Use Ansys SpaceClaim 2022 R2 to Save Geometries to STL Files

  1. From the SpaceClaim File menu, point to Save As, and then click Save As.

  2. From the Save as type list, click STL (*.stl), and then enter a name and location for the file.

  3. Optional: Do any or none of the following:

    • By default, SpaceClaim saves the file using the same unit with which you are working (for example, mm). If you want to save using a different unit (for example, meters), you have to enable the Override Units checkbox, and then select your desired unit from the units box.

    • If you want to save one file per component, instead of a single file containing all the geometry parts, click Options and then from the STL file options panel, select Per component from the Export tab. Saving your geometry as one file per component can be useful in cases where you want to prescribe different materials interactions coefficients to different parts, or different motion frames to different parts, and so on.

    • Also on the Export tab, you can increase the geometry resolution by changing the Resolution from Medium to Fine. Note that by choosing to use smaller triangles, the number of triangles making up the geometry and therefore the computational cost will be increased.

  4. Click Save.

See Also: