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.
|
A python script: `rbuild.py` is provided to generate different project stls.
|
||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
- `openscad` cli command (Only runs on Linux)
|
- `openscad` cli (Currently only supported on Linux/Mac)
|
||||||
- `python3`
|
- `python3`
|
||||||
|
|
||||||
### Examples:
|
### Examples:
|
||||||
|
|||||||
7
TODO.md
7
TODO.md
@ -3,14 +3,13 @@
|
|||||||
### Actual TODO
|
### Actual TODO
|
||||||
|
|
||||||
- Finish refactoring files to use the application style, like in `yBar.scad`
|
- 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
|
- Figure out why sidewall build is so slow
|
||||||
- Tidy up imports
|
|
||||||
- Standardize meaning of `U`
|
- Standardize meaning of `U`
|
||||||
|
- Standardize negative naming convention
|
||||||
|
- Clean up `sharedVariables.scad`!!!
|
||||||
|
- Implement instruction generation with rbuild.
|
||||||
|
|
||||||
### Ideas
|
### Ideas
|
||||||
- Clean up `sharedVariables.scad`!!!
|
|
||||||
- Start using matrices for transformations. Enforce strict local/global hierarchy of matrix transformations.
|
- 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:
|
- Instead of using names like 'mainRailSlotToInnerYZFace', experiment with a central distance/dimension directory. Like:
|
||||||
```openscad
|
```openscad
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
/* Some common screw dimensions and helper functions/modules */
|
/* Some common screw dimensions and helper functions/modules */
|
||||||
|
|
||||||
|
include <../helper/common.scad>
|
||||||
include <./math.scad>
|
include <./math.scad>
|
||||||
|
|
||||||
/********************************************************************************/
|
/********************************************************************************/
|
||||||
@ -175,22 +176,22 @@ module hexNutPocketHelper_N(innerRadius, widthAcrossCorners, thickness, openSide
|
|||||||
if (bridgeFront) {
|
if (bridgeFront) {
|
||||||
union() {
|
union() {
|
||||||
// first bridge layer
|
// first bridge layer
|
||||||
translate(v=[0,0,thickness/2 + 0.2/2])
|
translate(v=[0,0,thickness/2 + defaultLayerHeight/2])
|
||||||
cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, 0.2], center=true);
|
cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, defaultLayerHeight], center=true);
|
||||||
|
// second bridge layer
|
||||||
translate(v=[0,0,thickness/2+ 0.3])
|
translate(v=[0,0,thickness/2 + defaultLayerHeight])
|
||||||
cube(size=[2*innerRadius, 2*innerRadius, 0.2], center=true);
|
cube(size=[2*innerRadius, 2*innerRadius, defaultLayerHeight], center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bridgeBack) {
|
if (bridgeBack) {
|
||||||
union() {
|
union() {
|
||||||
// first bridge layer
|
// first bridge layer
|
||||||
translate(v=[0,0,-(thickness/2 + 0.2/2)])
|
translate(v=[0,0,-(thickness/2 + defaultLayerHeight/2)])
|
||||||
cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, 0.2], center=true);
|
cube(size=[2*innerRadius, GtoF(widthAcrossCorners)*2, defaultLayerHeight], center=true);
|
||||||
|
// second bridge layer
|
||||||
translate(v=[0,0,-(thickness/2+ 0.3)])
|
translate(v=[0,0,-(thickness/2 + defaultLayerHeight)])
|
||||||
cube(size=[2*innerRadius, 2*innerRadius, 0.2], center=true);
|
cube(size=[2*innerRadius, 2*innerRadius, defaultLayerHeight], center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
use <../patchPanel.scad>
|
use <../patchPanel.scad>
|
||||||
|
|
||||||
|
|
||||||
|
mirror(v=[0,0,1])
|
||||||
patchPanel(slots=8);
|
patchPanel(slots=8);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user