|
Menu location |
---|
Part → Attachment... |
Workbenches |
Part, PartDesign |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
Placement, Basic Attachment Tutorial |
The Part EditAttachment command attaches an object to one or more other objects. The attached object is linked to the referenced object(s), which means that if the placement or geometry of the referenced object(s) is changed, the placement of the attached object will update accordingly.
The attachment of an object is controlled by one of four attacher engines. The default engine that is used for an object depends on its type. An object's attacher engine can be changed via its DataAttacher Engine property (introduced in 1.0) or its hidden DataAttacher Type property.
The available engines are listed in the table below. Attacher engines control the DataPlacement of objects. All engines can be used for all objects that have this property. But the results of the last three make the most sense if the shape of the object matches the mentioned 'Logical Shape'.
Attacher Engine | Attacher Type | Logical Shape |
---|---|---|
Engine 3D | Attacher::AttachEngine3D | |
Engine Plane | Attacher::AttachEnginePlane | Planar face coincident with the XY plane of the Placement |
Engine Line | Attacher::AttachEngineLine | Straight edge collinear with the Z axis of the Placement |
Engine Point | Attacher::AttachEnginePoint | Vertex coincident with the origin of the Placement |
The rest of this page focuses on the Engine 3D. The modes of the other engines are only listed. Note that the modes of Engine Plane are in fact identical to those of Engine 3D.
Box:Face6
. The label of the button displays the subelement type now.Attachment is disabled. The object can be moved by editing its Placement property.
The origin is matched with a vertex. The orientation is still controlled by the Placement property of the attached object.
The Placement is made equal to the Placement of a linked object.
The X, Y and Z axes are matched with a linked object's local X, Z and -Y axes, respectively.
The X, Y and Z axes are matched with a linked object's local Y, Z and X axes, respectively.
The XY plane is aligned to coincide with a planar face.
The XY plane is made tangent to a face at a vertex.
The Z axis is aligned to be tangent to an edge. An optional vertex defines where.
If no vertex is linked the DataMap Path Parameter property determines the point.
The X and Y axes are aligned to the normal (N) and binormal (B) axes of the Frenet-Serret coordinate system at a point on a curved edge. An optional vertex defines where.
If no vertex is linked the DataMap Path Parameter property determines the point. The object's origin is translated to the vertex if the vertex is first, or kept at the curve if the curve is first.
Frenet NBT is similar to Z tangent to edge, except that the X axis is well-defined.
The X and Y axes are aligned to the tangent (T) and normal (N) axes of the Frenet-Serret coordinate system at a point on a curved edge. An optional vertex defines where.
See Frenet NBT.
The X and Y axes are aligned to the tangent (T) and binormal (B) axes of the Frenet-Serret coordinate system at a point on a curved edge. An optional vertex defines where.
See Frenet NBT.
The XY plane is aligned to the osculating circle at a point on an edge. An optional vertex defines where.
If no vertex is linked the DataMap Path Parameter property determines the point.
The Y axis is aligned to match the axis of the osculating circle at a point on an edge. An optional vertex defines where.
See Concentric.
The XY plane is aligned to pass through three vertices. The X axis will pass through the first two vertices.
The XZ plane is aligned to pass through three vertices. The X axis will pass through the first two vertices.
See XY plane by 3 points.
This is a special mode for folding polyhedra. Select four lines that share a common point in this order: contour line (1), fold line (2), other fold line (3), other contour line (4). To determine the coordinate system the selected contour lines are made coincident by rotating line 1 around line 2, and line 4 around line 3. The origin is matched with the common point, the X axis is matched with line 2, the Y axis is aligned towards the direction of the coincident contour lines.
The X, Y and Z axes are matched with those of an inertial coordinate system, constructed on principal axes of inertia and center of mass.
The origin is matched with the first vertex. The Z and X axes are aligned towards a vertex or along a line.
See Align O-X-Y Type Attachment Modes for more details.
The origin is matched with the first vertex. The Z and Y axes are aligned towards a vertex or along a line.
See Align O-Z-X.
The origin is matched with the first vertex. The X and Y axes are aligned towards a vertex or along a line.
See Align O-Z-X.
The origin is matched with the first vertex. The X and Z axes are aligned towards a vertex or along a line.
See Align O-Z-X.
The origin is matched with the first vertex. The Y and Z axes are aligned towards a vertex or along a line.
See Align O-Z-X.
The origin is matched with the first vertex. The Y and X axes are aligned towards a vertex or along a line.
See Align O-Z-X.
The XY plane is aligned to be plane-parallel to the XY plane of the Placement of a linked object, and pass through a vertex. The origin is matched with the projection of the origin of the linked object onto the XY plane.
Note that you have to select a whole object and not a subelement such as a face or plane.
Attachment Offset becomes active when an attachment mode other than Deactivated has been selected. It is used to apply a linear or rotary offset within the attachment coordinate system (ACS), as defined by the attachment mode and the referenced object(s).