clean up
This commit is contained in:
@ -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:
|
||||
|
||||
7
TODO.md
7
TODO.md
@ -3,14 +3,13 @@
|
||||
### 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
|
||||
- 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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
use <../patchPanel.scad>
|
||||
|
||||
|
||||
mirror(v=[0,0,1])
|
||||
patchPanel(slots=8);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user