diff --git a/README.md b/README.md index c4353c0..2a5c1b2 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ but beware of PLA's thermal limits. Higher infill is recommended for all parts. A python script: `rbuild.py` is provided to generate different project stls. Requirements: - - `openscad` cli command (Only runs on Linux) + - `openscad` cli (Currently only supported on Linux/Mac) - `python3` ### Examples: diff --git a/TODO.md b/TODO.md index c0d25e5..350e6a6 100644 --- a/TODO.md +++ b/TODO.md @@ -2,15 +2,14 @@ ### Actual TODO -- Finish refactoring files to use the application style, like in `yBar.scad` -- Implement better build script using python !!! -- Start working on actual cases +- Finish refactoring files to use the application style, like in `yBar.scad` - Figure out why sidewall build is so slow -- Tidy up imports - Standardize meaning of `U` +- Standardize negative naming convention +- Clean up `sharedVariables.scad`!!! +- Implement instruction generation with rbuild. ### Ideas -- Clean up `sharedVariables.scad`!!! - Start using matrices for transformations. Enforce strict local/global hierarchy of matrix transformations. - Instead of using names like 'mainRailSlotToInnerYZFace', experiment with a central distance/dimension directory. Like: ```openscad diff --git a/helper/screws.scad b/helper/screws.scad index 6322050..abceccc 100644 --- a/helper/screws.scad +++ b/helper/screws.scad @@ -1,5 +1,6 @@ /* Some common screw dimensions and helper functions/modules */ +include <../helper/common.scad> include <./math.scad> /********************************************************************************/ @@ -175,22 +176,22 @@ module hexNutPocketHelper_N(innerRadius, widthAcrossCorners, thickness, openSide if (bridgeFront) { union() { // first bridge layer - translate(v=[0,0,thickness/2 + 0.2/2]) - cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, 0.2], center=true); - - translate(v=[0,0,thickness/2+ 0.3]) - cube(size=[2*innerRadius, 2*innerRadius, 0.2], center=true); + translate(v=[0,0,thickness/2 + defaultLayerHeight/2]) + cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, defaultLayerHeight], center=true); + // second bridge layer + translate(v=[0,0,thickness/2 + defaultLayerHeight]) + cube(size=[2*innerRadius, 2*innerRadius, defaultLayerHeight], center=true); } } if (bridgeBack) { union() { // first bridge layer - translate(v=[0,0,-(thickness/2 + 0.2/2)]) - cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, 0.2], center=true); - - translate(v=[0,0,-(thickness/2+ 0.3)]) - cube(size=[2*innerRadius, 2*innerRadius, 0.2], center=true); + translate(v=[0,0,-(thickness/2 + defaultLayerHeight/2)]) + cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, defaultLayerHeight], center=true); + // second bridge layer + translate(v=[0,0,-(thickness/2 + defaultLayerHeight)]) + cube(size=[2*innerRadius, 2*innerRadius, defaultLayerHeight], center=true); } } } diff --git a/rack-mount/print/patchPanel_P.scad b/rack-mount/print/patchPanel_P.scad index c62e048..1f6602b 100644 --- a/rack-mount/print/patchPanel_P.scad +++ b/rack-mount/print/patchPanel_P.scad @@ -1,3 +1,5 @@ use <../patchPanel.scad> + +mirror(v=[0,0,1]) patchPanel(slots=8); diff --git a/stl/micro/rack/yBar_P.stl b/stl/micro/rack/yBar_P.stl index a5231d3..b065017 100644 Binary files a/stl/micro/rack/yBar_P.stl and b/stl/micro/rack/yBar_P.stl differ