Sketch Creation and Analysis

Copy Sketch
Copies a sketch from the X-Y plane to the Y-Z plane. MyPart = Part('MyPart') Sketch1 = MyPart.AddSketch('Sketch1', MyPart.GetPlane('...
Thu, 5 Jul, 2018 at 4:58 PM
Creating a 3D Sketch with a Spline and an Arc
Shows how to create a 3D sketch that is comprised of a spline made of three points followed by an arc. Units.Current = UnitTypes.Inches P = Part('...
Thu, 5 Jul, 2018 at 5:01 PM
Polygon Incircle
Polygons in Alibre Design can be defined by an "exterior" or "interior" circle.  The interior circle is typically used for bolt hea...
Fri, 6 Jul, 2018 at 10:25 AM
Profile and Sweep Path
This script creates a smooth path for a pipe using a 3D sketch and then a circle at one end to define the profile for the sweep.  The sweep can then be ma...
Fri, 6 Jul, 2018 at 10:29 AM
Scaling a Sketch
Creates a copy of a sketch and scales it to 50% in size. *Must have the attached 'TEST ROOM scaled' part file open for this example. Un...
Fri, 6 Jul, 2018 at 10:49 AM
Triangle
Simple sketch of a triangle with angles 90, 15, and 75 degrees # Create triangle with angles 90, 15, 75   import math   # set up parameters Theta =...
Fri, 6 Jul, 2018 at 10:57 AM