How to Pocket Cut a Logo

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 Pocket Cut a Logo

Post by micksulley »

OS: Linux Mint 18.3 Sylvia
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13959 (Git) AppImage
Build type: None
Branch: master
Hash: 2f18182b6dff87f8857787c854e39ca4d441f993
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)

I am trying to cut a logo into a flat plate. I have the logo as .svg and .dxf format.
My latest attempt, attached, I have imported the .svg as geometry ( it comes is as 3 parts, I just want to OX bit so deleted the other 2). I then extrude 2mm and reposition so it is on the plate. Looks OK, but if I try to create a pocket cut it creates a cut around the outside of the plate rather than the logo.

Maybe I am going about the the wrong way, can anyone point me in the right direction?

Thanks
Mick
Attachments
OX Logo.dxf
(13.88 KiB) Downloaded 33 times
OX.svg
(11.04 KiB) Downloaded 38 times
OX_test.fcstd
(44.88 KiB) Downloaded 36 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: How to Pocket Cut a Logo

Post by GeneFC »

The Job >> Edit >> Model is pointing to Plate instead of Extrude. Change the model to Extrude and then perform a "Profile based on Face or Faces instead of Pocket.

Extrude.jpg
Extrude.jpg (41.41 KiB) Viewed 1785 times
If this is not what you want please explain in more detail.

Gene
micksulley
Posts: 78
Joined: Fri May 11, 2018 9:28 am

Re: How to Pocket Cut a Logo

Post by micksulley »

Thanks for the reply. What I am trying to do is to cut the logo so that it is recessed below the level of the plate.

In Job > Data > Properties the Base is set to Base-Plate, I have changed that to Extrude, I assume that is what you meant by Model. Is that correct?
I have then selected "Profile based on face or faces" and it creates a path around outside of the plate, not the logo.

I must be doing something wrong but I cannot see what.

I have attached my file as it is now.

Mick
Attachments
OX_test2.fcstd
(46.94 KiB) Downloaded 36 times
chrisb
Veteran
Posts: 53786
Joined: Tue Mar 17, 2015 9:14 am

Re: How to Pocket Cut a Logo

Post by chrisb »

You have to make a boolean cut and subtract the Extrude from Plate.
However, I did so and made a Pocket_Shape but didn't succed in generating a path yet.
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 Pocket Cut a Logo

Post by mlampert »

micksulley wrote: Fri Jun 15, 2018 4:09 pm I have then selected "Profile based on face or faces" and it creates a path around outside of the plate, not the logo.
You actually have to select a face and add it to the base geometry of the op. Please have a look at: https://www.freecadweb.org/wiki/Path_ProfileFace
Last edited by mlampert on Fri Jun 15, 2018 6:17 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53786
Joined: Tue Mar 17, 2015 9:14 am

Re: How to Pocket Cut a Logo

Post by chrisb »

The profile works, but the pocket_shape does nothing.
Attachments
OX_test2.fcstd
(46.94 KiB) Downloaded 33 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: How to Pocket Cut a Logo

Post by GeneFC »

You file is rather messy. A combination of far too many exotic operations and multiple workbenches.

Start with the Part Design workbench.
Create a base plate.
Convert your text outline to a sketch in the Draft workbench.
Attach the sketch to the top of the plate. (Or use datum planes, etc. if you want to be fancy.).
Pocket the sketch into the plate.
Switch to Path workbench and setup the Job, using the default Body as the model.
Select the pocketed lettering and use the Pocket operation in Path.

Lettering.jpg
Lettering.jpg (58.23 KiB) Viewed 1761 times
Gene
chrisb
Veteran
Posts: 53786
Joined: Tue Mar 17, 2015 9:14 am

Re: How to Pocket Cut a Logo

Post by chrisb »

Usually I'm a PartDesign-guy too, but here I think it is not too complicated to have a box, an extrude and a boolean cut. Finally it is a valid solid and I wonder why the pocket doesn't work.
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 Pocket Cut a Logo

Post by micksulley »

Gene it is very reassuring to see from your picture that it is possible! Yes I have probably used too many workbenches just trying to get it to work. I have just started again, tried to follow your notes and it looks good right to the end, then it will not simulate. Here is what I did -

Part Design
Create Body
Create sketch on XY plane - draw rectangle
Pad to create plate

Draft
Import svg file as geometry
Delete the 2 unwanted bits, just keep OX (face0_cut)
Reposition - 270 degrees, X = 300, Y = 125, Z = 10
Draft to Sketch - Sketch001 This is on the bottom face but I guess not actually attached to anything

Part Design
select the top face
Part Design > Map Sketch to Face
move sketch001 to within body on the Model tree
select sketch001 in the tree and Create a pocket with selected sketch

Path
Create a job with default body
Click on the logo in the picture to select it
Create a Pocket path object

Simulate show a slight movement of the cutter then completes, so does not work. Any idea what I have done wrong?

Latest file attached

Thanks
Mick
Attachments
OX_test4.fcstd
(150.12 KiB) Downloaded 36 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: How to Pocket Cut a Logo

Post by GeneFC »

The depth setting in the Pocket-Shape task panel is not correct. I did an override on the automatic "final depth", and the path computed just like I showed above.

I rarely use the automatic depth settings, but I believe they generally work. I don't know why the automatic depth was too shallow in this case.

Gene
Post Reply