Feature (hwx.inspire.core)

Features are what gives shape to a Part.

They can be points, lines, planes, holes, etc.


Public Methods

findClosestPoint (self, referencePoint)

isa (self, type=None, filter=None, **kwds)

Property Details

property active

Determines the part this feature belongs to is active or not.

property cg

The approximate global center of gravity of the feature as a point.

property connectedCurves


property connectedFaces


property connectedPoints

list[FeaturePoint]: The end points of the Feature with any duplicates removed.

property ishole

Determines whether the feature is a hollow circle/cylinder or not.

property location

The global location of the feature as a point.

property minBoundingBox

Returns the minimum bounding box.


occs (Feature | Part | Assembly): Objects to bound.


hwBox3: The bounding box.

property name

The unique name of the feature.

property part

Returns the part this feature belongs to.

property units

Returns the units.

property visible

Determines whether the part is visible in the modeling window.

Method Details

findClosestPoint(self, referencePoint)

Returns the point on feature that nearest to the specified point.

param referencePoint

Reference point to find closest point on feature.

type referencePoint



The closest point of the feature from specified point.



isa(self, type=None, filter=None, **kwds)

Determines the object matches the specified settings or not.

param type

Specify type of the object.

type type

Part, Assembly, Contact, ..

param filter

Return value of specified callback method.

type filter


param **kwds

Additional keyword arguments to match attributes.