

Create a new file, and save it under the work file name "asm-structure.fcstd".We will build the cube and a cylinder in this section. In case of geometry modifications, you can easily point the Connector to a different geometry element, without breaking constraints. The ElementLink (alias ConnectorLink) links to the Element ( alias Connector), and the Element ( Connector) links to the geometry element 6: The ElementLink has a link icon in the lower left corner, the Element icon has not - although both elements do link to another object: Note the difference in the ElementLink and Element node icons:

This should clarify the purpose of nodes: The following screenshot shows the same project file structure as above, but with renamed node labels. With a little bit of imagination, you can recognize the structure of figure 2 in the assemly: There are two ElementLink child nodes which link to these connectors.

Or, to be precise, between their constraint connectors. The Contraints group node holds a Plane Coincident Contraint node, which defines the geometrical relationship between cube and cylinder. The first binds to the bottom edge of the cylinder, the other binds to the top face of the cube. The Elements group node holds the Element nodes which define the connectors for assembly constraints. Both are Part Design Body elements, one defines the geometry of the cube, the other defines the cylinder. Under the Parts node are two Part nodes (mind the distinct use of the plural s…). The Constraints, Elements and Parts group nodes are easy to find under the Assembly node. The cylinder bottom edge is constrained to the cube top face by a Plane Coincident Constraint. The following image shows an example of a simple Assembly: Part A Freecad object that generates a geometry (or geometry elements), or an Assembly object. An Assembly in the Parts collection of a parent Assembly is called a subassembly. Parts Collection of Part or Assembly nodes. Links (connects) to an Element (alias Connector). Defines a geometrical relationship between parts by connecting to their elements (connectors). Constraint Group node, holds a collection of ElementLink alias ConnectorLink nodes. Constraints Group Node, holds a collection of Constraint nodes. Publishes that geometry element for connecting with a constraint. Links to a geometry element of a Part in the Parts collection or to an Element (alias Connector) in a subassembly. A group node, holds a collection of Element (alias Connector) nodes. Holds Parts, Elements and Constraints nodes. There are several node types that live in an Assembly node: Assembly A container object.
