G-code for rounded edges

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!
rainbowhope
Posts: 16
Joined: Thu Dec 05, 2019 8:29 am

G-code for rounded edges

Post by rainbowhope »

OS: Debian GNU/Linux 10 (buster)
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.18.
Build type: Release
Python version: 2.7.16rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)


Hi !
I need to sharpen a rectangular part with rounded edges.
I create a rectangle with rounded corners in the sketch, then squeeze it out and round the edges in 3D. I go to Path-workbench -> 3D Pocket object and try to draw g-code paths in It. In "Depths" set point of Z-zero surface top, -4mm-finish, step 0.1 mm.
The problem is that the paths do not draw the entire rounding geometry, but only part of it, as in the screenshot.
What am I doing wrong ?

P.S.I discussed this problem on the forum, but without result.
https://forum.freecadweb.org/viewtopic.php?f=3&t=42833
Attachments
CNC_2.jpg
CNC_2.jpg (101.77 KiB) Viewed 1400 times
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: G-code for rounded edges

Post by chrisb »

How about following the advice in the linked topic and try 0.19? The changes to 3D surface have been committed and will soon (or already) be in the available versions.

Edit: Moved to Path forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: G-code for rounded edges

Post by dubstar-04 »

depending on the radius; You could also think about using a corner rounding tool:
e5dd1c9d-69d4-4f8b-9575-a76f00b673d2_700x300.jpg
e5dd1c9d-69d4-4f8b-9575-a76f00b673d2_700x300.jpg (15.92 KiB) Viewed 1390 times
Thanks,

Dan
rainbowhope
Posts: 16
Joined: Thu Dec 05, 2019 8:29 am

Re: G-code for rounded edges

Post by rainbowhope »

chrisb wrote: Thu Feb 27, 2020 10:31 am How about following the advice in the linked topic and try 0.19? The changes to 3D surface have been committed and will soon (or already) be in the available versions.

Edit: Moved to Path forum.
I put 0.19 on windows. Not help.
rainbowhope
Posts: 16
Joined: Thu Dec 05, 2019 8:29 am

Re: G-code for rounded edges

Post by rainbowhope »

dubstar-04 wrote: Thu Feb 27, 2020 10:41 am depending on the radius; You could also think about using a corner rounding tool:

e5dd1c9d-69d4-4f8b-9575-a76f00b673d2_700x300.jpg

Thanks,

Dan
Using a shaped cutter restricts the sample shape. I am interested in forming the edge shape in the FreeCad editor .
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: G-code for rounded edges

Post by chrisb »

rainbowhope wrote: Thu Feb 27, 2020 11:09 am I put 0.19 on windows. Not help.
Which 0.19? Please add your full FreeCAD info augmented by the date shown on the dialog.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: G-code for rounded edges

Post by chrisb »

I just downloaded 0.19.19717. The new 3D-Surface stuff is not contained. We will have to wait for the next build.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
rainbowhope
Posts: 16
Joined: Thu Dec 05, 2019 8:29 am

Re: G-code for rounded edges

Post by rainbowhope »

chrisb wrote: Thu Feb 27, 2020 11:51 am
rainbowhope wrote: Thu Feb 27, 2020 11:09 am I put 0.19 on windows. Not help.
Which 0.19? Please add your full FreeCAD info augmented by the date shown on the dialog.
1) Are you from the development team?
2) When is the new build planned?

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19373 (Git)
Build type: Release
Branch: master
Hash: c47512b7b2b3b64b4a21a86ad34a565459a13e6a
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)

In the attached files, the project and description of the version of FreeCad for Windows. The windows is in office. But more often I use Linux by Debian 32 bit.
For Debian only 0.18
Attachments
FreeCad_019.txt
(310 Bytes) Downloaded 21 times
1.FCStd
(23.54 KiB) Downloaded 28 times
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: G-code for rounded edges

Post by dubstar-04 »

chrisb wrote: Thu Feb 27, 2020 12:01 pm I just downloaded 0.19.19717. The new 3D-Surface stuff is not contained. We will have to wait for the next build.

Hi Chris,

I'm not sure that the 3D surfacing has been merged yet: https://github.com/FreeCAD/FreeCAD/pull/2849

Thanks,

Dan
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: G-code for rounded edges

Post by herbk »

Hi together,
i think there is still the need to enable the experimental features for 3D Surface OP...

3D Surface works for me, but there are a few things to know:

1. For a smooth path you have to reduce the sample interval to 1 or less. The time to calculate the path incrases, but path is good...
2. If you want to work at each side of your workpeace you have to extend the BoundBox extra Offset.

If change the settings i get this output which works at the machine (LinuxCNC) like expected:
3d_surface.jpg
3d_surface.jpg (90.82 KiB) Viewed 1329 times

OS: openSUSE Leap 15.1 (KDE//usr/share/xsessions/plasma5)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19691 (Git) AppImage
Build type: Release
Branch: master
Hash: 361acd5a8405139aed3fbf7036bd76d2ca273cd0
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
Last edited by herbk on Thu Feb 27, 2020 1:40 pm, edited 1 time in total.
Gruß Herbert
Post Reply