Axis (hwx.inspire.core)

Reference Axis can be used to create or modify geometry.

Attributes

active: Bool

moveWithPart: Bool

name: Attribute

origin: Location

part: Attribute

position: Attribute

systemType: Enum

type: Enum

visible: Bool

Public Methods

__new__ (cls, features, directionType)

Attribute Details

active : Bool

Returns or sets the object activeness.

Setting this on or off sets all children. Setting to True sets all the parents active too.

moveWithPart : Bool

Whether the system is moving with the associated part or not.

name : Attribute

Returns or sets the name of the object.

It can be any text string, including spaces, although it’s best to avoid using the following characters: ” ‘ * ? and $.

While these characters are allowed, they could create difficulties when you export the model to other applications.

origin : Location (units=”length”)

The origin of this system in local coordinate system.

part : Attribute

The part associated with this system.

position : Attribute

The global transform as a Matrix44.

systemType : Enum

The type of the system.

type : Enum

The type of the system.

visible : Bool

Determines whether the object is visible in the graphics window.

Setting this on or off sets all children. Setting to True sets all the parents visible too.

Method Details

__new__(cls, features, directionType)

Create a reference axis.

param features

Features to create a reference axis.

type features

list[Feature]

param directionType

Direction Type. - THROUGH_EDGE - THROUGH_CYLINDER - THROUGH_TWO_POINTS - THROUGH_TWO_PLANES - NORMAL_TO_FACE_AT_A_POINT

type directionType

str