

There are several ways to save your work. Vector ( size / 2, size / 2, 0 )) cut_part = mySolid. Import FreeCAD as App import Part, math size = 10 poly = Part. fuse ( myNeck ) return myBody el = makeBottleTut () Part. makeCylinder ( myNeckRadius, myNeckHeight, neckLocation, neckNormal ) myBody = myBody. Vector ( 0, 0, 1 ) myNeckRadius = myThickness / 4. Vector ( 0, 0, myHeight ) neckNormal = App. makeFillet ( myThickness / 12.0, myBody. Vector ( 0, 0, myHeight ) myBody = myFaceProfile. transformShape ( aTrsf ) myWireProfile = Part. pi ) # rotate around the z-axis aMirroredWire = aWire. LineSegment ( aPnt4, aPnt5 ) aEdge1 = aSegment1. LineSegment ( aPnt1, aPnt2 ) aSegment2 = Part. Arc ( aPnt2, aPnt3, aPnt4 ) aSegment1 = Part. Import FreeCAD as App import Part, math def makeBottleTut ( myWidth = 50.0, myHeight = 70.0, myThickness = 30.0 ): aPnt1 = App. Making sure that parts that have to be connected later share the same vertices. As a case study we will use a part as seen in the picture which consists of four vertices, two arcs and two lines.įirst we create the distinct geometric parts of this wire. We will now create a topology by constructing it out of simpler geometry. Shape A generic term covering all of the above.Vertex A topological element corresponding to a point.An edge is generally limited by vertices. Edge A topological element corresponding to a restrained curve.It can be an open or closed contour depending on whether the edges are linked or not. Wire A set of edges connected by their vertices.Its geometry is constrained (trimmed) by contours. Face In 2D it is part of a plane in 3D it is part of a surface.Shell A set of faces connected by their edges.Solid A part of space limited by shells.It expands the notions of WIRE and SHELL to solids. Compsolid A composite solid is a set of solids connected by their faces.Compound A group of any type of topological objects.The following topological data types are available: Circle Circle or circle segment defined by a center point and start and end point.Line A straight line in 3D, defined by starting point and end point.Geom Base class of the geometric objects.The geometric objects are the building blocks of all topological objects: This is a Unified Modeling Language (UML) overview of the most important classes of the Part module: If you are new to Python, it is a good idea to first read the Introduction to Python. Be sure to browse the Scripting section and the FreeCAD Scripting Basics pages if you need more information about how Python scripting works in FreeCAD.
#Freecad contour shuttle how to
Here we will explain to you how to control the Part module directly from the FreeCAD Python interpreter, or from any external script.
