refactor - introduce config folder, and other misc changes
This commit is contained in:
@ -1,47 +1,10 @@
|
||||
// Helper aggregator
|
||||
|
||||
/* Some commonly used variables plus functions
|
||||
*/
|
||||
|
||||
$fn=64;
|
||||
// TODO move these to math
|
||||
eps=0.0001;
|
||||
|
||||
inf10 = 10;
|
||||
inf50 = 50;
|
||||
inf1000 = 1000;
|
||||
inf = inf1000;
|
||||
|
||||
|
||||
module apply_p() {
|
||||
union() {
|
||||
children(0);
|
||||
children(1);
|
||||
}
|
||||
}
|
||||
|
||||
module apply_n() {
|
||||
difference() {
|
||||
children(1);
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
|
||||
module apply_pn() {
|
||||
difference() {
|
||||
union() {
|
||||
children(0);
|
||||
children(2);
|
||||
}
|
||||
children(1);
|
||||
}
|
||||
}
|
||||
|
||||
module apply_np() {
|
||||
difference() {
|
||||
union() {
|
||||
children(1);
|
||||
children(2);
|
||||
}
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
include <./apply.scad>
|
||||
include <./dovetail.scad>
|
||||
include <./filet.scad>
|
||||
include <./keystone.scad>
|
||||
include <./math.scad>
|
||||
include <./matrix.scad>
|
||||
include <./screws.scad>
|
||||
include <./sine.scad>
|
||||
|
||||
Reference in New Issue
Block a user