Can't engrave text!

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!
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Can't engrave text!

Post by falviani »

Hi all,

My set up is:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17337 (Git)
Build type: Release
Branch: master
Hash: 0871fb49c71f1ac4029e441814332368f42bd78a
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

I have attached a very small file where I have a shape string I wish to engrave, using a mill face operation to try and remove all the material within the character outlines. Currently I have an engraving tool selected. The font is a san serif with uniform line thickness. The text is not that small, and no matter what cutting pattern or tool I choose, the simulation shows that it is only sporadically cut. I'm getting very bewildered trying to understand the complete failure of this operation. Where can I get more information on how the cutting algorithms work (without reading the python source :( ) Or, can someone explain what's happening, and what I can do instead?

Thanks in advance - Frank
Attachments
TextPath2.FCStd
(187.27 KiB) Downloaded 31 times
herbk
Veteran
Posts: 2660
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Can't engrave text!

Post by herbk »

Hi Frank

your letters are pockets, so if you use the pocket OP it works.

Edit: The "S" don't work, i can't figure out why atm... :(

Edit edit: If i use "Profile by Edges" i got a path for the "S" to, but it should work with Poket op to. :? :?
Last edited by herbk on Wed Jul 17, 2019 7:41 pm, edited 1 time in total.
Gruß Herbert
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Re: Can't engrave text!

Post by falviani »

I'm sorry, but it's not at all accurate. Below is the result of running the simulation (as you can see, much is missing) :
TestOneSimulation1.png
TestOneSimulation1.png (58.97 KiB) Viewed 1009 times
herbk
Veteran
Posts: 2660
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Can't engrave text!

Post by herbk »

??
here it works with FC 0.18.2 edit: not with 0.19
test_one.jpg
test_one.jpg (51.31 KiB) Viewed 1005 times
Attachments
TextPath_herbk.FCStd
(285.76 KiB) Downloaded 23 times
Last edited by herbk on Thu Jul 18, 2019 5:58 am, edited 1 time in total.
Gruß Herbert
Russ4262
Posts: 953
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: Can't engrave text!

Post by Russ4262 »

Afternoon, Gentlemen.
I can verify the problem with PathPocketShape. I downloaded falviani's file in the OP.

The 'S' will not produce a path using PocketShape. I attempted it within a grouped Base Geometry operation and a operation where the 'S' face is the only Base Geometry. PathPocketShape is quite slow now, compared to earlier FC 0.19 releases around the 16700 minor range.

I also noticed the Apply/change-setting relationship in the task window editor is not working correctly.
Steps to reproduce:
  1. Select faces for the 'T' and 'E'.
  2. Create the PocketShape icon and click 'OK' with no changes.
  3. Double click the new Pocket_Shape operation to edit.
  4. The 'Apply' button is inactive. (Normal behavior)
  5. Change the Step Over Percent and the Pattern.
  6. The 'Apply' button remains inactive. (Problematic behavior)
Russ

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17352 (Git)
Build type: Release
Branch: master
Hash: ec0049921b813ee78c1fd4ea304e70904a3208f7
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Re: Can't engrave text!

Post by falviani »

Thanks for the update. I downloaded version 352 and tried the simulation again, with unchanged results. My expectations were that the end result would match the pocket. I deliberately made it quite shallow so that the significant taper in the tool profile would (hopefully) result in a very small allowance for the tool radius. Perhaps the code can't handle a tapered tool and just assumes the diameter in the controller (which in this case is 3mm)? If so, I would consider that a bug.

If I substitute a 1mm endmill for the engraver, I get the expected results.

Again, thanks - Frank
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't engrave text!

Post by chrisb »

If I try to edit the tool Engraver1 with a double click, FreeCAD crashes. Can somebody confirm?

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17360 (Git)
Build type: Release
Branch: master
Hash: 348160d4ea970f5f6d0850272c04800c0222c8ba
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't engrave text!

Post by chrisb »

The missing path seems to come from too big a tool:

Tool diameter 2.81:
Bildschirmfoto 2019-07-18 um 02.12.47.png
Bildschirmfoto 2019-07-18 um 02.12.47.png (10.98 KiB) Viewed 973 times
.

Tool diameter 2.82:
Bildschirmfoto 2019-07-18 um 02.15.16.png
Bildschirmfoto 2019-07-18 um 02.15.16.png (13.28 KiB) Viewed 973 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
herbk
Veteran
Posts: 2660
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Can't engrave text!

Post by herbk »

chrisb wrote: Thu Jul 18, 2019 12:16 am The missing path seems to come from too big a tool:
Not realy... If i use FC 0.18.2 from OpenSuse Repo, the 2mm tool and try to create a path with "Pocket OP" it don't work. Profile on face and Profile at edges works.

If i do the same with the latest 0.19 AppImage FC crashes if i try to get a path for the S. - on each OP...

The crash at doubleclicking the engraver to edit i don't have at both.
Gruß Herbert
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't engrave text!

Post by chrisb »

Thanks for reporting back. I will try some comparisons of 0.18 and 0.19.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply