-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to give thickness to a bezier patch? #1453
Comments
Try the above. I'm not sure what to call it. Any suggestions? |
Thanks! I had to do some debugging and repair of my patch, then it worked perfectly. The bezier documentation is very good, too, helped me to debug the issue on my own. |
My concern about using "extrude" or "sweep" in the name is that this function can only make "thin" or "short" extrusions. If you set the thickness to a large value and there is any negative curvature, the result will be invalid. |
I'm modeling a sail, using bezier code in BOSL2. I can create the shape I want with zero thickness, but I haven't found a way to give the shape the required thickness.
`include <BOSL2/std.scad>
include <BOSL2/beziers.scad>
sail_width = 80;
sail_length = 0.7*sail_width;
center_z = 20;
edge_z = 8;
`
The following code is my inelegant attempt and barely satisfactory (because I'm not getting a uniform thickness), so I'm asking for help. Thanks!
vnf = bezier_vnf([ patch, up(1, patch), ]); difference() { hull() vnf_polyhedron(vnf); translate([0, 0, -0.75]) scale([1.01, 1.01, 1.00]) hull() vnf_polyhedron(vnf); }
The text was updated successfully, but these errors were encountered: