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.
Allows scoop to be defined as vector to specify 'back' scoop separately, otherwise it is exactly like usual. Scoop can still be a scalar for 'front' scoop only.
Addressing issues #264 & #251
Light modifications to gridfinity-rebuilt-bins.scad to allow configuring scoopB as well as scoopF (which was previously just 'scoop'. 'scoop' then becomes a vector passed to cutEqual and on down through the various included calls.
in gridfinity-rebuilt-utility.scad:
updated the comments documenting "module cut" to match the pre-existing code
slightly modified code to properly handle the existing 't', 's', 'tab_width' & 'tab_height' parameters to use default if undef is passed. (this can help if using the customizer to optionally provide values)
Also, "module cut" now allows double-scoop definition (set scoop to a vector with two values if you want to specify both front and back scoop weights) 'front' and 'back' scoop can be independently set.
Using a scalar scoop, or vector with one value, provides the previous behavior of setting the front scoop only.
"module profile_cutter" is also modified, accommodating scoop weight being a scalar (like previously) or a vector with one or two values for front and possibly back scoop weights.
It now also constrains the profile_cutter's volume, even if scoop weights exceed the normal range.
The attached animation shows a bin cross-section with 1) normal scoop in increments, 2) back scoop in increments, 3) both scoops together in increments, 4) normal scoop to extreme values, 5) both scoops together to extreme values, and a repeat of the same steps with a bin with tab.