Pocket operation does not work correctly

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

Pocket operation does not work correctly

Post by memfis »

Code: Select all

OS: Arch Linux (GNOME/gnome-xorg)
Word size of FreeCAD: 64-bit
Version: 0.21.30305 (Git) AppImage
Build type: Release
Branch: master
Hash: 5ffc2e10b69971e2cdcd798c4deacf44d407fd77
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: Russian/Russia (ru_RU)
Installed mods: 
  * Lithophane


As soon as you select Use Outline = not good at all
Attachments
Снимок экрана от 2022-09-11 00-12-46.jpg
Снимок экрана от 2022-09-11 00-12-46.jpg (174.8 KiB) Viewed 940 times
деталь.FCStd
(89.31 KiB) Downloaded 16 times
Снимок экрана от 2022-09-11 00-11-40.jpg
Снимок экрана от 2022-09-11 00-11-40.jpg (246.6 KiB) Viewed 942 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Pocket operation does not work correctly

Post by GeneFC »

I think it is working as designed. Use outline means the inside will be ignored. Uncheck that box and the pattern looks correct.

Gene
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

Re: Pocket operation does not work correctly

Post by memfis »

? вот те на.
I'm afraid there's a mistake here. Using this option involves machining the entire surface of the slot, not excluding holes and deeper areas. And in this case the option completely destroys the ledge, i.e. the borders of the pocket
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Pocket operation does not work correctly

Post by GeneFC »

I guess I am missing something.

Why use that option if it is not what you want?

Gene
memfis
Posts: 589
Joined: Tue Nov 15, 2016 7:58 pm

Re: Pocket operation does not work correctly

Post by memfis »

are we talking about the same thing? about the Pocket operation in the FC program? if yes, then on the receiver of this part, where the milling should process the selected planes - in the first screenshot in green-marsh color, then the choice of operations is not very wide. Namely, Pocket.

This option is chosen so that the program does not bypass the holes, because bypassing the holes is simply not necessary, requiring time and lines of code, and then additional grinding.

Or I am missing something.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Pocket operation does not work correctly

Post by GeneFC »

I did not create this code, so I am not certain what is intended. However, it seems to work according to the description in the wiki.

Use Outline not checked.JPG
Use Outline not checked.JPG (27.78 KiB) Viewed 765 times
Use Outline checked.JPG
Use Outline checked.JPG (49.55 KiB) Viewed 765 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30305 (Git)
Build type: Release
Branch: master
Hash: 5ffc2e10b69971e2cdcd798c4deacf44d407fd77
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * FeedsAndSpeeds 0.4.0
  * FeedsAndSpeeds-master.zip
  * Help 1.0.3
  * offline-documentation
Gene
Russ4262
Posts: 952
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: Pocket operation does not work correctly

Post by Russ4262 »

Evening.
Per OP, the `Use Outline` feature would benefit from an improvement. It would be beneficial to add the option and/or ability to differentiate holes that are pockets (which can safely be cleared using this feature) from holes that are positive protrusions above the selected face (regions to be avoided by cutter when this option is enabled). I think that the MillFace operation has this type of differentiation available related to avoiding raised areas.

Perhaps a feature request is the solution for such an improvement here.

Thanks for identifying this issue and reporting it.

Have a great week.

Russell
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: Pocket operation does not work correctly

Post by mlampert »

memfis wrote: Sun Sep 11, 2022 4:14 pm Or I am missing something.
No, you are not missing anything - this works exactly as designed and does exactly what it is being asked to do, namely use the outline of the selected shape and create a pocket on that.
Post Reply