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.
This adds user configurable Settings for bed bolts. It's a bit odd because so far all previous pluggable Settings were for edges (and bed bolts are not really edges, but more like a tool that fingers can use), but it still works well.
To have an example, the closedbox (which already had bedbolts in the source but they were commented out) gains a configurable option to enable them.
There is one more change that'd make sense in my opinion, but it'll prefer to discuss that a bit first: I think that edge.Bolts should grow a second argument "layers", which defaults to 1 and is ignored on the drilling side. The total length is reduced by thickness * layers. This way, we can have the user configurable length parameter the length of the screw (plus tolerance), and depending on the number of sheets (with round holes) this will be screwed through, the length will be reduced accordingly. After all, as a user configuring this, I'll know the length of my screws, and I'll configure the thickness, but I'd use the same screws everywhere, and if there is in some place a constellation of two layers (which may happen in the box I'm doing this for), that should be accounted for by the box script.