User:DeepSOIC: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
Line 2: Line 2:


==Mode Deactivated==
==Mode Deactivated==
references: any
'''References:''' any

action: sketch remains where it was. Attachment is disabled.
'''Action:''' sketch remains where it was. Attachment is disabled.


==Mode Translate==
==Mode Translate==
references: vertex
'''References:''' vertex

action: sketch origin is translated to coincide with the vertex. Sketch orientation doesn't change, and can be modified by changing Placement property.
'''Action:''' sketch origin is translated to coincide with the vertex. Sketch orientation doesn't change, and can be modified by changing Placement property.


[[image:Attacher_mode_Translate.png|250px]]
[[image:Attacher_mode_Translate.png|250px]]
Line 13: Line 15:


==Mode ObjectXY==
==Mode ObjectXY==
references: object
'''References:''' object

action: sketching plane is XY plane of object's local coordinate system (according to its Placement property).
'''Action:''' sketching plane is XY plane of object's local coordinate system (according to its Placement property).


[[image:Attacher_mode_ObjectXY.png|250px]]
[[image:Attacher_mode_ObjectXY.png|250px]]
Line 20: Line 23:


==Mode ObjectXZ==
==Mode ObjectXZ==
references: object
'''References:''' object

action: like ObjectXY.
'''Action:''' like ObjectXY.


[[image:Attacher_mode_ObjectXZ.png|250px]]
[[image:Attacher_mode_ObjectXZ.png|250px]]
Line 27: Line 31:


==Mode ObjectYZ==
==Mode ObjectYZ==
references: object
'''References:''' object

action: like ObjectXY.
'''Action:''' like ObjectXY.


[[image:Attacher_mode_ObjectYZ.png|250px]]
[[image:Attacher_mode_ObjectYZ.png|250px]]
Line 34: Line 39:


==Mode FlatFace==
==Mode FlatFace==
references: face or plane
'''References:''' face or plane

action: legacy. Sketching on a flat face.
'''Action:''' legacy. Sketching on a flat face.


[[image:Attacher_mode_FlatFace.png|250px]]
[[image:Attacher_mode_FlatFace.png|250px]]
Line 41: Line 47:


==Mode TangentPlane==
==Mode TangentPlane==
references: face+vertex or vertex+face
'''References:''' face+vertex or vertex+face

action: sketching plane is tangent to surface of face at the point on the surface that is closest to the vertex. If vertex is linked in first, the plane is translated to go through the vertex. If face is first, the plane touches the surface. X axis of sketch is chosen to go along internal face's parametrization.
'''Action:''' sketching plane is tangent to surface of face at the point on the surface that is closest to the vertex. If vertex is linked in first, the plane is translated to go through the vertex. If face is first, the plane touches the surface. X axis of sketch is chosen to go along internal face's parametrization.


[[image:Attacher_mode_TangentPlane.png|250px]]
[[image:Attacher_mode_TangentPlane.png|250px]]
Line 48: Line 55:


==Mode NormalToEdge==
==Mode NormalToEdge==
references: edge or edge+vertex or vertex+edge
'''References:''' edge or edge+vertex or vertex+edge

action: sketching plane is normal to the edge 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 virtex is first, or kept at where the curve pierces the sketch plane if edge is first. X axis of sketch is chosen automatically.
'''Action:''' sketching plane is normal to the edge 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 virtex is first, or kept at where the curve pierces the sketch plane if edge is first. X axis of sketch is chosen automatically.


[[image:Attacher_mode_NormalToEdge.png|250px]]
[[image:Attacher_mode_NormalToEdge.png|250px]]
Line 55: Line 63:


==Mode FrenetNB==
==Mode FrenetNB==
references: curved edge OR curved edge+vertex OR vertex+curved edge
'''References:''' curved edge OR curved edge+vertex OR vertex+curved edge

action: sketching plane is normal-binormal (NB) axes of 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. This mode is similar to NormalToEdge, except that X axis is well-defined.
'''Action:''' sketching plane is normal-binormal (NB) axes of 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. This mode is similar to NormalToEdge, except that X axis is well-defined.


[[image:Attacher_mode_FrenetNB.png|250px]]
[[image:Attacher_mode_FrenetNB.png|250px]]
Line 62: Line 71:


==Mode TrenetTN==
==Mode TrenetTN==
references: curved edge OR curved edge+vertex OR vertex+curved edge
'''References:''' curved edge OR curved edge+vertex OR vertex+curved edge

action: sketching plane is tangent-normal (TN) axes of 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.
'''Action:''' sketching plane is tangent-normal (TN) axes of 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.


[[image:Attacher_mode_FrenetTN.png|250px]]
[[image:Attacher_mode_FrenetTN.png|250px]]
Line 69: Line 79:


==Mode FrenetTB==
==Mode FrenetTB==
references: curved edge OR curved edge+vertex OR vertex+curved edge
'''References:''' curved edge OR curved edge+vertex OR vertex+curved edge

action: sketching plane is tangent-binormal (TB) axes of 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.
'''Action:''' sketching plane is tangent-binormal (TB) axes of 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.


[[image:Attacher_mode_FrenetTB.png|250px]]
[[image:Attacher_mode_FrenetTB.png|250px]]
Line 76: Line 87:


==Mode Concentric==
==Mode Concentric==
references: curved edge OR curved edge+vertex OR vertex+curved edge
'''References:''' curved edge OR curved edge+vertex OR vertex+curved edge

action: same as FrenetTN, but sketch origin is placed at the center of curvature of the edge.
'''Action:''' same as FrenetTN, but sketch origin is placed at the center of curvature of the edge.


[[image:Attacher_mode_Concentric.png|250px]]
[[image:Attacher_mode_Concentric.png|250px]]
Line 83: Line 95:


==Mode SectionOfRevolution==
==Mode SectionOfRevolution==
references: curved edge OR curved edge+vertex OR vertex+curved edge
'''References:''' curved edge OR curved edge+vertex OR vertex+curved edge

action: same as FrenetNB, but sketch origin is placed at the center of curvature of the edge, and Y axis is the axis of osculating circle. Useful to make grooves on bodies of revolution.
'''Action:''' same as FrenetNB, but sketch origin is placed at the center of curvature of the edge, and Y axis is the axis of osculating circle. Useful to make grooves on bodies of revolution.


[[image:Attacher_mode_SectionOfRevolution.png|250px]]
[[image:Attacher_mode_SectionOfRevolution.png|250px]]
Line 90: Line 103:


==Mode ThreePointsPlane==
==Mode ThreePointsPlane==
references: vertex+vertex+vertex or line+vertex or vertex+line or line+line
'''References:''' vertex+vertex+vertex or line+vertex or vertex+line or line+line

action: sketching plane goes through three vertices defined by references. Line is treated as if it is two vertices.
'''Action:''' sketching plane goes through three vertices defined by references. Line is treated as if it is two vertices.


[[image:Attacher_mode_ThreePointsPlane.png|250px]]
[[image:Attacher_mode_ThreePointsPlane.png|250px]]
Line 97: Line 111:


==Mode ThreePointsNormal==
==Mode ThreePointsNormal==
references: vertex+vertex+vertex or line+vertex or vertex+line or line+line
'''References:''' vertex+vertex+vertex or line+vertex or vertex+line or line+line

action: sketching plane contains first two vertices, and is normal to the plane defined by three vertices.
'''Action:''' sketching plane contains first two vertices, and is normal to the plane defined by three vertices.


[[image:Attacher_mode_ThreePointsNormal.png|250px]]
[[image:Attacher_mode_ThreePointsNormal.png|250px]]
Line 104: Line 119:


==Mode Folding==
==Mode Folding==
references: line+line+line+line
'''References:''' line+line+line+line

action: specialty mode to fold polyhedra. See picture. It is required that all four lines share an endpoint. It is not required that both leafs to fold together are the same, like on the picture.
'''Action:''' specialty mode to fold polyhedra. See picture. It is required that all four lines share an endpoint. It is not required that both leafs to fold together are the same, like on the picture.


[[image:Attacher_mode_Folding.png|250px]]
[[image:Attacher_mode_Folding.png|250px]]

Latest revision as of 17:21, 1 July 2015

Mapping modes of the new Attacher

Mode Deactivated

References: any

Action: sketch remains where it was. Attachment is disabled.

Mode Translate

References: vertex

Action: sketch origin is translated to coincide with the vertex. Sketch orientation doesn't change, and can be modified by changing Placement property.


Mode ObjectXY

References: object

Action: sketching plane is XY plane of object's local coordinate system (according to its Placement property).


Mode ObjectXZ

References: object

Action: like ObjectXY.


Mode ObjectYZ

References: object

Action: like ObjectXY.


Mode FlatFace

References: face or plane

Action: legacy. Sketching on a flat face.


Mode TangentPlane

References: face+vertex or vertex+face

Action: sketching plane is tangent to surface of face at the point on the surface that is closest to the vertex. If vertex is linked in first, the plane is translated to go through the vertex. If face is first, the plane touches the surface. X axis of sketch is chosen to go along internal face's parametrization.


Mode NormalToEdge

References: edge or edge+vertex or vertex+edge

Action: sketching plane is normal to the edge 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 virtex is first, or kept at where the curve pierces the sketch plane if edge is first. X axis of sketch is chosen automatically.


Mode FrenetNB

References: curved edge OR curved edge+vertex OR vertex+curved edge

Action: sketching plane is normal-binormal (NB) axes of 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. This mode is similar to NormalToEdge, except that X axis is well-defined.


Mode TrenetTN

References: curved edge OR curved edge+vertex OR vertex+curved edge

Action: sketching plane is tangent-normal (TN) axes of 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.


Mode FrenetTB

References: curved edge OR curved edge+vertex OR vertex+curved edge

Action: sketching plane is tangent-binormal (TB) axes of 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.


Mode Concentric

References: curved edge OR curved edge+vertex OR vertex+curved edge

Action: same as FrenetTN, but sketch origin is placed at the center of curvature of the edge.


Mode SectionOfRevolution

References: curved edge OR curved edge+vertex OR vertex+curved edge

Action: same as FrenetNB, but sketch origin is placed at the center of curvature of the edge, and Y axis is the axis of osculating circle. Useful to make grooves on bodies of revolution.


Mode ThreePointsPlane

References: vertex+vertex+vertex or line+vertex or vertex+line or line+line

Action: sketching plane goes through three vertices defined by references. Line is treated as if it is two vertices.


Mode ThreePointsNormal

References: vertex+vertex+vertex or line+vertex or vertex+line or line+line

Action: sketching plane contains first two vertices, and is normal to the plane defined by three vertices.


Mode Folding

References: line+line+line+line

Action: specialty mode to fold polyhedra. See picture. It is required that all four lines share an endpoint. It is not required that both leafs to fold together are the same, like on the picture.