Add scoop functionality to EcoBin classes#133
Conversation
greg19
left a comment
There was a problem hiding this comment.
Nice, cool to have it, thanks for contributing 🙂
|
Sorry, FreeCAD uses 3.11, I can go with the new notation. |
|
Thanks for the feedback, it's indeed better now. |
|
Hello @Stu142, a kind ping for this PR. |
|
@graelo thanks for the contribution I'll have time to take a look at it this weekend, I've been unable to find time over the summer but things are cooling down now and I have some catching up to do. |
|
@graelo can you resolve the conflicts? |
|
Hi, sure I’ll do this within a day. |
1bc9a7f to
eadd3ec
Compare
|
Hi @greg19, I rebased on the latest master and fixed the conflicts. Cheers |
|
I'll rebase soon. |
eadd3ec to
5a49ed3
Compare
|
Note: when running |
5a49ed3 to
0219819
Compare
|
@graelo I have the same problems with the ruff check in the import block as well always have since this was implemented by a contributor and was unable to find a fix. I just had to leave it as is and manually make fixes. |
0219819 to
3dec7df
Compare
|
Hi @Stu142, thanks! I was anyway rebasing following the previous PR merge. Here's the updated version. Ruff and Mypy checks passed locally. We'll see how it goes! |
3dec7df to
e81acb5
Compare
|
I found that I had been having issues with Ruff import sorting locally due to the fact that macOS filesystem is case insensitive. On macOS (case-insensitive filesystem), ruff classifies FreeCAD as first-party because it matches the project's The fix adds I squashed the commits. Now I need to test this still works. I'll report soon here. |
Add [tool.ruff.lint.isort] known-third-party config so FreeCAD, FreeCADGui, and Part are classified consistently on macOS and Linux. Revert import reordering to alphabetical within a single block. Remove float() wrappers from usable_height in make_scoop() which stripped FreeCAD Quantity units, causing "Unit mismatch in plus operation" at runtime. Use targeted type: ignore[arg-type] comments for the freecad-stubs false positives instead.
e81acb5 to
5c883b9
Compare
|
Hi, I simply rebased on the latest master. Thanks in advance! |
|
Sorry for the extended delay to merge it seems to work great.
Interesting I am on windows but I think others were linux so there may be something similar going on I'll have to look into it. |
|
Thanks! |



Hi, many thanks for this Addon, I love it. I was just missing the scoop for EcoBins.
This PR extends scoop support to both
EcoBinandCustomEcoBinclasses, bringing feature parity with standard storage bins.Changes
inside_wall_negativeBoth classes now expose
Scoop(boolean) andScoopRadius(length) properties in the UI. Default scoop value set to False for backward compatibilityImplementation
The implementation reuses the existing
make_scoop()function and follows established patterns used by other features like label shelves. ForCustomEcoBin, the scoop is properly cut by the inside wall negative to handle custom shapes correctly.Testing
This addresses the feature gap where scoops were available in standard bins but missing from eco bins.
Here's an EcoBin with a scoop (radius: 12mm)
The underside is unaffected:

It also works for 1x1 EcoBins

and custom EcoBins
