update variables

This commit is contained in:
zhao
2023-08-18 00:29:41 -04:00
parent 717d323264
commit e7ba539e90
16 changed files with 101 additions and 109 deletions

View File

@ -7,11 +7,7 @@ include <./mainRailYBarConnectors.scad>
include <./sideModuleYBarConnectors.scad>
include <./stackYBarConnectors.scad>
include <./basePlateYBarConnectors.scad>
mirror(v=[1,0,0])
*connectorDebug(on="xBar", to="yBar", trans=identity);
*connectorDebug(on="yBar", to="xBar", trans=identity);
include <./transformations.scad>
// Default is to apply the positive first
module applyConnector(on, to, trans) {
@ -27,7 +23,6 @@ module applyConnector(on, to, trans) {
}
}
module connectorDebug(on, to, trans) {
color([0,1,0])
@ -37,10 +32,8 @@ module connectorDebug(on, to, trans) {
color([1,0,0])
multmatrix(trans)
connectorNegative(on=on, to=to);
}
module applyConnectorDebug(on,to,trans) {
echo("on: ", on, "-- to:", to);
@ -83,5 +76,4 @@ module connectorNegative(on, to) {
} else if (on == "mainRail" && to == "yBar") {
onMainRailYBarConnectorNegative();
}
}