include use use use use use use <./bobbin.scad> /* [Options] */ Gap = 47; /* [Design] */ V_IN = 12; Turns_Ratio = 85; /* [Mount Stands] */ Mount_Hole_D = 4.36; Mount_X = 74.38; Mount_Y = 89.24; BOX_WALL = 1.5; /* [Bolt Lengths] */ Bolt_Length = 16; Bolt_Offset = 0; /* [Render Options] */ render_fs=.3; render_fn=0; render_fa=.3; // Set Render Options $fs= ($preview) ? $fs : render_fs; $fn= ($preview) ? $fn : render_fn; $fa= ($preview) ? $fa : render_fa; zclear=2; bolthead=7; module print_specs() { } module terminal(bl=Bolt_Length, bz=Bolt_Offset-Bolt_Length, align=V_BOTTOM, orient=ORIENT_Z) { orient_and_align([5,5,5.56], orig_align=V_BOTTOM, align=align, orient=orient) { thread_insertM3(bl=bl, bz=bz); } } // print_specs(); module terminal_mount(bl=Bolt_Length, bz=Bolt_Offset, be=2) { basez=8; difference() { union() { hull() xspread(n=3, l=Gap+bolthead) { cyl(l=.4+bl+be, d=16,align=V_TOP); } cuboid([(Gap+bolthead+18),18,1],align=V_TOP); } up(bl+7+be) rotate([45,0,0]) fillet_mask_x(l=50,r=16,align=V_center); xspread(n=2, l=Gap+bolthead) { up(basez) cyl(l=bl, d=18,align=V_TOP); terminal(bl=bl, align=V_TOP, orient=ORIENT_ZNEG, $die=true); } terminal(bl=bl, align=V_TOP, orient=ORIENT_ZNEG, $die=true); up(basez)cuboid([18,18,bl],align=V_TOP); } xspread(n=3, l=Gap+bolthead) { %terminal(bl=bl, align=V_TOP, orient=ORIENT_ZNEG); } } terminal_mount();