FeatureConical (hwx.inspire)#
- class FeatureConical(*args)#
Bases:
FeatureArea
Cone shaped feature.
They are not created through the API but can be retrieved from a part.
# Name
Type
property
Example
from hwx import inspire model = inspire.newModel() cone = model.createSolidCone() inspire.fitView() feat, = cone.getFeatures(type=inspire.FeatureConical) points = feat.axis print(f"Conical feature has {len(points)} axis points") for pt in points: inspire.ConcentratedMass(location=pt) inspire.highlight(feat)
- property axis#
Returns 2 Points through the center.