Problem with path generation on curved 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!
Post Reply
ericg
Posts: 25
Joined: Tue Jul 15, 2014 1:18 am

Problem with path generation on curved edges

Post by ericg »

Hello all,

I am having a problem generating the contour profile and pocket on this model.
It may be related to a similar issue with OCC 7.3 that I have read about here recently, but as a rank amateur I really wouldn't know.

I'm using OCC 7.2 as seen below

edit: I did another small job with a straight forward circular pocket and a curved edge which worked perfectly. that was a router clamp

I was hoping someone with more experience could either point me in the right direction, or simply confirm it is an issue with OCC 7.x and tell me to wait for a resolution.

There is no rush as I have done the job with other software but I am trying to learn to use FC as much as possible

Thanks to everyone involved with FC

Eric

OS: Debian GNU/Linux 9.4 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14001 (Git)
Build type: None
Branch: master
Hash: 6014fce390390526f3d74672e79e3d8bc994225e
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/Australia (en_AU)

Thein Baffle.fcstd
(35.4 KiB) Downloaded 51 times
chrisb
Veteran
Posts: 54303
Joined: Tue Mar 17, 2015 9:14 am

Re: Problem with path generation on curved edges

Post by chrisb »

I have no problem here creating the contour. I select the surface, click the contour icon, leave everything at default and click Ok. And there it is.
Same with the pocket. please note that you have to select the inner wall of the pocket.

Version (no newer available currently):

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13976 (Git)
Build type: Release
Branch: (HEAD detached at fae0de5)
Hash: fae0de58581694157a97d567c151bdce75d387dc
Python version: 2.7.15
Qt version: 5.11.0
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
Attachments
Baffle_cb.fcstd
(57.11 KiB) Downloaded 32 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: Problem with path generation on curved edges

Post by GeneFC »

As Chris noted, it is possible to create the contour path and the pocket path. However, there are a couple of issues.

Unlike the automatic completion of an edge selection loop from two adjacent edges, it is necessary to select each internal face of the pocket shape when there is no bottom closure. There are eight faces to select. Then the pocket works.

Path-CompleteLoop.png
Path-CompleteLoop.png (752 Bytes) Viewed 1267 times

The other thing is that your model is not optimum. The rounded corners in the pocket are better if formed in the sketch instead of making fillets in the solid. It does not appear that caused a problem here, but it will almost certainly causes problems as you move forward with the model.

Sketch002 is usused, but I would guess that you have further plans.

Gene
chrisb
Veteran
Posts: 54303
Joined: Tue Mar 17, 2015 9:14 am

Re: Problem with path generation on curved edges

Post by chrisb »

GeneFC wrote: Tue Jul 03, 2018 2:24 pm Unlike the automatic completion of an edge selection loop from two adjacent edges, it is necessary to select each internal face of the pocket shape when there is no bottom closure. There are eight faces to select. Then the pocket works.
For through-all-pockets it would be useful to have some kind of face-complete-loop tool.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ericg
Posts: 25
Joined: Tue Jul 15, 2014 1:18 am

Re: Problem with path generation on curved edges

Post by ericg »

Many thanks for the support,

I did not mention earlier I was trying to use the spiral path for the pocket as that seemed to make more sense than zigzag for a better finish, but I may be wrong there. I also fixed the sketch to give the pocket end curves as suggested - thanks for that.

The contour path still has me baffled, chrisb, I looked at your response and yes that is what I expected, but when I do exactly the same, I get a different result. see attached.

Eric

OS: Debian GNU/Linux 9.4 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14001 (Git)
Build type: None
Branch: master
Hash: 6014fce390390526f3d74672e79e3d8bc994225e
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/Australia (en_AU)

Thein Baffle.fcstd
this has the incorrect contour path
(48.18 KiB) Downloaded 36 times
chrisb
Veteran
Posts: 54303
Joined: Tue Mar 17, 2015 9:14 am

Re: Problem with path generation on curved edges

Post by chrisb »

I can test it, when I have a new version available.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ericg
Posts: 25
Joined: Tue Jul 15, 2014 1:18 am

Re: Problem with path generation on curved edges

Post by ericg »

Hi,

I just tested it myself with FC 0.17 appimage, it worked correctly as expected.

I will just have to be patient while the issue is resolved.

Eric
Post Reply