pyboxbuilder.rounding.roundover_profile¶
- pyboxbuilder.rounding.roundover_profile(radius: float, steps: int) OSProfile[source]¶
Return a sweep-end profile that rounds the end face over into the sweep.
os_circleis the obvious choice and is the wrong shape: its arc is tangent to the sweep’s wall and meets the end face at 90°, which on a subtractive solid hollows a cove inside the material and leaves the opening at nominal size — a cutout, not a roundover (FR-044e).The roundover is the mirrored arc, tangent to the face:
z = r · (1 - cos a) # depth from the face inset = r · sin a # how far the section has narrowedso at the face the section is a full
rwider (and tangent to the face, so the face flows into it), and by depthrit has settled onto the straight run.Note which end this widens.
offset_sweepleaves its straight middle at the last offset the rim before it reached, so a profile on one end only (a scoop fillets both faces; a rim fillet has one face) belongs on thebottom, where the column starts at the face and works inward — putting it ontopalone leaves the whole straight run at the path’s size and steps in at the arc. A ring wanted the other way up is built downward and mirrored.