-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# case-project TODO list | ||
|
||
### Actual TODO | ||
|
||
- Finish refactoring files to use the application style, like in `yBar.scad` | ||
- Implement better build script using python | ||
|
||
### Ideas | ||
|
||
- Instead of using names like 'mainRailSlotToInnerYZFace', experiment with a central distance/dimension directory. Like: | ||
```openscad | ||
// Define identifiers: | ||
mainRailSlot = "mainRailSlotIdentifier"; | ||
yBarInnerYZ = "yBarInnerYZFaceIdentifier"; | ||
// Define distance | ||
setDx(mainRailSlot, yBarInnerYZ, 3); | ||
// Define dimensions | ||
setX(mainRailSlot, 10); | ||
setX(yBarInnerYZ, 0); | ||
// Then, you can get distances like: | ||
dx(mainRailSlot, yBarInnerYZ); // == 3 | ||
dx(yBarInnerYZ, mainRailSlot); // == 3 | ||
dx(mainRailSlot, blah); //throw error | ||
// And you could possible chain distances like: | ||
dx(yBarInnerYZ, mainRailSlot, sideConnectorSlot); | ||
// which would eval to: | ||
// dx(yBarInnerYZ, mainRailSlot) + x(mainRailSlot) + dx(mainRailSlot, sideConnectorSlot); | ||
// OR | ||
dx(yBarInnerYZ, mainRailSlot, sideConnectorSlot, includeFirst=true, includeLast=true); | ||
// which would eval to: | ||
// x(yBarInnerYZ) + dx(yBarInnerYZ, mainRailSlot, sideConnectorSlot) + x(sideConnectorSlot); | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters