Use my experimental bend()

master
Vitaliy Filippov 2014-06-25 14:39:20 +00:00
parent b797f8cbb8
commit bd49a5e4f8
1 changed files with 5 additions and 5 deletions

View File

@ -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])