refactor - introduce config folder, and other misc changes

This commit is contained in:
zhao
2023-06-23 21:52:27 -04:00
parent 752b26bff5
commit 02f0155216
86 changed files with 234 additions and 434 deletions

View File

@ -1,11 +1,10 @@
include <../config.scad>
include <./sideWallVariables.scad>
include <../../helper/common.scad>
include <../../config/common.scad>
include <../sharedVariables.scad>
include <../../helper/halfspace.scad>
include <../../helper/screws.scad>
include <./sideWallVariables.scad>
translate(v=[10,20,-2 - sideWallZHingeTotalClearance])
*hingeModule();
hingeModule();
module hingeModule() {

View File

@ -1,13 +1,10 @@
include <../config.scad>
include <./sideWallVariables.scad>
include <../../helper/common.scad>
include <../../config/common.scad>
include <../sharedVariables.scad>
include <../../helper/halfspace.scad>
include <../../helper/magnet.scad>
include <../../helper/screws.scad>
include <./sideWallVariables.scad>
translate(v=[10,-5,-(2+sideWallZHingeTotalClearance)])
*magnetModule();
magnetModule();
magnetModuleMagnetMountDy = magnetMountToYBarFront - sideWallSlotToXZ;
magnetModuleMagnetMountDz = magnetMountToYBarTop + sideWallConnLugDepression;

View File

@ -1,19 +1,11 @@
include <../../helper/math.scad>
include <../../helper/halfspace.scad>
include <../../helper/magnet.scad>
include <../../helper/slack.scad>
include <../config.scad>
include <../../helper/common.scad>
include <../../config/common.scad>
include <../sharedVariables.scad>
include <./sideWallMagnetMount.scad>
include <./sideWallVariables.scad>
include <../sharedVariables.scad>
include <./magnetModule.scad>
include <./hingeModule.scad>
//echo("Side Wall Height", sideWallZ);
//echo("Side Wall Depth", sideWallY);
//translate(v = [hingePoleDx ,hingePoleDy, 10])
//rotate(a=[0,0,-120])
//translate(v = [-hingePoleDx ,-hingePoleDy, 0])

View File

@ -1,6 +1,6 @@
include <./sideWallBase.scad>
*sideWallLeft();
sideWallLeft();
module sideWallLeft() {

View File

@ -1,9 +1,7 @@
include <../config.scad>
include <./sideWallVariables.scad>
include <../../helper/common.scad>
include <../../config/common.scad>
include <../sharedVariables.scad>
include <../../helper/halfspace.scad>
include <../../helper/magnet.scad>
include <./sideWallVariables.scad>
module sideWallMagnetMount() {
// oriented so that the xy face is the side wall's inner face

View File

@ -1,6 +1,6 @@
include <./sideWallBase.scad>
*sideWallRight();
sideWallRight();
module sideWallRight() {

View File

@ -1,9 +1,6 @@
include <../../helper/common.scad>
include <../../config/common.scad>
include <../config.scad>
include <../sharedVariables.scad>
include <../../helper/magnet.scad>
include <../../helper/slack.scad>
include <../../helper/dowel.scad>
sideWallConnW = 7;
sideWallConnD = 20;