W24Radius
W24Radius¶
Radius Feature
Attributes: radius_id: Unique UUID4 identifier. This can be used to provide automated feedback about customer changes.
label: Label of the radius.
confidence: Werk24 calcualtes an internal confidence score for
reach radius. Depending on your use-case, you might want
to consider or discard low-confidence radii. This value
allows you to do so. The value ranges from 0.0 to 1.0
Properties¶
-
position
: Refer to #/definitions/W24BaseFeaturePosition. -
radius_id
(string) -
label
: Refer to #/definitions/W24RadiusLabel. -
confidence
(number)
Definitions¶
-
W24BaseFeatureCoordinate
(object): Coordinate point
Attributes: x: x position normalized by the thumbnail's width
y: y position normalized by the thumbnail's height. -
x
(number) -
y
(number) -
W24BaseFeaturePosition
(object): Position of the Feature on the individual thumbnails normalized by the width and height of each thumbnail.
Each features position is indicated as a list of coordinates. If the list only has two elements, you are dealing with a line. If it has four or more, you are looking at a polygon
Attributes: page: Position of the Feature on the Page thumbnail
sheet: Position of the Feature on the Sheet thumbnail
sectional: Position of the Feature on the Sectional thumbnail. -
sheet
(array)- Items: Refer to #/definitions/W24BaseFeatureCoordinate.
-
canvas
(array)- Items: Refer to #/definitions/W24BaseFeatureCoordinate.
-
sectional
(array)- Items: Refer to #/definitions/W24BaseFeatureCoordinate.
- W24SizeType
(string): Enumeration class for W24 size types.
Attributes:¶
NOMINAL (str): Nominal size type. DIAMETER (str): Diameter size type. WIDTH_ACROSS_FLATS (str): Width across flats size type. Must be one of: ['NOMINAL', 'DIAMETER', 'SPHERICAL_DIAMETER', 'WIDTHS_ACROSS_FLATS', 'SQUARE']
.
W24UnitLength
(string): Enum of the supported length units . Must be one of:['METER', 'DECIMETER', 'CENTIMETER', 'MILLIMETER', 'FOOT', 'INCH', 'MICRO_INCH']
.
- W24Size
(object): Abstract Base Class for the Sizes.
Attributes:¶
blurb: A blurb for human consumption.
size_type: The type of size for deserialization.
nominal_size: The unit-less nominal size. The unit is attached to the parent object, which also defines the toleration.
unit: Unit of the measure if known. This should typically be inch or millimeter. In some cases it might be possible that the units are unknown.
-
blurb
(string) -
size_type
: Refer to #/definitions/W24SizeType. -
nominal_size
(number) -
unit
: Refer to #/definitions/W24UnitLength. -
W24Tolerance
(object): Abstract Base Class to cover the Tolerances.
Attributes: blurb (str): String representation for human consumption
toleration_type (W24SizeToleranceType): Toleration Type for deserialization. -
blurb
(string) -
toleration_type
(string) -
W24RadiusLabel
(object): Radius Label
Attributes: blurb: String representation of the Radius for human consumption
quantity: Quantity of the annotated radius, e.g., 2 x R4 returns quantity=2
size: Size of the Radius as referred in the drawing.
size_tolerance: Tolerance details of the Radius. Please keep in mind that Radii can carry special tolerances. If none are mentioned on the drawing, the general tolerances apply.
unit: Length units of the size and size_tolerance. In most cases this will be be millimeter (METRIC) or inch (IMPERIAL) and be consistent for the complete drawing. Exceptions are very rare, but exist. -
blurb
(string) -
quality
(integer): Default:1
. -
size
: Refer to #/definitions/W24Size. -
size_tolerance
: Default:{'blurb': '', 'toleration_type': 'GENERAL_TOLERANCES', 'standard': None, 'standard_class': None, 'deviation_lower': None, 'deviation_upper': None, 'tolerance_grade': None}
. -
unit
: Refer to #/definitions/W24UnitLength.