trigonometry Is Good

This commit is contained in:
Gnieark 2017-12-03 22:03:26 +01:00
parent ebb168f0bf
commit 241ecc227c
9 changed files with 137970 additions and 10593 deletions

45234
SRC/#rails.dxf Normal file

File diff suppressed because it is too large Load Diff

22
SRC/circuit0.scad Normal file
View File

@ -0,0 +1,22 @@
//Make a loop using 16 curved rails
use <cross90.scad>;
//cross90();
use <courbes22.5.scad>;
// curve_right()
use <courbes22.5-reverse.scad>
// curve_left()
use <rails.scad>;
// rail();
for(i = [0 : 1 : 15]){
translate( [250.19*cos(i*22.5),
250.19*(1 + sin(i*22.5)),
0])
rotate([0,0,(i+20)*22.5])
curve_right();
}

View File

@ -1,9 +1,13 @@
module curve_right(){
translate([-100,50,0])
union(){
linear_extrude (height=2)
import (file="rails.dxf", layer="courbes-reverse-traverses", $fn=100);
linear_extrude (height=4.5)
import (file="rails.dxf", layer="courbes-reverse-rails", $fn=100);
}
}
curve_right();

View File

@ -1,5 +1,11 @@
linear_extrude (height=2)
module curve_right(){
translate([-100,-50,0])
union(){
linear_extrude (height=2)
import (file="rails.dxf", layer="courbes-traverses", $fn=100);
linear_extrude (height=4.5)
import (file="rails.dxf", layer="courbes-rails", $fn=100);
}
}
curve_right();

View File

@ -1,9 +1,15 @@
linear_extrude (height=2)
import (file="rails.dxf", layer="cross90-traverses", $fn=100);
translate([0,0,0.001])
linear_extrude (height=4.5)
import (file="rails.dxf", layer="cross90-rails", $fn=100);
module cross90(){
translate([0,-50,0])
union(){
linear_extrude (height=2)
import (file="rails.dxf", layer="cross90-traverses", $fn=100);
translate([0,0,0.001])
linear_extrude (height=4.5)
import (file="rails.dxf", layer="cross90-rails", $fn=100);
}
}
cross90();

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,15 @@
translate( [0,0,0])
module rail(){
translate([0,-50,0])
union(){
translate( [0,0,0])
linear_extrude (height=2)
import (file="rails.dxf", layer="traverses", $fn=100);
translate( [0,0,0.001])
translate( [0,0,0.001])
linear_extrude (height=4.5)
import (file="rails.dxf", layer="rails", $fn=100);
}
}
rail();

80404
STL/circuit0.stl Normal file

File diff suppressed because it is too large Load Diff

BIN
dimmensions2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB