PartDesign CoordinateSystem: Difference between revisions

From FreeCAD Documentation
No edit summary
m (moved templates out of translation tags)
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{UnfinishedDocu}}
<languages/>
<languages/>
<translate>
<translate>
<!--T:13-->
{{Docnav
|[[PartDesign Plane|Create a datum plane]]
|[[PartDesign ShapeBinder|Create a shape binder]]
|[[PartDesign_Workbench|PartDesign]]
|IconL=PartDesign_Plane.svg
|IconC=Workbench_PartDesign.svg
|IconR=PartDesign_ShapeBinder.svg
}}

<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=PartDesign CoordinateSystem
|Name=PartDesign CoordinateSystem
Line 7: Line 17:
|Workbenches=[[PartDesign Workbench|PartDesign]]
|Workbenches=[[PartDesign Workbench|PartDesign]]
|Version=0.18
|Version=0.18
|SeeAlso=[[PartDesign Point|Datum point]], [[PartDesign Line|Datum line]],[[PartDesign Plane|Datum plane]]]
|SeeAlso=[[PartDesign Point|Datum point]], [[PartDesign Line|Datum line]], [[PartDesign Plane|Datum plane]]
}}
}}


==Description==
==Description== <!--T:2-->


<!--T:3-->
Creates a '''local coordinate sytem''' which can be used as reference for other datum geometry. It also helps identify the orientation of the referenced datum geometry in 3D space.
Creates a '''local coordinate system''' which can be used as reference for other datum geometry. It also helps identify the orientation of the referenced datum geometry in 3D space.


</translate>[[File:PartDesign_LocalCoordinateSystem_Example.png|none]]<translate>
</translate>[[File:PartDesign_LocalCoordinateSystem_Example.png|none]]<translate>


<!--T:4-->
{{Caption|Local coordinate system originating out of a datum plane's origin.}}
{{Caption|Local coordinate system originating out of a datum plane's origin.}}


==Usage== <!--T:5-->
==How to use==


<!--T:6-->
# Press the {{Button|[[File:PartDesign CoordinateSystem.png|16px]] [[PartDesign CoordinateSystem|Create a local coordinate system]]}} button.
# Press the {{Button|[[File:PartDesign_CoordinateSystem.svg|16px]] [[PartDesign CoordinateSystem|Create a local coordinate system]]}} button.
# Define Coordinate System parameters. Select a first reference in the 3D view to filter the available attachment modes.
# Define Coordinate System parameters. Select a first reference in the 3D view to filter the available attachment modes.
# Depending on the selected reference, there may be one or more attachment modes available in the the list. The most likely one will automatically be selected and shown in bold in the list. The text ''Attached with mode'' along with the attachment mode name will appear in green at the top of the Parameters panel.
# Depending on the selected reference, there may be one or more attachment modes available in the the list. The most likely one will automatically be selected and shown in bold in the list. The text ''Attached with mode'' along with the attachment mode name will appear in green at the top of the Parameters panel.
# To add an additional reference, press the next {{KEY|Reference}} button. Once pressed its label changes to ''Selecting...'' until a selection is made.
# To add an additional reference, press the next {{Button|Reference}} button. Once pressed its label changes to ''Selecting...'' until a selection is made.
# Select an attachment mode in the list.
# Select an attachment mode in the list.
# Define Attachment Offset values.
# Define Attachment Offset values.
# Press {{KEY|OK}}.
# Press {{Button|OK}}.


==Options==
==Options== <!--T:7-->


<!--T:8-->
Double-click the '''Local_CS''' label in the Model tree or right-click and select '''Edit datum''' in the contextual menu to edit its parameters. For more details about Attachment mode and Attachment offset, see [[Part Attachment|Attachment]].
Double-click the '''Local_CS''' label in the Model tree or right-click and select '''Edit datum''' in the contextual menu to edit its parameters. For more details about Attachment mode and Attachment offset, see [[Part Attachment|Attachment]].


==Properties== <!--T:9-->
==Properties== <!--T:9-->


===Data===
===Data=== <!--T:10-->


<!--T:11-->

<!--T:10-->
* {{PropertyData|MapMode}}: lists the attachment mode used.
* {{PropertyData|MapMode}}: lists the attachment mode used.
* {{PropertyData|Attachment Reversed}}: indicates if the coordinate system is reversed in orientation.
* {{PropertyData|Attachment Reversed}}: indicates if the coordinate system is reversed in orientation.
Line 44: Line 57:
* {{PropertyData|Label}}: name given to the object, this name can be changed at convenience.
* {{PropertyData|Label}}: name given to the object, this name can be changed at convenience.


==Scripting== <!--T:16-->

<!--T:17-->
{{Code|code=
lcs = App.activeDocument().addObject( 'PartDesign::CoordinateSystem', 'LCS' )
}}

<!--T:12-->
{{Docnav
|[[PartDesign Plane|Create a datum plane]]
|[[PartDesign ShapeBinder|Create a shape binder]]
|[[PartDesign_Workbench|PartDesign]]
|IconL=PartDesign_Plane.svg
|IconC=Workbench_PartDesign.svg
|IconR=PartDesign_ShapeBinder.svg
}}


</translate>
</translate>
{{PartDesign Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 01:24, 24 February 2020

PartDesign CoordinateSystem

Menu location
PartDesign → Create a local coordinate system
Workbenches
PartDesign
Default shortcut
None
Introduced in version
0.18
See also
Datum point, Datum line, Datum plane

Description

Creates a local coordinate system which can be used as reference for other datum geometry. It also helps identify the orientation of the referenced datum geometry in 3D space.

Local coordinate system originating out of a datum plane's origin.

Usage

  1. Press the Create a local coordinate system button.
  2. Define Coordinate System parameters. Select a first reference in the 3D view to filter the available attachment modes.
  3. Depending on the selected reference, there may be one or more attachment modes available in the the list. The most likely one will automatically be selected and shown in bold in the list. The text Attached with mode along with the attachment mode name will appear in green at the top of the Parameters panel.
  4. To add an additional reference, press the next Reference button. Once pressed its label changes to Selecting... until a selection is made.
  5. Select an attachment mode in the list.
  6. Define Attachment Offset values.
  7. Press OK.

Options

Double-click the Local_CS label in the Model tree or right-click and select Edit datum in the contextual menu to edit its parameters. For more details about Attachment mode and Attachment offset, see Attachment.

Properties

Data

  • DataMapMode: lists the attachment mode used.
  • DataAttachment Reversed: indicates if the coordinate system is reversed in orientation.
  • DataAttachment Offset: applies a transformation (translation and rotation) in reference to the attachment placement.
  • DataPlacement: indicates the coordinates and alignment of the coordinates system´s origin .
  • DataLabel: name given to the object, this name can be changed at convenience.

Scripting

lcs = App.activeDocument().addObject( 'PartDesign::CoordinateSystem', 'LCS' )