I ran into a SpaceClaim 2021 R1 issue on some legacy/imported parts...
[short explanation]
Usage:
- Select one planar datum face.
- Run the script.
- The script checks and corrects the alignment.
- Save and test the drawing.
Tested with:
- SpaceClaim 2021 R1
- SpaceClaim 2021.1.0.11221
- SpaceClaim.Api.V19
[COLLAPSED SPOILER: Show full SpaceClaim.Api.V19 script]
full Python code here
[/SPOILER]
[short safety/testing notes]