Reputation: 47
I am new to pythonOcc, I want to thicken a Bezier Curve (or make a pipe) unevenly: for example, the resulting thickened curve at the start point of the curve should be thicker than at the endpoint of the curve. Could you let me know what is the most efficient way to do that? I've tried functions like BRepOffsetAPI_ThruSections, but I don't think there are useful for this purpose.
Upvotes: 0
Views: 235
Reputation: 47
I have solved it, it can easily be done using the module: BRepOffsetAPI_MakePipeShell. Wires can be added as profiles and the "setlaw" method can be used to vary the thickness of the profile.
Upvotes: 0