pub enum PmiGeometry {
Show 13 variants
None,
Linear {
a: [f64; 3],
b: [f64; 3],
component: Option<char>,
},
Radial {
center: [f64; 3],
axis: [f64; 3],
radius: f64,
diameter: bool,
sphere: bool,
},
Angular {
vertex: [f64; 3],
dir_a: [f64; 3],
dir_b: [f64; 3],
axis: [f64; 3],
degrees: f64,
},
Leader {
targets: Vec<[f64; 3]>,
dot: bool,
balloon: bool,
anchor: Option<BalloonAnchor>,
},
Note {
position: [f64; 3],
},
Hole {
anchor: [f64; 3],
normal: [f64; 3],
},
Hide {
solids: Vec<String>,
},
Explode {
solids: Vec<String>,
translate: [f64; 3],
rotate_deg: [f64; 3],
scale: [f64; 3],
center: [f64; 3],
trace: bool,
},
Datum {
anchor: [f64; 3],
normal: [f64; 3],
letter: String,
},
Fcf {
anchor: [f64; 3],
normal: [f64; 3],
frame: FcfFrame,
},
CenterMark {
marks: Vec<CenterCircle>,
extension: f64,
},
CenterLine {
a: [f64; 3],
b: [f64; 3],
},
}Expand description
The analytic geometry an annotation resolved to — what the presentation
(layout) and the STEP semantic export are built from.
Variants§
None
Linear
Measured from a to b (world). component names the X/Y/Z axis
when the dimension is an aligned component, else None.
Radial
Angular
The arc sweeps degrees from dir_a about axis (right-handed) at
vertex.
Leader
Fields
anchor: Option<BalloonAnchor>A balloon’s head derivation recipe (None on a plain leader): the
viewport re-derives targets[0] from a dragged bubble with it.
Note
Hole
Hide
Display-only: keep solids out of the view while it is active. Draws
nothing (no chip, no text, no line).
Explode
Display-only: pose solids by the delta while the view is active.
Fields
Datum
Fcf
CenterMark
Centre crosses on round features, the dashes reaching extension
(model units) past each circle.
CenterLine
A chain line from a to b (its extension already included).