Ticket #4658 - Pocket clearing struggle
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 6
- Joined: Tue May 11, 2021 6:00 am
Ticket #4658 - Pocket clearing struggle
Bug tracker link: https://tracker.freecadweb.org/view.php?id=4658
Hi.
It's my first post here.
Have been using FreeCAD since I've built a DIY CNC 5 years ago. Modelled a quite complex guitar shape but wasn't able to build path for it and moved to Fusion360. Surprisingly it calculated path even on curved surface with errors. As you may know, Fusion360 guys lately restricted their free version and I decided to give FreeCAD a second try.
But I'm having weird issues with paths in FreeCAD.
Built a simple shape, all closed and constrained. Pocket clearing seems to work fine but with no helix plunge, which is wrong for flat mill bit. Adaptive clearing resulting some weird paths. Here is the file. https://drive.google.com/file/d/1kwrOw5 ... sp=sharing
And here are screenshots My environment:
OS: Ubuntu Core 20 (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Unknown
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)
Hi.
It's my first post here.
Have been using FreeCAD since I've built a DIY CNC 5 years ago. Modelled a quite complex guitar shape but wasn't able to build path for it and moved to Fusion360. Surprisingly it calculated path even on curved surface with errors. As you may know, Fusion360 guys lately restricted their free version and I decided to give FreeCAD a second try.
But I'm having weird issues with paths in FreeCAD.
Built a simple shape, all closed and constrained. Pocket clearing seems to work fine but with no helix plunge, which is wrong for flat mill bit. Adaptive clearing resulting some weird paths. Here is the file. https://drive.google.com/file/d/1kwrOw5 ... sp=sharing
And here are screenshots My environment:
OS: Ubuntu Core 20 (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Unknown
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)
Last edited by Kunda1 on Sun Aug 29, 2021 1:43 pm, edited 2 times in total.
Reason: Added ticket number to thread title
Reason: Added ticket number to thread title
Re: Pocket clearing struggle.
Hi and welcome to the forum!
Works flawless here: Concerning helical plunging of a pocket operation: did you try the ramp dressup?
Works flawless here: Concerning helical plunging of a pocket operation: did you try the ramp dressup?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 6
- Joined: Tue May 11, 2021 6:00 am
Re: Pocket clearing struggle.
Thank you for responce, I'll check the documentation about ramp dressup. I mean this strange part. Your screenshot also have it. Pocket clearing doesn't have it, only adaptive clearing with "use outline" checkbox enabled. Without "use outline" it builds incomplete path.
Re: Pocket clearing struggle.
I can confirm the behaviour. But I cannot check how it should work, because the wiki is currently down.
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.24825 (Git)
Build type: Release
Branch: master
Hash: ccc4151b3020969450325466e385850783795325
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: C/Default (C)
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.24825 (Git)
Build type: Release
Branch: master
Hash: ccc4151b3020969450325466e385850783795325
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Pocket clearing struggle.
I can confirm both behaviors to, at:
OS: openSUSE Tumbleweed (KDE//usr/share/xsessions/plasma5)
Word size of FreeCAD: 64-bit
Version: 0.20.24825 (Git) AppImage
Build type: Release
Branch: master
Hash: ccc4151b3020969450325466e385850783795325
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: German/Germany (de_DE)
Pic 1 is the result if you select the walls of the pocket. If you select only the wall around the not milled area, Adaptive creates no path at all...
Using Pocket OP works here, only not with Pattern Spiral, wich leaves a big island at the middle.
I would use Pocket OP, Patern ZigZagOffset, Op setting Keep Tool down and a Ramp Entry Dressup.
OS: openSUSE Tumbleweed (KDE//usr/share/xsessions/plasma5)
Word size of FreeCAD: 64-bit
Version: 0.20.24825 (Git) AppImage
Build type: Release
Branch: master
Hash: ccc4151b3020969450325466e385850783795325
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: German/Germany (de_DE)
Pic 1 is the result if you select the walls of the pocket. If you select only the wall around the not milled area, Adaptive creates no path at all...
Using Pocket OP works here, only not with Pattern Spiral, wich leaves a big island at the middle.
I would use Pocket OP, Patern ZigZagOffset, Op setting Keep Tool down and a Ramp Entry Dressup.
Gruß Herbert
-
- Posts: 6
- Joined: Tue May 11, 2021 6:00 am
Re: Pocket clearing struggle.
Thank you all. I tried spiral but it's working tooo slow. With 100% overlap and 8 mm step down it freezed for 30 minutes, then generated correct path. Then I changed to real parameters 40% overlap and 2 mm stepdown and it freezed half day with no result...herbk wrote: ↑Tue May 11, 2021 7:52 pm I can confirm both behaviors to, at:
OS: openSUSE Tumbleweed (KDE//usr/share/xsessions/plasma5)
Word size of FreeCAD: 64-bit
Version: 0.20.24825 (Git) AppImage
Build type: Release
Branch: master
Hash: ccc4151b3020969450325466e385850783795325
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: German/Germany (de_DE)
Pic 1 is the result if you select the walls of the pocket. If you select only the wall around the not milled area, Adaptive creates no path at all...
Using Pocket OP works here, only not with Pattern Spiral, wich leaves a big island at the middle.
I would use Pocket OP, Patern ZigZagOffset, Op setting Keep Tool down and a Ramp Entry Dressup.
Finally got desired path with Pocket OP ZigZagOffset pattern and Ramp entry dress-up.
So, adaptive clearing bug (actually 2 bugs) confirmed. Should I create an issue in BT?
I would also refactor spiral (and probably all others) strategy. Shouldn't be lot of work to check if next layer have same outline and just copy previous one, not calculate it from scratch. Unfortunately I'm not a cpp neither Python programmer, just sharing my thoughts.
Re: Pocket clearing struggle.
Yes please.dmitry_sushkov wrote: ↑Wed May 12, 2021 8:26 am So, adaptive clearing bug (actually 2 bugs) confirmed. Should I create an issue in BT?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 6
- Joined: Tue May 11, 2021 6:00 am
Re: Pocket clearing struggle.
Done. MantisBT itself isn't set up properly and unable to handle uploads. Hope link to this topic will be enough.chrisb wrote: ↑Wed May 12, 2021 9:28 amYes please.dmitry_sushkov wrote: ↑Wed May 12, 2021 8:26 am So, adaptive clearing bug (actually 2 bugs) confirmed. Should I create an issue in BT?
APPLICATION ERROR #503
Invalid upload path. Directory either does not exist or not writable to webserver.
Re: Pocket clearing struggle.
I wanted to add the backlink, but the whole tracker seems to be unavailable.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 6
- Joined: Tue May 11, 2021 6:00 am