I've been working with cadquery a lot for the hexpad, and although I'm not a fan of the API design, it sure beats redoing all projections every time you change something in Fusion 360.

Yesterday I implemented a little trick I learned about fillets and chamfers:

When you fillet convex and concave edges (pic A) and then chamfer the resulting loop, you get an irregular fillet pattern (pic B) because convex fillets "shrink" whereas concave fillets "grow" when chamfered.

Follow

This results in an uneven look. To create a more balanced shape, the concave corners have to be filleted at a reduced radius, so that the chamfer brings them up to match the convex corners, while the convex corners will be shrunk to match the reduced radius of the concave corner (pic C).

Here's the cadquery plugin that fillets with this in mind:

use like this:

model.edges('|Z').fillterChamferComp(5, 1).edges('').chamfer(1)

· · Web · 1 · 0 · 0
Sign in to participate in the conversation
Merveilles

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.