Translations:Part scripting/25/en

This adds a Part object type to the document and assigns the shape representation of the line segment to the property of the added object. It is important to understand here that we use a geometric primitive (the ) to create a TopoShape out of it (with the method). Only shapes can be added to the document. In FreeCAD geometric primitives are used as "building structures" for shapes.