Part EditAttachment/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/ru |
{{Docnav/ru |
||
|[[Part_ProjectionOnSurface/ru|Проекция на поверхность]] |
|||
|[[Part_CrossSections/ru|CrossSections]] |
|||
|[[Part_CompCompoundTools/ru|Создать соединение]] |
|||
|[[Part_Measure_Menu/ru|Measure Menu]] |
|||
|[[ |
|[[Part_Workbench/ru|Верстак Part]] |
||
|IconL= |
|IconL=Part_ProjectionOnSurface.svg |
||
|IconR= |
|IconR=Part_CompCompoundTools.png |
||
|IconC=Workbench_Part.svg |
|IconC=Workbench_Part.svg |
||
}} |
}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name= |
|Name=Part_Attachment |
||
|Name/ru= |
|Name/ru=Прикрепить |
||
|MenuLocation=Деталь → Attachment... |
|MenuLocation=Деталь → Attachment... |
||
|Workbenches=[[ |
|Workbenches=[[Part_Workbench/ru|Part]], [[PartDesign_Workbench/ru|PartDesign]] |
||
|Version=0.17 |
|Version=0.17 |
||
|SeeAlso=[[Placement/ru|Placement]], [[Basic_Attachment_Tutorial/ru|Basic Attachment Tutorial]] |
|SeeAlso=[[Placement/ru|Placement]], [[Basic_Attachment_Tutorial/ru|Basic Attachment Tutorial]] |
||
Line 23: | Line 21: | ||
</div> |
</div> |
||
<span id="Description"></span> |
|||
==Описание== |
==Описание== |
||
<div class="mw-translate-fuzzy"> |
|||
'''Attachment''' is a utility to attach an object to another one. The attached object is linked to the other object, which means that if the latter's placement is changed afterwards, the attached object will update to its new position. |
|||
'''Прикрепить''' - это утилита для прикрепления объекта к другому объекту. Прикрепленный объект связан с другим объектом, что означает, что если впоследствии расположение базового объекта будет изменено, то положение прикрепленного объекта тоже обновится до нового положения. |
|||
</div> |
|||
== Attach engines == |
|||
==Использование== |
|||
The attachment of an object is controlled by one of four attach engines. The default engine that is used for an object depends on its type. |
|||
# Select the object to be attached. |
|||
# Go to the '''Part → Attachment...''' menu. |
|||
#: '''Note''': when working in [[PartDesign_Workbench|PartDesign]] and creating sketches, datum geometry or primitives, steps 1 and 2 are unnecessary: the Attachment dialogue is brought up automatically. |
|||
# Under '''Attachment''' parameters, ''Not attached'' can be read. The first button below is labeled {{KEY|Selecting…}} to indicate it is expecting a selection in the 3D view. |
|||
# Select a topology element on the object to attach to: vertex, edge or face/plane. Datum geometry from [[Std_Part|Part containers]] are also selectable. |
|||
# The first button's label now adopts the type of topology selected. In the white field to its right, the referenced object and its element is added. For example, if a face on a primitive cube is selected, the field will show Box:Face6. |
|||
# Select an [[#Attachment mode|Attachment mode]] in the list. The available modes are filtered by the selected references. ''Attached with mode <mode description>'' will be displayed under the '''Attachment''' header. |
|||
#: For live information on the attachment modes, hover the mouse on top of one of the modes in the list for a tooltip to appear. |
|||
# Optionally, add up to 3 more references by pressing the {{KEY|Reference2}}, {{KEY|Reference3}}, and {{KEY|Reference4}} buttons and repeating step 4. |
|||
# Optionally set an [[#Attachment Offset|Attachment Offset]]. |
|||
# Press {{KEY|OK}}. |
|||
The four engines are: |
|||
== Options == |
|||
* [[#Attacher::AttachEnginePoint|Attacher::AttachEnginePoint]] |
|||
* [[#Attacher::AttachEngineLine|Attacher::AttachEngineLine]] |
|||
* [[#Attacher::AttachEnginePlane|Attacher::AttachEnginePlane]] |
|||
* [[#Attacher::AttachEngine3D|Attacher::AttachEngine3D]] |
|||
The rest of this page focuses on the AttachEngine3D. The modes of the other engines are only listed. Note that the modes of AttachEnginePlane are in fact identical to those of AttachEngine3D. |
|||
[[File:Part Offset Tasks.png|right]] |
|||
<span id="Usage"></span> |
|||
=== Attachment mode === |
|||
== Применение == |
|||
# Select the object to be attached. |
|||
==== Deactivated ==== |
|||
# Select the {{MenuCommand|Part → [[Image:Part_EditAttachment.svg|16px]] Attachment...}} option from the menu. |
|||
# The {{MenuCommand|Attachment}} task panel opens. |
|||
# At the top of the task panel ''Not attached'' can be read. The first button labeled {{Button|Selecting...}} is highlighted to indicate a selection in the [[3D_view|3D view]] is expected. |
|||
# Select a vertex, edge or face/plane belonging to another object. |
|||
# In the input field to the right of the button, the referenced object and subelement are shown. For example, if a face of a [[Part_Box|Part Box]] is selected, the field may show {{Value|Box:Face6}}. |
|||
# The available modes are filtered based on the selected references and their order. For example, for modes [[#Align_O-Z-X|Align O-Z-X]] to [[#Align_O-Y-X|Align O-Y-X]] the first reference must be a vertex. If the first reference is a subelement of a different type, they are removed from the list. |
|||
# Select an [[#Attachment mode|Attachment mode]] in the list. For information on the attachment modes, hover the mouse over them for a tooltip to appear. |
|||
# ''Attached with mode <description>'' is now displayed at the top of the task panel. |
|||
# Depending on the selected mode, add up to three more references by pressing the {{Button|Reference2}}, {{Button|Reference3}}, and {{Button|Reference4}} buttons and repeating step 5. It is also possible to specify all references before selecting an attachment mode. |
|||
# When selecting an additional reference the label of the previous button will change and display the type of subelement of that reference. |
|||
# Optionally set an [[#Attachment Offset|Attachment Offset]]. |
|||
# Press {{Button|OK}}. |
|||
# If applicable, optionally change the {{PropertyData|Map Path Parameter}} property in the [[Property_editor|Property editor]]. |
|||
== Change attach engine == |
|||
Default, no reference selected. |
|||
It is possible to manually change the attach engine of an object: |
|||
==== Normal to edge ==== |
|||
# Select the object. |
|||
# Right-click in the [[Property_editor|Property editor]] and select {{MenuCommand|Show all}} from the context menu. |
|||
# Edit the {{PropertyData|Attacher Type}} property of the object. |
|||
== Attachment modes == |
|||
Object is made perpendicular to edge. Optional vertex reference defines location. |
|||
<div class="toccolours mw-collapsible mw-collapsed"> |
|||
:; Reference combinations: |
|||
: Edge |
|||
: Edge, Vertex |
|||
: Vertex, Edge |
|||
=== Attacher::AttachEnginePoint === |
|||
==== Align O-N-X ==== |
|||
<div class="mw-collapsible-content"> |
|||
Matches object's origin with first referenced vertex, then aligns its normal and horizontal plane axis toward vertex/along line. |
|||
* Deactivated |
|||
:; Reference combinations: |
|||
* Object's origin |
|||
: Vertex, Vertex, Vertex |
|||
* Focus1 |
|||
: Vertex, Vertex, Edge |
|||
* Focus2 |
|||
: Vertex, Edge, Vertex |
|||
* On edge |
|||
: Vertex, Edge, Edge |
|||
* Center of curvature |
|||
: Vertex, Vertex |
|||
* Center of mass |
|||
: Vertex, Edge |
|||
* Vertex |
|||
* Proximity point 1 |
|||
* Proximity point 2 |
|||
</div> |
|||
==== Align O-N-Y ==== |
|||
</div> |
|||
<div class="toccolours mw-collapsible mw-collapsed"> |
|||
=== Attacher::AttachEngineLine === |
|||
Matches object's origin with first referenced vertex and aligns its normal and vertical plane axis toward vertex/along line. |
|||
<div class="mw-collapsible-content"> |
|||
:; Reference combinations: |
|||
: Vertex, Vertex, Vertex |
|||
: Vertex, Vertex, Edge |
|||
: Vertex, Edge, Vertex |
|||
: Vertex, Edge, Edge |
|||
: Vertex, Vertex |
|||
: Vertex, Edge |
|||
* Deactivated |
|||
==== Align O-X-Y ==== |
|||
* Object's X |
|||
* Object's Y |
|||
* Object's Z |
|||
* Axis of curvature |
|||
* Directrix1 |
|||
* Directrix2 |
|||
* Asymptote1 |
|||
* Asymptote2 |
|||
* Tangent |
|||
* Normal to edge |
|||
* Binormal |
|||
* Through two points |
|||
* Proximity line |
|||
* 1st principal axis |
|||
* 2nd principal axis |
|||
* 3rd principal axis |
|||
* Normal to surface |
|||
</div> |
|||
Matches object's origin with first referenced vertex and aligns its horizontal and vertical plane axes toward vertex/along line. |
|||
</div> |
|||
<div class="toccolours mw-collapsible mw-collapsed"> |
|||
=== Attacher::AttachEnginePlane === |
|||
:; Reference combinations: |
|||
: Vertex, Vertex, Vertex |
|||
: Vertex, Vertex, Edge |
|||
: Vertex, Edge, Vertex |
|||
: Vertex, Edge, Edge |
|||
: Vertex, Vertex |
|||
:Vertex, Edge |
|||
<div class="mw-collapsible-content"> |
|||
==== Align O-X-N ==== |
|||
* Deactivated |
|||
Matches object's origin with first referenced vertex and aligns its horizontal plane axis and normal toward vertex/along line. |
|||
* Translate origin |
|||
* Object's XY |
|||
* Object's XZ |
|||
* Object's YZ |
|||
* Plane face |
|||
* Tangent to surface |
|||
* Normal to edge |
|||
* Frenet NB |
|||
* Frenet TN |
|||
* Frenet TB |
|||
* Concentric |
|||
* Revolution Section |
|||
* Plane by 3 points |
|||
* Normal to 3 points |
|||
* Folding |
|||
* Inertia 2-3 |
|||
* Align O-N-X |
|||
* Align O-N-Y |
|||
* Align O-X-Y |
|||
* Align O-X-N |
|||
* Align O-Y-N |
|||
* Align O-Y-X |
|||
</div> |
|||
:; Reference combinations: |
|||
</div> |
|||
: Vertex, Vertex, Vertex |
|||
: Vertex, Vertex, Edge |
|||
: Vertex, Edge, Vertex |
|||
: Vertex, Edge, Edge |
|||
: Vertex, Vertex |
|||
: Vertex, Edge |
|||
=== Attacher::AttachEngine3D === |
|||
==== Align O-Y-N ==== |
|||
[[File:Part_Offset_Tasks.png|250px|right]] |
|||
Matches object's origin with first referenced vertex and aligns its vertical plane axis and normal toward vertex/along line. |
|||
==== Deactivated ==== |
|||
:; Reference combinations: |
|||
: Vertex, Vertex, Vertex |
|||
: Vertex, Vertex, Edge |
|||
: Vertex, Edge, Vertex |
|||
: Vertex, Edge, Edge |
|||
: Vertex, Vertex |
|||
: Vertex, Edge |
|||
Attachment is disabled. The object can be moved by editing its [[Placement|Placement]] property. |
|||
==== Align O-Y-X ==== |
|||
Matches object's origin with first referenced vertex and aligns its vertical and horizontal plane axes toward vertex/along line. |
|||
:; Reference combinations: |
|||
: Vertex, Vertex, Vertex |
|||
: Vertex, Vertex, Edge |
|||
: Vertex, Edge, Vertex |
|||
: Vertex, Edge, Edge |
|||
: Vertex, Vertex |
|||
:Vertex, Edge |
|||
==== Translate origin ==== |
==== Translate origin ==== |
||
The origin is matched with a vertex. The orientation is still controlled by the Placement property of the attached object. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
: Vertex. |
: Vertex. |
||
==== Object's |
==== Object's X Y Z ==== |
||
The Placement is made equal to the Placement of a linked object. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
: Any |
: Any |
||
: Conic |
|||
==== Object's |
==== Object's X Z Y ==== |
||
The X, Y and Z axes are matched with a linked object's local X, Z and -Y axes, respectively. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
: Any |
: Any |
||
: Conic |
|||
==== Object's |
==== Object's Y Z X ==== |
||
The X, Y and Z axes are matched with a linked object's local Y, Z and X axes, respectively. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
: Any |
: Any |
||
: Conic |
|||
==== |
==== XY on plane ==== |
||
The XY plane is aligned to coincide with a planar face. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
: Plane |
: Plane |
||
==== |
==== XY tangent to surface ==== |
||
The XY plane is made tangent to a face at a vertex. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
Line 175: | Line 200: | ||
: Vertex, Face |
: Vertex, Face |
||
==== |
==== Z tangent to edge ==== |
||
The Z axis is aligned to be tangent to an edge. An optional vertex defines where. |
|||
Plane is set to normal-binormal (NB) axes of [https://en.wikipedia.org/wiki/Frenet%E2%80%93Serret_formulas Frenet-Serret coordinates ] at the point of the edge's curve that is closest to the vertex (or defined by MapPathParameter property, if vertex is not linked). The object's origin is translated to the vertex if the vertex is first, or kept at the curve if edge is first. This mode is similar to ''Normal to edge'', except that X axis is well-defined. |
|||
If no vertex is linked the {{PropertyData|Map Path Parameter}} property determines the point. |
|||
:;Reference combinations: |
|||
: Curve |
|||
: Curve, Vertex |
|||
: Vertex, Curve |
|||
: [[File:Attacher mode FrenetNB.png|250px]] |
|||
:; Reference combinations: |
|||
==== Frenet TN ==== |
|||
: Edge |
|||
: Edge, Vertex |
|||
: Vertex, Edge |
|||
==== Frenet NBT ==== |
|||
Plane is set to tangent-normal (TN) axes of [https://en.wikipedia.org/wiki/Frenet%E2%80%93Serret_formulas Frenet-Serret coordinates ] at the point of the edge's curve that is closest to the vertex (or defined by MapPathParameter property, if vertex is not linked). The origin of sketch is translated to the vertex if the vertex is first, or kept at the curve if edge is first. Effectively, if the curve is planar, the sketching plane is the plane of the curve. |
|||
[[File:Attacher_mode_FrenetNB.png|250px]] |
|||
:;Reference combinations: |
|||
: Curve |
|||
: Curve, Vertex |
|||
: Vertex, Curve |
|||
: [[File:Attacher_mode_FrenetTN.png|250px]] |
|||
The X and Y axes are aligned to the normal (N) and binormal (B) axes of the [https://en.wikipedia.org/wiki/Frenet%E2%80%93Serret_formulas Frenet-Serret coordinate system] at a point on a curved edge. An optional vertex defines where. |
|||
==== Frenet TB ==== |
|||
If no vertex is linked the {{PropertyData|Map 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. |
|||
:;Reference combinations: |
:;Reference combinations: |
||
Line 203: | Line 225: | ||
: Curve, Vertex |
: Curve, Vertex |
||
: Vertex, Curve |
: Vertex, Curve |
||
: [[File:Attacher_mode_FrenetTB.png|250px]] |
|||
==== Frenet TNB ==== |
|||
[[File:Attacher_mode_FrenetTN.png|250px]] |
|||
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|Frenet NBT]]. |
|||
==== Frenet TBN ==== |
|||
[[File:Attacher_mode_FrenetTB.png|250px]] |
|||
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|Frenet NBT]]. |
|||
==== Concentric ==== |
==== Concentric ==== |
||
The XY plane is aligned to the [https://en.wikipedia.org/wiki/Osculating_circle osculating circle] at a point on an edge. An optional vertex defines where. |
|||
If no vertex is linked the {{PropertyData|Map Path Parameter}} property determines the point. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
Line 219: | Line 258: | ||
==== Revolution Section ==== |
==== Revolution Section ==== |
||
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|Concentric]]. |
|||
:; Reference combinations: |
|||
: Curve |
|||
: Circle |
|||
: Curve, Vertex |
|||
: Circle, Vertex |
|||
: Vertex, Curve |
|||
: Vertex, Circle |
|||
==== |
==== XY plane by 3 points ==== |
||
The XY plane is aligned to pass through three vertices. The X axis will pass through the first two vertices. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
Line 239: | Line 272: | ||
: Line, Line |
: Line, Line |
||
==== |
==== XZ plane by 3 points ==== |
||
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|XY plane by 3 points]]. |
|||
:; Reference combinations: |
|||
: Vertex, Vertex, Vertex |
|||
: Line, Vertex |
|||
: Vertex, Line |
|||
: Line, Line |
|||
==== Folding ==== |
==== Folding ==== |
||
[[File:Attacher_mode_Folding.png|250px]] |
|||
Specialty mode for folding polyhedra. Select 4 edge in order: foldable edge, fold line, other fold line, other foldable edge. Plane will be aligned to folding the first edge. In the picture below, it is not required that both leafs to fold together be the same. |
|||
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. |
|||
:; Reference combinations |
:; Reference combinations |
||
: Line, Line, Line, Line |
: Line, Line, Line, Line |
||
: [[File:Attacher_mode_Folding.png| 250px]] |
|||
==== Inertia |
==== Inertia CS ==== |
||
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. |
|||
:; Reference combinations: |
:; Reference combinations: |
||
Line 267: | Line 297: | ||
: Any, Any, Any, Any |
: Any, Any, Any, Any |
||
=== |
==== Align O-Z-X ==== |
||
The origin is matched with the first Vertex. The Z and X axes are aligned towards a vertex or along a line. |
|||
Attachment Offset is used to apply a linear or rotary offset from the referenced object. That means the offsets are relative to the ''local'' coordinate system, not to the global. It becomes active when an attachment mode other than ''Deactivated'' has been selected. |
|||
See [[O-X-Y_Type_Attachment_Modes|Align O-X-Y Type Attachment Modes]] for more details. |
|||
* '''X''': sets an offset distance in the X axis of the reference object. |
|||
:; Reference combinations: |
|||
* '''Y''': sets an offset distance in the Y axis of the reference object. |
|||
: Vertex, Vertex, Vertex |
|||
: Vertex, Vertex, Line |
|||
: Vertex, Line, Vertex |
|||
: Vertex, Line, Line |
|||
: Vertex, Vertex |
|||
: Vertex, Line |
|||
==== Align O-Z-Y ==== |
|||
* '''Z''': sets an offset distance in the Z axis of the reference object. This coordinate is to be used for the frequent use case that you want to offset a sketch perpendicular to the plane. |
|||
The origin is matched with the first Vertex. The Z and Y axes are aligned towards a vertex or along a line. |
|||
* '''Yaw''': rotates the attached object along the reference object's Z axis. |
|||
See [[#Align_O-Z-X|Align O-Z-X]]. |
|||
* '''Pitch''': rotates the attached object along the reference object's Y axis. |
|||
==== Align O-X-Y ==== |
|||
* '''Roll''': rotates the attached object along the reference object's X axis. |
|||
The origin is matched with the first Vertex. The X and Y axes are aligned towards a vertex or along a line. |
|||
* '''Flip sides''': if checked, the attached object is reversed from its XY plane. |
|||
See [[#Align_O-Z-X|Align O-Z-X]]. |
|||
== Limitations == |
|||
==== Align O-X-Z ==== |
|||
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|Align O-Z-X]]. |
|||
==== Align O-Y-Z ==== |
|||
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|Align O-Z-X]]. |
|||
==== Align O-Y-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|Align O-Z-X]]. |
|||
== Attachment offset == |
|||
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). |
|||
* '''In x-direction''': sets an offset distance along the X axis of the ACS. |
|||
* '''In y-direction''': sets an offset distance along the Y axis of the ACS. |
|||
* '''In z-direction''': sets an offset distance along the Z axis of the ACS. |
|||
* '''Around x-axis''': rotates the attached object around the X axis of the ACS. |
|||
* '''Around y-axis''': rotates the attached object around the Y axis of the ACS. |
|||
* '''Around z-axis''': rotates the attached object around the Z axis of the ACS. |
|||
* '''Flip sides''': if checked, the attachment is reversed. This is equivalent to rotating the object 180° around the Y axis of the ACS. |
|||
<span id="Limitations"></span> |
|||
== Ограничения == |
|||
* If selecting two lines results in an error: "Points are collinear. Can't make a plane", try selecting three vertices instead [https://forum.freecadweb.org/viewtopic.php?f=8&t=55088&p=473614#p473594]. |
|||
* [[Std_Part|Part]] and [[PartDesign_Body|Body]] containers are not supported. While it's possible to use Attachment to align them, the attachment won't be parametrically linked. |
|||
* If selecting two lines results in a traceback with "points are collinear. Can't make a plane", try selecting three points instead [https://forum.freecadweb.org/viewtopic.php?f=8&t=55088&p=473614#p473594]. |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/ru |
{{Docnav/ru |
||
|[[Part_ProjectionOnSurface/ru|Проекция на поверхность]] |
|||
|[[Part_CrossSections/ru|CrossSections]] |
|||
|[[Part_CompCompoundTools/ru|Создать соединение]] |
|||
|[[Part_Measure_Menu/ru|Part Measure Menu]] |
|||
|[[ |
|[[Part_Workbench/ru|Верстак Part]] |
||
|IconL= |
|IconL=Part_ProjectionOnSurface.svg |
||
|IconR= |
|IconR=Part_CompCompoundTools.png |
||
|IconC=Workbench_Part.svg |
|IconC=Workbench_Part.svg |
||
}} |
}} |
||
</div> |
|||
{{Part_Tools_navi{{#translation:}}}} |
{{Part_Tools_navi{{#translation:}}}} |
Latest revision as of 17:43, 12 October 2023
Прикрепить |
Системное название |
---|
Part_Attachment |
Расположение в меню |
Деталь → Attachment... |
Верстаки |
Part, PartDesign |
Быстрые клавиши |
Нет |
Представлено в версии |
0.17 |
См. также |
Placement, Basic Attachment Tutorial |
Описание
Прикрепить - это утилита для прикрепления объекта к другому объекту. Прикрепленный объект связан с другим объектом, что означает, что если впоследствии расположение базового объекта будет изменено, то положение прикрепленного объекта тоже обновится до нового положения.
Attach engines
The attachment of an object is controlled by one of four attach engines. The default engine that is used for an object depends on its type.
The four engines are:
- Attacher::AttachEnginePoint
- Attacher::AttachEngineLine
- Attacher::AttachEnginePlane
- Attacher::AttachEngine3D
The rest of this page focuses on the AttachEngine3D. The modes of the other engines are only listed. Note that the modes of AttachEnginePlane are in fact identical to those of AttachEngine3D.
Применение
- Select the object to be attached.
- Select the Part → Attachment... option from the menu.
- The Attachment task panel opens.
- At the top of the task panel Not attached can be read. The first button labeled Selecting... is highlighted to indicate a selection in the 3D view is expected.
- Select a vertex, edge or face/plane belonging to another object.
- In the input field to the right of the button, the referenced object and subelement are shown. For example, if a face of a Part Box is selected, the field may show
Box:Face6
. - The available modes are filtered based on the selected references and their order. For example, for modes Align O-Z-X to Align O-Y-X the first reference must be a vertex. If the first reference is a subelement of a different type, they are removed from the list.
- Select an Attachment mode in the list. For information on the attachment modes, hover the mouse over them for a tooltip to appear.
- Attached with mode <description> is now displayed at the top of the task panel.
- Depending on the selected mode, add up to three more references by pressing the Reference2, Reference3, and Reference4 buttons and repeating step 5. It is also possible to specify all references before selecting an attachment mode.
- When selecting an additional reference the label of the previous button will change and display the type of subelement of that reference.
- Optionally set an Attachment Offset.
- Press OK.
- If applicable, optionally change the ДанныеMap Path Parameter property in the Property editor.
Change attach engine
It is possible to manually change the attach engine of an object:
- Select the object.
- Right-click in the Property editor and select Show all from the context menu.
- Edit the ДанныеAttacher Type property of the object.
Attachment modes
Attacher::AttachEnginePoint
- Deactivated
- Object's origin
- Focus1
- Focus2
- On edge
- Center of curvature
- Center of mass
- Vertex
- Proximity point 1
- Proximity point 2
Attacher::AttachEngineLine
- Deactivated
- Object's X
- Object's Y
- Object's Z
- Axis of curvature
- Directrix1
- Directrix2
- Asymptote1
- Asymptote2
- Tangent
- Normal to edge
- Binormal
- Through two points
- Proximity line
- 1st principal axis
- 2nd principal axis
- 3rd principal axis
- Normal to surface
Attacher::AttachEnginePlane
- Deactivated
- Translate origin
- Object's XY
- Object's XZ
- Object's YZ
- Plane face
- Tangent to surface
- Normal to edge
- Frenet NB
- Frenet TN
- Frenet TB
- Concentric
- Revolution Section
- Plane by 3 points
- Normal to 3 points
- Folding
- Inertia 2-3
- Align O-N-X
- Align O-N-Y
- Align O-X-Y
- Align O-X-N
- Align O-Y-N
- Align O-Y-X
Attacher::AttachEngine3D
Deactivated
Attachment is disabled. The object can be moved by editing its Placement property.
Translate origin
The origin is matched with a vertex. The orientation is still controlled by the Placement property of the attached object.
- Reference combinations
- Vertex.
Object's X Y Z
The Placement is made equal to the Placement of a linked object.
- Reference combinations
- Any
- Conic
Object's X Z Y
The X, Y and Z axes are matched with a linked object's local X, Z and -Y axes, respectively.
- Reference combinations
- Any
- Conic
Object's Y Z X
The X, Y and Z axes are matched with a linked object's local Y, Z and X axes, respectively.
- Reference combinations
- Any
- Conic
XY on plane
The XY plane is aligned to coincide with a planar face.
- Reference combinations
- Plane
XY tangent to surface
The XY plane is made tangent to a face at a vertex.
- Reference combinations
- Face, Vertex
- Vertex, Face
Z tangent to edge
The Z axis is aligned to be tangent to an edge. An optional vertex defines where.
If no vertex is linked the ДанныеMap Path Parameter property determines the point.
- Reference combinations
- Edge
- Edge, Vertex
- Vertex, Edge
Frenet NBT
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 ДанныеMap 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.
- Reference combinations
- Curve
- Curve, Vertex
- Vertex, Curve
Frenet TNB
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.
Frenet TBN
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.
Concentric
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 ДанныеMap Path Parameter property determines the point.
- Reference combinations
- Curve
- Circle
- Curve, Vertex
- Circle, Vertex
- Vertex, Curve
- Vertex, Circle
Revolution Section
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.
XY plane by 3 points
The XY plane is aligned to pass through three vertices. The X axis will pass through the first two vertices.
- Reference combinations
- Vertex, Vertex, Vertex
- Line, Vertex
- Vertex, Line
- Line, Line
XZ plane by 3 points
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.
Folding
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.
- Reference combinations
- Line, Line, Line, Line
Inertia CS
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.
- Reference combinations
- Any
- Any, Any
- Any, Any, Any
- Any, Any, Any, Any
Align O-Z-X
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.
- Reference combinations
- Vertex, Vertex, Vertex
- Vertex, Vertex, Line
- Vertex, Line, Vertex
- Vertex, Line, Line
- Vertex, Vertex
- Vertex, Line
Align O-Z-Y
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.
Align O-X-Y
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.
Align O-X-Z
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.
Align O-Y-Z
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.
Align O-Y-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.
Attachment offset
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).
- In x-direction: sets an offset distance along the X axis of the ACS.
- In y-direction: sets an offset distance along the Y axis of the ACS.
- In z-direction: sets an offset distance along the Z axis of the ACS.
- Around x-axis: rotates the attached object around the X axis of the ACS.
- Around y-axis: rotates the attached object around the Y axis of the ACS.
- Around z-axis: rotates the attached object around the Z axis of the ACS.
- Flip sides: if checked, the attachment is reversed. This is equivalent to rotating the object 180° around the Y axis of the ACS.
Ограничения
- If selecting two lines results in an error: "Points are collinear. Can't make a plane", try selecting three vertices instead [1].
- Примитивы: Куб(Параллелограмм), Конус, Цилиндр, Сфера, Тор, Полый цилиндр,Примитивы, Связующие формы
- Создание и правка: Выдавливание, Построение фигуры вращения, Отражение, Скругление, Фаска, Создать плоскость из граней, Ruled Surface, Профиль, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Создать полый объект, Projection on surface, Прикрепление
- Булевы операции: Соединить, Разорвать связь, Compound Filter, Булевы операции, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Измерительные: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web