Created
October 14, 2025 10:34
-
-
Save stephensmitchell/f5ba203d9f31e4ecc057028cebeae960 to your computer and use it in GitHub Desktop.
Creating a 3D Sketch with a Spline and an Arc
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/creating-a-3d-sketch-with-a-spline-and-an-arc | |
| Units.Current = UnitTypes.Inches | |
| P = Part('My Part') | |
| # create 3d spline from a set of interpolation points | |
| Path = P.Add3DSketch('Path') | |
| Points = [0.6, -0.6625, 0.0] | |
| Points.extend([0.6, -0.6625, -0.2175]) | |
| Points.extend([0.6, -0.8125, -0.6795]) | |
| Path.AddBspline(Points) | |
| # arcs are counter clockwise, so to get a clockwise arc the start and end points are swapped | |
| Path.AddArcCenterStartEnd(-5.6634, -3.92, -0.6795, 0.6, -7.0275, -0.6795, 0.6, -0.8125, -0.6795) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment