diff --git a/wakeboard/wakeboard.scad b/wakeboard/wakeboard.scad index 4790542..645460e 100644 --- a/wakeboard/wakeboard.scad +++ b/wakeboard/wakeboard.scad @@ -46,10 +46,9 @@ module boot() module board() { - $fn=100; -// cylindric_bend is bad :-( so I export plain wakeboard and bend it in Blender... -// rotate([-asin(90/500), 0, 0]) cylindric_bend(dimensions=[60, 180, 5], radius=500, nsteps=10) - { + $fn=500; + // bend() is an experimental cylindric bend feature from my OpenSCAD fork -- github:vitalif/openscad + bend(center=[30, 90, 500], fixed=[30, 90, 0], cyl=[60, 90, 0]) { translate([30, 90]) linear_extrude(height=5) { intersection() { @@ -70,7 +69,8 @@ module board() rotate([0, 45, 0]) union() { - import("wake_bent.stl"); + //import("wake_bent.stl"); // Import wakeboard bent in Blender + board(); // Use bend feature from github:vitalif/openscad translate([30, 90-500*sin(asin(90/500)*0.45), 1.4]) rotate([0, asin(90/500)*0.45, 100]) translate([0, 0, 5]) scale(0.7) boot(); translate([30, 90+500*sin(asin(90/500)*0.45), 1.4])