Fin and box rendering

This commit is contained in:
Sébastien Dante Ursini 2025-01-11 19:33:55 -03:00
parent 5ad9149ba8
commit 1ea3fb4e18
2 changed files with 49 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# Surf Fins
A project to create mold and makes surf fins in Fiber glass
## Box
The box is designed using library [Fin Base](https://github.com/hrobeers/finbases)

View File

@ -3,6 +3,7 @@ include <BOSL2/std.scad>;
include <BOSL2/beziers.scad>;
include <BOSL2/rounding.scad>;
include <BOSL2/skin.scad>;
include <./lib/chinook.scad>
/************************************************/
@ -22,7 +23,8 @@ fin_sweep = 25; // Sweep Angle [Point 1]
fin_counter_angle = 30; // counter angle [Point 2]
fin_counter_strength = 20; // Length [Point 2]
fin_base = 200; // Width at the base in mm
// Length at the base in mm
fin_base = 200;
fin_width_tip = 5; // Width at the tip in mm
@ -44,6 +46,38 @@ base_tickness=9.2;
base_extra_thickness=80;
/* [US Box] */
// Dimensions in mm
//length = 180;
length=fin_base;
height = 25;
thick = 9.2;
mirror_vec = [1,1,0];
//screw_pos = 0.0096*1000;
screw_pos = 9.6;
//screw_dia = 0.0045*1000;
screw_dia = 4.5;
//tab_height = 0.013*1000;
tab_height = 13;
tab_length = screw_pos * 2;
tab_round = tab_height;
// real pin: d=0.0048 -> drill to fit
//pin_dia = 0.003*1000;
pin_dia = 3;
//pin_depth = 0.0164*1000;
pin_depth = 16.4;
//pin_back = 0.009*1000;
pin_back = 9;
// Thickness to cut for easier sliding (0 for no cut)
//thick_cut = 0.001*1000;
thick_cut = 1;
/* [Debugging] */
@ -54,6 +88,7 @@ show_debug_layers = false;
draw_profile = false;
draw_fin = true;
draw_box = true;
$fn=32;
@ -131,6 +166,13 @@ layers= [layer_0,layer_1,layer_2];
echo ("Layers count ",len(layers));
// ****************
// * Box Drawing *
// ****************
if (draw_box) {
xflip() finfit(length, mirror_vec);
}
// ****************
// * Fin Drawing *