rhino3dm.OrdinateDimension
- class rhino3dm.OrdinateDimension
Bases:
DimensionRepresents an ordinate dimension
- AdjustFromPoints(plane: Plane, direction: OrdinateDimension, basepoint: Point3d, defpoint: Point3d, leaderpoint: Point3d, kinkoffset1: float, kinkoffset2: float) bool
Update Dimension geometry from point locations
- Parameters:
plane – Dimension’s plane
direction – MeasuredDirection.XAxis or MeasuredDirection.YAxisw
basepoint – Dimension’s base point
defpoint – Dimension’s definition point
leaderpoint – Point at tail of leader
kinkoffset1 – Distance to first jog
kinkoffset2 – Distance to second jog
- static Create(dimStyle: DimensionStyle, plane: Plane, direction: OrdinateDimension, basepoint: Point3d, defpoint: Point3d, leaderpoint: Point3d, kinkoffset1: float, kinkoffset2: float) OrdinateDimension
Initialize Dimension parameters
- Parameters:
dimStyle – Dimension’s AnnotationStyle
plane – Dimension’s plane
direction – MeasuredDirection.XAxis or MeasuredDirection.YAxis
basepoint – Dimension’s base point
defpoint – Dimension’s definition point
leaderpoint – Point at tail of leader
kinkoffset1 – Distance to first jog
kinkoffset2 – Distance to second jog
- Get3dPoints() tuple[bool, Point3d, Point3d, Point3d, Point3d, Point3d]
Get locations of dimension’s 3d points
- GetDisplayLines(style: DimensionStyle, scale: float) tuple[bool, list[Line]]
- GetDistanceDisplayText(unitsystem: UnitSystem, style: DimensionStyle) str
Deprecated since 9.0.
- property Direction: OrdinateDimension
Gets or sets the measured direction.
- property KinkOffset1: float
- property KinkOffset2: float
Classes
Ordinate dimension measures x or y direction |