pub struct HoleSite {
pub axis: Axis,
pub size: Option<String>,
pub fit: HoleFit,
pub seat: f64,
pub depth: f64,
pub through: bool,
}Expand description
One hole, as the step that drilled it recorded it — kept as geometry, so that it says the same whatever later steps do to its faces.
Fields§
§axis: AxisWhere it enters its face, and the way it runs into the material from there (a unit vector).
size: Option<String>The ISO metric size of the screw it is for: M6. None for a hole
sized by hand, or tapped for a pipe thread.
fit: HoleFit§seat: f64How far below its face a screw’s head seats: a counterbore’s depth; none for any other.
depth: f64How far it runs from its face: a blind hole’s depth, or, through the material, as far as its wall goes.
through: boolIt comes out of the material at its far end.
Implementations§
Source§impl HoleSite
impl HoleSite
Sourcepub fn seat_frame(&self) -> GeopResult<CoordinateSystem>
pub fn seat_frame(&self) -> GeopResult<CoordinateSystem>
The frame a screw’s head seats on: on the axis, as far below the
face as a head seats, its w pointing out of the hole — the way a
standard screw’s datum seat faces, its shank running down -w
into the hole.
Sourcepub fn exit_frame(&self) -> GeopResult<Option<CoordinateSystem>>
pub fn exit_frame(&self) -> GeopResult<Option<CoordinateSystem>>
The frame where it comes out of the material, its w pointing out
of the hole there — where a nut on a screw through it seats. None for
a blind hole.