-
Notifications
You must be signed in to change notification settings - Fork 66
adding a new honeycomb tray based on angle-bracket #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
xipher1
wants to merge
7
commits into
jazwa:main
Choose a base branch
from
xipher1:honeycomb-tray
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
cf679ff
adding a new honeycomb tray based on angle-bracket
xipher1 3967911
fixing pathing after moving to catalog dir
xipher1 7f04402
fixing readme for no animation and adding static image
xipher1 059b4a1
fixing pathing after moving to catalog dir
xipher1 2f4fba3
renaming to fit module naming convention, updating readme
xipher1 b7c818d
updating README to reference the angle bracket
xipher1 ac9213d
removing x overlap for fit
xipher1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,16 @@ | ||
|
|
||
| # Angle Bracket System | ||
|
|
||
|
|
||
|  | ||
|
|
||
| Please see [honeycomb.scad](./honeycomb.scad) for config and building. Make sure the correct rack profile is configured in [rackFrame.scad](../../config/rackFrame.scad). | ||
|
|
||
| This uses the [angle brackets](./entry.scad) for the sides, but creates a full honeycomb tray spanning boxWidth and boxDepth for more stability, ventilation and less print material. | ||
|
|
||
| ### BOM: | ||
|
|
||
| | Item | Name | Quantity | Comment | | ||
| |---------------------------------------------------------------|---------------------------|----------|----------------------------------------------------------------------------------------------------------------------------------| | ||
| | <img src="../../media/bom/fhcs_medium.gif" height="60" width="72"> | M3x12 FHCS | 8 | Extras are useful and inexpensive. If you plan on eventually stacking multiple racks together, don't hesitate to get a lot more. | | ||
| | <img src="../../media/bom/hex_nut.gif" height="60" width="72"> | M3 hex nut | 8 | ☝️ | | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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,24 @@ | ||
| use <./entry.scad> | ||
|
|
||
| $vpt = [120,-30,63]; | ||
| $vpr = [74,0,25]; | ||
| $vpd = 550; | ||
| $vpf = 22.50; | ||
|
|
||
| animateAngleBrackets(at=$t); | ||
|
|
||
|
|
||
| module animateAngleBrackets(at=$t) { | ||
xipher1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| x = 150; | ||
| y = 70; | ||
| dx = abs(lerp(a=-20, b=20, t=at)); | ||
| dy = abs(lerp(a=-50, b=50, t=at)); | ||
|
|
||
| u = abs(at - 0.5) > 0.25 ? 3 : 4; | ||
|
|
||
| angleBrackets(visualize=true, boxWidth=x+dx, boxDepth=y+dy, u=u); | ||
|
|
||
| } | ||
|
|
||
|
|
||
This file contains hidden or 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,36 @@ | ||
| include <../common.scad> | ||
|
|
||
| use <../enclosed-box/sideRail.scad> | ||
|
|
||
|
|
||
| /* | ||
| Simple angle bracket mounting system. Mainly derived the enclosed box system. | ||
| */ | ||
| module angleBrackets ( | ||
xipher1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| // begin config //////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| // Does not affect any part dimensions. Set this to true to visualize how a box would be mounted. | ||
| visualize = false, | ||
|
|
||
|
|
||
| thickness = 1, | ||
| boxWidth = 203, | ||
| boxDepth = 145, | ||
| sideVent = true, | ||
| u = 3 | ||
|
|
||
| // end config ////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| ) { | ||
|
|
||
| sideSupportRailBase(top=false, defaultThickness=thickness, railSideThickness=thickness, supportedZ=10*u-2*thickness, supportedY=boxDepth, supportedX=boxWidth, sideVent=sideVent); | ||
|
|
||
| rightRailTrans = visualize | ||
| ? translate(v=[boxWidth,0,0]) * mirror(v=[1,0,0]) | ||
| : translate(v=[30,0,0]) * mirror(v=[1,0,0]); | ||
|
|
||
| multmatrix(rightRailTrans) | ||
| sideSupportRailBase(top=false, defaultThickness=thickness, railSideThickness=thickness, supportedZ=10*u-2*thickness, supportedY=boxDepth, supportedX=boxWidth, sideVent=sideVent); | ||
| } | ||
|
|
||
|
|
||
| angleBrackets(); | ||
This file contains hidden or 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,108 @@ | ||
|
|
||
| // ===== Combined Assembly (Fixed): Entry Brackets + Honeycomb Tray ===== | ||
| // - Uses your exact bracket geometry from entry.scad | ||
| // - Places right bracket using visualize=true so spacing = boxWidth | ||
| // - Honeycomb subtraction fixed: keeps walls, removes hex cores | ||
| // | ||
| // Keep your project structure so `use <entry.scad>` resolves correctly. | ||
| use <entry.scad>; | ||
xipher1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| // ---------------- User Parameters ---------------- | ||
| boxWidth = 203; | ||
| boxDepth = 145; | ||
| base_thickness = 3.0; // tray plate thickness | ||
| wall_thickness = 1.0; // forwarded to entry.scad's thickness | ||
| u = 4; | ||
| sideVent = true; | ||
|
|
||
| // Honeycomb | ||
| hex_side = 6.0; | ||
| cell_wall = 1.5; | ||
| rim_width = 3.0; | ||
|
|
||
| // Vertical and bonding tweaks | ||
| baseZ = -1.0; // Z of tray (align with rail bottoms, -1.0 puts it on print bed) | ||
| bondOverlapX = 3.0; // extend tray under rails in X (each side) | ||
| bondOverlapY = 0.0; // extend slightly front/back in Y if desired | ||
|
|
||
| // ---------------- Honeycomb Helpers ---------------- | ||
| module __hex2d(side) { | ||
| polygon(points=[ for (i=[0:5]) [ side*cos(60*i), side*sin(60*i) ] ]); | ||
| } | ||
|
|
||
| module __honeycomb_plate(width, depth, plate_h, side, wall, rim) { | ||
| // Full plate, then subtract ONLY the inner hex cores inside the rim area. | ||
| difference() { | ||
| cube([width, depth, plate_h], center=false); | ||
|
|
||
| // Subtract hex cores | ||
| x_step = 1.5 * side; | ||
| y_step = sqrt(3) * side; | ||
| w = width - 2*rim; | ||
| d = depth - 2*rim; | ||
|
|
||
| translate([rim, rim, 0]) | ||
| union() { | ||
| for (ix = [0 : ceil(w / x_step) + 1]) { | ||
| x = side + ix * x_step; | ||
| y_off = (ix % 2) * (y_step/2); | ||
| for (iy = [0 : ceil(d / y_step) + 1]) { | ||
| y = y_off + iy * y_step; | ||
| if (x >= 0 && x <= w && y >= 0 && y <= d) { | ||
| // subtract inner hex only -> leaves walls | ||
| translate([x, y, 0]) | ||
| linear_extrude(height=plate_h + 0.05) | ||
| __hex2d(max(0.01, side - wall)); | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| // ---------------- Bridge to your entry.scad ---------------- | ||
| module __entry_brackets( | ||
| wall_t = wall_thickness, | ||
| width = boxWidth, | ||
| depth = boxDepth, | ||
| unit = u, | ||
| vent = sideVent | ||
| ) { | ||
| // visualize=true so right rail is placed at x=boxWidth | ||
| angleBrackets( | ||
| visualize = true, | ||
| thickness = wall_t, | ||
| boxWidth = width, | ||
| boxDepth = depth, | ||
| u = unit, | ||
| sideVent = vent | ||
| ); | ||
| } | ||
|
|
||
| // ---------------- Final Assembly ---------------- | ||
| module angleBrackets_with_honeycomb_tray( | ||
| width = boxWidth, | ||
| depth = boxDepth, | ||
| base_h = base_thickness, | ||
| wall_t = wall_thickness, | ||
| unit = u, | ||
| vent = sideVent, | ||
| hex_side_in = hex_side, | ||
| cell_wall_in = cell_wall, | ||
| rim_in = rim_width, | ||
| baseZ_in = baseZ, | ||
| bondOX = bondOverlapX, | ||
| bondOY = bondOverlapY | ||
| ) { | ||
| union() { | ||
| // 1) Brackets from your entry.scad | ||
| __entry_brackets(wall_t=wall_t, width=width, depth=depth, unit=unit, vent=vent); | ||
|
|
||
| // 2) Tray centered between x=[0,width] and y=[0,depth], with small overlap under rails | ||
| translate([-bondOX, -bondOY, baseZ_in]) | ||
| __honeycomb_plate(width + 2*bondOX, depth + 2*bondOY, base_h, hex_side_in, cell_wall_in, rim_in); | ||
| } | ||
| } | ||
|
|
||
| // Preview | ||
| angleBrackets_with_honeycomb_tray(); | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.