Skip to content

STEP AXIS2_PLACEMENT_3D vertical axis #62

@ws256

Description

@ws256

Hello!
How do I read AXIS2_PLACEMENT_3D for the STEP format?
This is necessary for automatic detection of the vertical axis. Example:

ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('Example of AXIS2_PLACEMENT_3D'),'2;1');
FILE_NAME('axis2_example.stp','2025-10-10T10:00:00',('ChatGPT'),'OpenAI', '','Example','','');
FILE_SCHEMA(('AUTOMOTIVE_DESIGN_CC2'));
ENDSEC;

DATA;
#1 = CARTESIAN_POINT('Origin',(0.0,0.0,0.0));
#2 = DIRECTION('Z_Axis',(0.0,0.0,1.0));
#3 = DIRECTION('X_Axis',(1.0,0.0,0.0));
#4 = AXIS2_PLACEMENT_3D('Local coordinate system',#1,#2,#3);

AXIS2_PLACEMENT_3D(name, location, axis, ref_direction)
location → origin
axis → The direction of axis #2 = (0, 0, 1) this is the Z-axis, i.e. the vertical axis.
ref_direction → direction of the reference axis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions