Skip to main content

Crate ogeom_fillet

Crate ogeom_fillet 

Source
Expand description

Blending: constant- and variable-radius edge fillets, vertex blends, chamfers, and their 2D counterparts.

Re-exports§

pub use analyse::BlendContact;
pub use analyse::analyse_blend;
pub use analyse::face_curvature_samples;
pub use bridge::End;
pub use bridge::make_blend_curve;
pub use bridge::make_blend_surface;
pub use chamfer::Chamfer;
pub use chamfer::chamfer_edge;
pub use chamfer::chamfer_edge_angle;
pub use chamfer::chamfer_edge_distances;
pub use chamfer::chamfer_edges;
pub use chamfer::chamfer_edges_with;
pub use chamfer::largest_chamfer_distance;
pub use corner::round_vertex;
pub use corner2d::chamfer_corner_2d;
pub use corner2d::fillet_corner_2d;
pub use facepair::blend_faces;
pub use fillet::fillet_edge;
pub use fillet::fillet_edge_variable;
pub use fillet::fillet_edges;
pub use fillet::fillet_edges_variable;
pub use fillet::fillet_edges_with;
pub use march::BlendStop;
pub use march::MarchedBlend;
pub use march::Sides;
pub use march::march_blend;
pub use march::march_blend_seeded;
pub use march::march_blend_sided;
pub use sheet::fillet_faces;
pub use sheet::fillet_sheet_edges;

Modules§

analyse
What a blend actually achieved, measured rather than asserted.
bridge
Bridging a gap: a blend surface between edges of two faces, and a blend curve between the ends of two edges.
chamfer
Chamfers: the bevel that replaces an edge.
corner
Rounding a vertex: the ball-and-block tool at a planar corner.
corner2d
2D fillets and chamfers: rounding and beveling a wire’s corner.
facepair
The blend between two faces of one solid, which need not share an edge.
fillet
Constant-radius fillets, where the rolling ball’s envelope is closed-form.
march
The marching blend: a rolling ball followed by solving where it touches.
sheet
Rounds on sheets: where two faces of an open shell meet at an edge, and in the corner between two faces of separate shapes.

Structs§

BlendRefusal
A blend request’s refusal, naming the edges of the request it concerns.
FillBoundary
One side of an N-sided filling.
FillSide
What a filling achieved along one side, measured at stations spread over the edge.
Filled
A filling and what it achieved.
Setbacks
How far each band meeting a vertex stops from it, and how the patch between them meets the bands and the faces.

Enums§

Blend
How blend_edges blends one edge.
ChamferCorner
How a chamfer request closes a vertex where three or more of its bevels meet.
RadiusLaw
How a variable-radius blend’s radius runs along its chain of edges, by the fraction of the chain’s arc length from the chain’s start.
RoundProfile
The shape of an asymmetric round’s section, between its two contacts.

Functions§

blend_edges
Round and bevel the edges of solid as edges says, in one request.
chamfer_edges_checked
chamfer_edges_with, its refusal naming the specs it concerns, by their indices in specs: a wedge refused names its spec, and a wedge that does not apply names its spec, then the specs before it whose edges share a vertex with its edge.
chamfer_edges_cornered
chamfer_edges_with, the vertices where three or more of its bevels meet closed as corner says.
chamfer_edges_partial
Bevel what of a request can be bevelled, leaving the rest sharp, as fillet_edges_partial rounds: the specs taken in request order, each joining the built set when chamfer_edges_with builds it with the specs accepted so far, a refused spec reported with the accepted specs whose edges share a vertex or a face with its edge.
fillet_edge_distances
Round a straight edge between two planar faces with a band that meets face on_face from the edge and the edge’s other face on_other from it, its section profile between the two contacts.
fillet_edge_distances_variable
Round a straight edge between two planar faces with a band that meets face at the distance on_face gives and the edge’s other face at the distance on_other gives, each a law read by the fraction of the edge from its start, its section profile between the two contacts.
fillet_edges_checked
fillet_edges, its refusal naming the edges of edges it concerns, by their indices there.
fillet_edges_cornered
Round edges of solid at radius, as fillet_edges does, with each vertex of corners closed as a setback corner, as round_vertex_setback closes it.
fillet_edges_partial
Round what of a request can be rounded, leaving the rest sharp.
largest_fillet_distances
The largest common scale up to up_to of an asymmetric round’s two distances at which fillet_edge_distances on edge is not refused for a contact set back past its face’s side: the round meeting face s * on_face from the edge and the other face s * on_other from it. None where no scale leaving both distances longer than the confusion distance fits.
largest_fillet_radius
The largest radius up to up_to at which a ball rolling along edge of solid sits with both contacts on their faces at every station the request check reads, so that fillet_edges on that edge alone is not refused for setback at it or at any radius below it. None where no radius above the confusion distance fits.
largest_fillet_radius_all
The largest radius up to up_to at which the bands of edges all sit with their contacts on their faces, as largest_fillet_radius reads each, and no band’s contact comes within another’s setback of its edge across a face they share, the overlap fillet_edges refuses. Edges meeting at a vertex are corner mates, whose bands meet there by design, and are not held apart; vertices and faces are told apart by placement as well as node, as that refusal tells them. None where no radius above the confusion distance fits.
make_filling_n
Fill the hole a loop of edges bounds with one face meeting each side’s support at the continuity asked.
round_vertex_setback
Round vertex of solid with the bands of its edges at radius, each stopped at its setback, and one patch over the opening between them.
round_vertex_setback_sharp
Round the edges of vertex other than sharp with bands at radius, each stopped at its setback, and close the opening between them with a patch that runs into the point sharp’s setback names on it.