Skip to main content

Module half_section

Module half_section 

Source
Expand description

Half sections (ISO 128-50 half view, half section): a part turned whole whose inside a section shows more cleanly than hidden lines (a coaxial hole with a counterbore, spotface or countersink, a bore that changes diameter along the axis, an internal groove, or a through bore under an outer groove, as on a bush or linear bearing) has its profile view drawn half as seen and half cut, split on the turning axis, so the internal steps and walls read as section edges rather than overlapping hidden lines. A plain bore under a plain or merely stepped outline stays a plain view: its hidden lines already read cleanly.

The cut half reuses the full section’s projection (crate::model::Cut through hlr::project_section) and hatching; the boundary between the halves is the view’s own axis centre line, and neither half draws hidden edges. The dimensions of the view follow the cut: a witness that lands on an internal edge of the half drawn as seen moves to its mirror in the cut half, and an internal diameter becomes a half dimension (ISO 129-1: one arrow on the cut half’s edge, the dimension line running a little past the axis, no witness on the other half).

The choice is automatic and steerable: views/<name>/half_section true forces it on a profile view of a turned part, false forbids it.

Structs§

HalfSection
A half section’s cut: the plane through the turning axis square to the view, keeping the material behind it; the half across the axis on the side keep points to is drawn cut.