Created
October 14, 2025 10:35
-
-
Save stephensmitchell/b84f13e7f1597178b8fc9a9ef7719876 to your computer and use it in GitHub Desktop.
Profile and Sweep Path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://help.alibre.com/articles/#!alibre-help-v28/profile-and-sweep-path | |
| # create the part and get the yz plane | |
| MyPart = Part('Test') | |
| YZPlane = MyPart.GetPlane('YZ-Plane') | |
| # create the route for the pipe | |
| PipeRoute = MyPart.Add3DSketch('Pipe Route') | |
| PipeRoute.AddBspline([0, 0, 0, 5, 0, 0, 10, 5, 5, 15, 10, 5, 15, 15, 15]) | |
| # create the pipe profile as a circle on the yz plane | |
| StartProfile = MyPart.AddSketch('Start Profile', YZPlane) | |
| StartProfile.AddCircle(0, 0, 5, False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment