This commit is contained in:
zhao
2023-08-08 20:48:08 -04:00
parent 28ec3b9ae8
commit 4729925e4b
5 changed files with 18 additions and 16 deletions

View File

@ -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:

View File

@ -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

View File

@ -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);
}
}
}

View File

@ -1,3 +1,5 @@
use <../patchPanel.scad>
mirror(v=[0,0,1])
patchPanel(slots=8);

Binary file not shown.