simplify config structure, also small doc changes

This commit is contained in:
zhao
2023-08-20 09:44:29 -04:00
parent 70cd4b8eda
commit f9f9f48855
57 changed files with 21 additions and 21 deletions

View File

@ -52,8 +52,8 @@ Please see [the assembly guide](./assembly-guide).
#### Notes: #### Notes:
- Before printing the actual parts. It's recommended to print this evaluation part: [eval_P.scad](./rack/print/eval_P.scad) to test tolerances. If you find the fits too tight/loose, you can adjust them [here](./config/slack.scad). - Before printing the actual parts. It's recommended to print this evaluation part: [eval_P.scad](./rack/print/eval_P.scad) to test tolerances.
- Please also adjust [this file](./config/slicer.scad) to match your slicer settings. If you find the fits too tight/loose, you can adjust them [here](./config/print.scad). Please make sure also adjust the layer height in that file, too.
- Omitted actual plastic for printing. Any conventional 3d printing plastic should do (PLA, PETG, ABS), - Omitted actual plastic for printing. Any conventional 3d printing plastic should do (PLA, PETG, ABS),
but beware of PLA's thermal limits. Higher infill is recommended for all parts. but beware of PLA's thermal limits. Higher infill is recommended for all parts.
- For joining two racks, you will need to print 4 [rackJoiners](./rack/print/rackJoiner_P.scad), as well as 8 M3 hex nuts, and 8 M3x12 FHCS. - For joining two racks, you will need to print 4 [rackJoiners](./rack/print/rackJoiner_P.scad), as well as 8 M3 hex nuts, and 8 M3x12 FHCS.

View File

@ -1,7 +1,5 @@
// Config aggregator // Config aggregator file
include <./dowel.scad> include <./dowel.scad>
include <./magnet.scad> include <./magnet.scad>
include <./slack.scad>
include <./slicer.scad>
include <./rackFrame.scad> include <./rackFrame.scad>
include <./print.scad>

View File

@ -1,4 +1,4 @@
include <./slack.scad> include <./print.scad>
// Dimensions for small cylindrical neodymium magnets that I bought off Amazon // Dimensions for small cylindrical neodymium magnets that I bought off Amazon
magnetR = 3; magnetR = 3;

View File

@ -1,4 +1,6 @@
/* // Print settings config file
/**********************************************************************************************************************
Slack config to standardize different usages of slack/tolerance values. Slack config to standardize different usages of slack/tolerance values.
The purpose of this config is to introduce some consistency with how slack values defined in code. E.g. Why is the The purpose of this config is to introduce some consistency with how slack values defined in code. E.g. Why is the
@ -12,16 +14,20 @@
- Values are signed. Positive values can be interpreted as how much to remove from the socket along some dimension. - Values are signed. Positive values can be interpreted as how much to remove from the socket along some dimension.
- These values depend on print orientation and it's assumed parts are printed in their recommended orientations. - These values depend on print orientation and it's assumed parts are printed in their recommended orientations.
*/ */
xySlack = 0.3;
xySlack = 0.35;
radiusXYSlack = xySlack/2; radiusXYSlack = xySlack/2;
zSlack = 0.0; zSlack = 0.0;
overhangSlack = 0.7; overhangSlack = 0.5;
supportedOverhangSlack = 0.7; supportedOverhangSlack = 0.5;
// special slack cases, change if neccessary // special slack cases, change if neccessary
xBarYBarDovetailSlack = xySlack; xBarYBarDovetailSlack = xySlack;
/**********************************************************************************************************************
Printer/slicer config, mainly used for calculating some special overhangs.
*/
defaultLayerHeight = 0.3;

View File

@ -1,5 +0,0 @@
/*
Printer/slicer config
*/
defaultLayerHeight = 0.3;

View File

@ -1,5 +1,5 @@
include <../config/slack.scad> include <../config/common.scad>
// rj45 slot-to-slot keystone jack model and negative // rj45 slot-to-slot keystone jack model and negative
keystoneMainBodyWidth = 15.0; keystoneMainBodyWidth = 15.0;

View File

@ -11,6 +11,7 @@ pcbRise = 3;
caseWallThickness = 2; caseWallThickness = 2;
caseBottomThickness = 2; caseBottomThickness = 2;
mountPointDiameter = 5; mountPointDiameter = 5;
// TODO use actual reference doc for this
mountPoints = [[3.65,23.30,0], [3.65,pcbDimensions[1]-3.65,0], [pcbDimensions[0]-3.65,23.30,0], [pcbDimensions[0]-3.65,pcbDimensions[1]-3.65,0]]; mountPoints = [[3.65,23.30,0], [3.65,pcbDimensions[1]-3.65,0], [pcbDimensions[0]-3.65,23.30,0], [pcbDimensions[0]-3.65,pcbDimensions[1]-3.65,0]];
module pcb() { module pcb() {

View File

@ -3,7 +3,7 @@ use <../xBar.scad>
use <../yBar.scad> use <../yBar.scad>
use <../mainRail.scad> use <../mainRail.scad>
// Evaluation print for slack config, please see rackstack/config/slack.scad to configure tolerances // Evaluation print for slack config, please see rackstack/config/print.scad to configure tolerances
// Too tight -> increase slacks values. Too loose -> decrease values // Too tight -> increase slacks values. Too loose -> decrease values
intersection() { intersection() {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.