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§
- Blend
Refusal - A blend request’s refusal, naming the edges of the request it concerns.
- Fill
Boundary - One side of an N-sided filling.
- Fill
Side - 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_edgesblends one edge. - Chamfer
Corner - How a chamfer request closes a vertex where three or more of its bevels meet.
- Radius
Law - 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.
- Round
Profile - The shape of an asymmetric round’s section, between its two contacts.
Functions§
- blend_
edges - Round and bevel the edges of
solidasedgessays, in one request. - chamfer_
edges_ checked chamfer_edges_with, its refusal naming the specs it concerns, by their indices inspecs: 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 ascornersays.- chamfer_
edges_ partial - Bevel what of a request can be bevelled, leaving the rest sharp, as
fillet_edges_partialrounds: the specs taken in request order, each joining the built set whenchamfer_edges_withbuilds 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
faceon_facefrom the edge and the edge’s other faceon_otherfrom it, its sectionprofilebetween the two contacts. - fillet_
edge_ distances_ variable - Round a straight edge between two planar faces with a band that meets
faceat the distanceon_facegives and the edge’s other face at the distanceon_othergives, each a law read by the fraction of the edge from its start, its sectionprofilebetween the two contacts. - fillet_
edges_ checked fillet_edges, its refusal naming the edges ofedgesit concerns, by their indices there.- fillet_
edges_ cornered - Round
edgesofsolidatradius, asfillet_edgesdoes, with each vertex ofcornersclosed as a setback corner, asround_vertex_setbackcloses 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_toof an asymmetric round’s two distances at whichfillet_edge_distancesonedgeis not refused for a contact set back past its face’s side: the round meetingfaces * on_facefrom the edge and the other faces * on_otherfrom it. None where no scale leaving both distances longer than the confusion distance fits. - largest_
fillet_ radius - The largest radius up to
up_toat which a ball rolling alongedgeofsolidsits with both contacts on their faces at every station the request check reads, so thatfillet_edgeson 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_toat which the bands ofedgesall sit with their contacts on their faces, aslargest_fillet_radiusreads each, and no band’s contact comes within another’s setback of its edge across a face they share, the overlapfillet_edgesrefuses. 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
vertexofsolidwith the bands of its edges atradius, each stopped at its setback, and one patch over the opening between them. - round_
vertex_ setback_ sharp - Round the edges of
vertexother thansharpwith bands atradius, each stopped at its setback, and close the opening between them with a patch that runs into the pointsharp’s setback names on it.