I recently discovered
Curv and was impressed with the breadth of operations it could perform. In particular, it supported both bend and twist and it was possible to create a
mobius strip in a few lines of code:
let
boxX=25; boxY=25; boxZ=100
in
boxF [boxX,boxY,boxZ]
>> twist (180*deg/boxZ)
>> rotate {angle: 90*deg, axis: Y_axis}
>> bend {angle: 360*deg}
>> lipschitz 2
But its language is limited, for instance no I/O, and the generated STL had some issues. Prior to Curv I've played with OpenSCAD, but its language was really poor, IMHO. So I've continued my search for a parametric 3D modeling system a programmer might enjoy and found CadQuery. Python isn't my favorite language but it won't be a limitation, as it's capable of doing most anything.
Anyway, creating a mobius strip isn't my goal, my near term goal is to use my 3D printer to create a flying wing R/C model. Being able to twist and bend the wing isn't a must have, but would be nice.
I see there is a
twistExtrude but didn't see a bend operation, did I miss it or are there other ways to bend a 3D object in CadQuery?
-- Wink