sweep_rotation
Rotate assembly occurrences around a specified axis in angle steps and report collisions at each position, then restore original placements. Use it to verify hinge swing or lock tongue clearance.
Instructions
Rotate occurrences about an axis in steps and report collisions at each angle — e.g. check a door opens 0–110° on its hinge axis without hitting the body, or a lock tongue turns freely. Positions are restored afterwards.
Args: moving: Comma-separated occurrences that rotate together (door + lock + door studs). axis_point: A point on the axis, "x,y,z" in mm (e.g. the hinge pin). axis_dir: Axis direction, e.g. "0,1,0". start / stop / step: Angles in degrees. against: Occurrences to test; empty = everything else. measure_to: Optional occurrence to report the minimum distance to at each angle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | ||
| stop | No | ||
| start | No | ||
| moving | Yes | ||
| against | No | ||
| axis_dir | Yes | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| axis_point | Yes | ||
| measure_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |