-
Notifications
You must be signed in to change notification settings - Fork 199
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
Embedded Magnet Option #207
base: main
Are you sure you want to change the base?
Conversation
There are two parameters that I would consider adding, please advise:
Also, there are some tests I need to fix, and probably a readme fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the in file comments, please add unit tests for this option, and any other hole option it can be combined with.
@@ -253,6 +255,8 @@ module block_base_hole(hole_options, o=0) { | |||
crush_ribs = hole_options[3]; | |||
chamfer = hole_options[4]; | |||
supportless = hole_options[5]; | |||
embedded = hole_options[6]; | |||
embedded_extra_layers = 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please move this to the Magnet/Screw constants section of "standard.scad". That file is where all constant / magic values live.
translate([-magnet_radius,-magnet_radius * 0.15,0]) | ||
cube([2*magnet_radius, magnet_radius * 0.3, embedded_depth]); | ||
cylinder(h = embedded_depth, r=magnet_radius); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given this is inside a difference()
, have you confirmed if this works correctly with other options? If it is not supposed to be used with anything else, then you will need to add checks similar to those which currently exist for refined_hole.
I added the embedded Magnet option. To use it, pause the printer like the Swedish Maker says. On a Bambu it's layer 12 right now. https://www.youtube.com/watch?v=p2bClWmKHRM&t=955s
The printer then prints around the part, and no glue is needed.