How to create a pocket cut?

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!
micksulley
Posts: 78
Joined: Fri May 11, 2018 9:28 am

How to create a pocket cut?

Post by micksulley »

OS: Linux Mint 19 Tara
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14448 (Git) AppImage
Build type: None
Branch: master
Hash: 561be08211c21bcae5b8e3c6f2dbc7b09306da21
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

I have created a drawing with a pocket for a number 2, attached. I am trying to create a job to just cut that pocket and cannot get it to work. I have tried various things, If I select the pocket and create a path pocket operation it cuts the overall outline, For the operation in the file I have selected all of the individual faces in the pocket, but it does nothing. How do I do this?
Mick
Attachments
FenceCut2v3.fcstd
(75.57 KiB) Downloaded 32 times
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: How to create a pocket cut?

Post by chrisb »

It works if I add an additional Pad at the bottom, where I can selecct the face. So I guess that there is somewhere a super tiny face in between that is missing.
Attachments
FenceCut2v3_cb.fcstd
(131.91 KiB) Downloaded 29 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: How to create a pocket cut?

Post by mlampert »

Doing a Pocket is currently only possible with a bottom face, as chrisb already pointed out. You can however do a Profile op by selecting an Edge of the "2" and the invoke the "Loop Selection" tool (
Capture.PNG
Capture.PNG (2.15 KiB) Viewed 1468 times
) and then create a "Profile Edges" Operation.
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: How to create a pocket cut?

Post by dubstar-04 »

micksulley wrote: Mon Aug 27, 2018 4:00 pm OS: Linux Mint 19 Tara
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14448 (Git) AppImage
Build type: None
Branch: master
Hash: 561be08211c21bcae5b8e3c6f2dbc7b09306da21
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

I have created a drawing with a pocket for a number 2, attached. I am trying to create a job to just cut that pocket and cannot get it to work. I have tried various things, If I select the pocket and create a path pocket operation it cuts the overall outline, For the operation in the file I have selected all of the individual faces in the pocket, but it does nothing. How do I do this?
Mick
Hi Mick,

The new adaptive tool will work for that!!

Its currently in development but it would be perfect for clearing the shape prior to profiling.
Screenshot from 2018-08-27 20-44-55.png
Screenshot from 2018-08-27 20-44-55.png (124.2 KiB) Viewed 1459 times
The forum won't let me upload the FreeCAD file because its too large. You can download it from here:

https://danielwood.me/nextcloud/s/Zz3JScf5yKjpWEE
micksulley
Posts: 78
Joined: Fri May 11, 2018 9:28 am

Re: How to create a pocket cut?

Post by micksulley »

Thanks to you all for your replies, Profile Op currently looks favourite.

Dubstar, I just downloaded and tried your Adaptive tool file, ran the simulation but it fairly quickly used all 16GB of memory and then all 18GB of swap and locked up my machine. Is it expected to be that memory hungry?
Mick
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: How to create a pocket cut?

Post by dubstar-04 »

micksulley wrote: Mon Aug 27, 2018 9:27 pm Thanks to you all for your replies, Profile Op currently looks favourite.

Dubstar, I just downloaded and tried your Adaptive tool file, ran the simulation but it fairly quickly used all 16GB of memory and then all 18GB of swap and locked up my machine. Is it expected to be that memory hungry?
Mick
I haven't had any luck with the built in simulation, locks my machine up everytime. I use https://camotics.org for simulation. It generates stock and allows you to walk through the gcode slowly or just jump to the end.

Thanks,

Dan
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: How to create a pocket cut?

Post by chrisb »

dubstar-04 wrote: Tue Aug 28, 2018 4:54 am It generates stock and allows you to walk through the gcode slowly or just jump to the end.
I like the "Inspect GCode" tool very much. It shows the GCode and when you mark a line it shows the correspoding line in orange. I like this close connection to the gcode.
I widen the window (I would appreciate it verrryy much if it would keep its size) and start selecting with Shift+LineDown to select step by step the GCode lines watching the path becoming orange. That's very close to the simulation.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
micksulley
Posts: 78
Joined: Fri May 11, 2018 9:28 am

Re: How to create a pocket cut?

Post by micksulley »

Inspect G-Code does not work for me. This is what I get

Any idea what could cause that?
Attachments
Screenshot from 2018-08-28 10-20-04.png
Screenshot from 2018-08-28 10-20-04.png (262 KiB) Viewed 1397 times
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: How to create a pocket cut?

Post by chrisb »

The yellow points are probably feed rates. :lol:

I have no problem here. I guess it is a font problem. Do you have any messages in report view or in the terminal? Can you copy the contents into an editor and see there the text?

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14482 (Git)
Build type: None
Branch: master
Hash: 6f06345634e25839b535a4534face9d9c1196201
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
Bildschirmfoto 2018-08-28 um 13.27.07.png
Bildschirmfoto 2018-08-28 um 13.27.07.png (144.87 KiB) Viewed 1372 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
micksulley
Posts: 78
Joined: Fri May 11, 2018 9:28 am

Re: How to create a pocket cut?

Post by micksulley »

If I copy paste to an editor it displays g-code as expected. I have just installed 0.17 from the repository to see if it was an AppImage problem but it's just the same in 0.17. I tried running both from a terminal, no errors reported. I tried Report View and that displays little coloured squares just like Inspect G-Code.

I agree it looks like a font problem or missing library but I have no idea where to start to diagnose.

I had noticed it before, but didn't think it was a useful feature until you explained how useful it can be, now I would really like to try it :)
Post Reply