PartDesign CoordinateSystem

    From FreeCAD Documentation

    PartDesign CoordinateSystem.svg PartDesign CoordinateSystem

    Menu location
    Part Design → Create a local coordinate system
    Workbenches
    PartDesign
    Default shortcut
    None
    Introduced in version
    0.18
    See also
    PartDesign Point, PartDesign Line, PartDesign 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.

    PartDesign LocalCoordinateSystem Example.png

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

    Usage

    1. Press the PartDesign CoordinateSystem.svg 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' )