Radial Dimension
Below we will consider the object displaying a surface radius. Not all surfaces are suitable for this measurement. The surface must be defined as a circle or has a radius.
The object is drawn by two points (a center and any point on a circle line).
Object
Common type of a radial dimension object (TypeScript):
export type C3DViewRadialDimension = {
type: C3DViewObjectTypes.RadialDimension
uuid?: string
points: {
p1: C3DViewPoint
p2: C3DViewPoint
tp?: C3DViewPoint
}
placement: C3DViewPlacement
options: C3DViewDimensionOptions
userData: C3DUserData
}
The properties type, uuid, and userData are described here. The property options is described here. Additionally for this PMI object:
type can be
C3DViewObjectTypes.RadialDimension
or a string"RadialDimension"
;userData object is created in the process when returned in the
onCreate
event callback.
points is a group of points to build an object:
p1 is the first object point on geometry;
p2 is the second object point on geometry;
tp is a dimension text position.
placement is a plane to orientate geometry.
New in version 1.6.4: Removed the ringPlane
option. The radial dimension always has a ring.