Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Embedded Magnet Option #207

wants to merge 2 commits into from

Conversation

retospect
Copy link

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.

@retospect
Copy link
Author

There are two parameters that I would consider adding, please advise:

  • make the screwdriver slot or not (for magnet recycling)
  • how many layers should be below the magnet? Stronger wall vs stronger field.

Also, there are some tests I need to fix, and probably a readme fix.
Please let me know what you want me to fix in addition.

Copy link
Collaborator

@EmperorArthur EmperorArthur left a 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;
Copy link
Collaborator

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);
}
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants