Creating the Input Mesh File for the Partner Code
Extract the spindle ball boundary surface to use as the input surface mesh in the partner code.
- In your working directory, create a new folder named CoSimAPI_Mesh.
- In your simulation, right-click the Extract Boundary Surface... node and select
- In the Extract Boundary Surface dialog, click OK.
- Expand the node.
- Right-click the spindleball node and select Export Boundaries...
-
In the
Save dialog:
- Navigate to CoSimAPI_Mesh.
- Set Files of Type to Stereolithography File (*.stl).
- Click Save.
- In the STL Export Options dialog, set File Type to Coded and click OK.
- Save the simulation.