Skip to main content

Module blend

Module blend 

Source
Expand description

Chamfers and fillets on solid edges. Each comes three ways: fillet and chamfer pick every edge where the surfaces of two named faces meet; the _named forms take EdgeNames, which can also pick only where the faces carrying the names meet; the _edges forms take the edges themselves. The shaped blends ([shaped]) take edges or faces.

A blend’s material is the region between the edge and the blend face: a prism along a straight edge, or a ring (whole or a sector) about a circular one, of the cross-section that the two faces and the chamfer line or fillet arc bound, swept into a tool solid whose sides lie on the two faces, so the blend surface’s tangent contact lies on the tool’s own edges. The tools’ blend faces are sewn into the body ([sew]); where they do not close up that way each region is cut away at a convex edge and added at a concave one with the kernel’s booleans instead.

Each piece ends where its edge does. Pieces whose edges continue each other tangentially share their end section exactly; two straight pieces that meet at a corner of one face, mirror images of each other, are trimmed on the plane between them; two convex pieces at a corner each leaves through the other’s wall into air run on through it, and their crease is where the two cuts meet; a piece whose edge runs into one other face is extended past it and trimmed by that face’s surface, and by the faces past any short edge its contact runs beyond ([run]); on a curved face met at a glancing angle it runs on only until that surface takes in its whole section. A concave piece whose strip is wider than its face runs over the face’s convex edge and is trimmed by the face past it. Three fillets meeting at a corner of three planes close with the sphere touching all three.

Structs§

EdgeName
One edge pair of a blend: the faces named a and b (as feature.face). It picks every edge where a face on a’s surface meets one on b’s, or with exact only where the faces carrying those names meet, so a pair on two surfaces that meet more than once picks one of the edges.

Functions§

chamfer
Chamfers every edge where a face named pairs[i].0 meets one named pairs[i].1 (names as feature.face), in one operation; the bevel faces are <feature>.bevel_<i>.
chamfer_distances
s with each of edges chamfered at its own distance, each edge with its tangent chain: each distance’s chamfer cut from s itself and the cuts taken together, so a larger chamfer never takes away an edge a smaller one names.
chamfer_edges
chamfer of edges themselves, each between two faces, set back distance on both.
chamfer_named
chamfer of the edges pairs name.
chamfer_two_edges
A chamfer of edge itself set back along_first on face first, one of the two it lies between, and along_other on the other.
chamfer_two_named
A chamfer of the edges pairs name set back along_a on each pair’s face a and along_b on its face b.
fillet
Fillets every edge where a face named pairs[i].0 meets one named pairs[i].1, in one operation; the round faces are <feature>.round_<i> and a vertex blend <feature>.corner.
fillet_conic
s with each of edges, a straight convex edge between planes, rounded by a conic: the rational quadratic arc from the point setback along one face through the edge’s corner as apex to the point setback along the other, its shoulder rho of the way from the chord’s middle to the corner (middle weight rho/(1 − rho)).
fillet_edges
fillet of edges themselves, each between two faces. Every face keeps its names.
fillet_faces
Rounds between planes a and b, which meet nowhere on the solid (a chamfer may lie between them), by the ball of radius against both: the material between their meeting line and the ball’s arc goes, whatever lay there already.
fillet_g2
s with each of edges, a straight convex edge between planes, rounded by the curvature-continuous section of order 2 between the points a ball of radius offset touches, its thumbweight such that it bends with radius center at its middle.
fillet_named
fillet of the edges pairs name.
fillet_radii
s with each of edges rounded at its own radius, each edge with its tangent chain. Where three rounds of different radii meet at a corner of three planes the corner is closed without a crease ([uneven]); where rounds of different radii meet any other way they are mitred, the solid less every round’s region.
fillet_setback
s with the three edges at a corner of three square planes rounded at radius, each round held whole until setback from the corner and the corner between them a patch tangent to them all.
fillet_setback_g2
s with the three edges that meet at a square corner of flat faces rounded by the curvature-continuous section of order 2 between the points a ball of radius touches, at the thumbweight that takes off what the ball does, each stopped setback short of the corner and the corner closed by the surface this module describes.
fillet_variable
s with the straight convex edge e between two planes rounded by a ball whose radius runs evenly with length along it, from r_from at the end nearest from to r_to at the other. The balls’ centres run along a line, their radius growing evenly along it, so their envelope is a right circular cone about that line, tangent to each plane along the line of the balls’ feet: the corner wedge less that cone is cut away. A ball whose feet leave a face is refused.
full_round
Replaces the plane middle by a round tangent to it and to the planes side_a and side_b either side: the circle touching all three, the material outside it beyond its touch points gone.