Development version.
Forge is under active development and testing. APIs, behaviour, coverage and
verification results may be incomplete or change without notice; published
PASS results are not a support guarantee or production-readiness claim.
DrawingDimension.radial
Create a native radial or diameter dimension from a circular model-edge pick.
Signature
DrawingDimension.radial(view, edge, *, diameter=None, offset_mm=10, override_text=None, decimals=2, line_through_mm=None)Use when
Dimension holes, bosses or other circular edges and optionally turn the displayed value into a native engineering callout.
Limits
The XYZ pick must resolve to one circular edge. Avoid the seam point where a circle may expose multiple coincident edge segments. Centre marks are not currently authored because SolidCraft 0.49 exposes no native centre-mark command.
Parameters
view— Standard view name: front, top, right or iso.edge— XYZ pick on the circular model edge.diameter— True for diameter presentation, false/None for native radial behavior.offset_mm— Native dimension offset in paper millimetres.override_text— Optional native text override such as ‘2× {value} THRU’.decimals— Displayed decimal count, 0..6.line_through_mm— Optional explicit paper point for the dimension line.
Example
DrawingDimension.radial("top", (-25.17,2.83,8), diameter=True, override_text="2× {value} THRU", line_through_mm=(92,88))