create_slider_mate
Create a linear motion mate between two assembly instances, defining slide direction by face normal and optional travel limits.
Instructions
Create a slider (linear motion) mate between two assembly instances. The first instance slides relative to the second — positive travel moves the first instance along the face normal direction away from the second. Swap instance order to reverse slide direction. Requires face IDs from Part Studio body details. Optional offsets shift connectors from face centers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Mate name | Slider mate |
| maxLimit | No | Optional maximum travel limit in inches | |
| minLimit | No | Optional minimum travel limit in inches | |
| elementId | Yes | Assembly element ID | |
| documentId | Yes | Document ID | |
| firstFaceId | Yes | Face deterministic ID on the first instance | |
| workspaceId | Yes | Workspace ID | |
| firstOffsetX | No | First connector X offset in inches | |
| firstOffsetY | No | First connector Y offset in inches | |
| firstOffsetZ | No | First connector Z offset in inches | |
| secondFaceId | Yes | Face deterministic ID on the second instance | |
| secondOffsetX | No | Second connector X offset in inches | |
| secondOffsetY | No | Second connector Y offset in inches | |
| secondOffsetZ | No | Second connector Z offset in inches | |
| firstInstanceId | Yes | First instance ID | |
| secondInstanceId | Yes | Second instance ID |