Ticket #4009 - Dog-bone on mill face locks up

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!
User avatar
freman
Veteran
Posts: 2198
Joined: Tue Nov 27, 2018 10:30 pm

Ticket #4009 - Dog-bone on mill face locks up

Post by freman »

I have a milled path on the outer corners of the model. If I try to add dog-bone it locks up solid, directly everytime.

Anyone else care to check?

Code: Select all

OS: Linux (LXDE/LXDE)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16854 (Git)
Build type: Release
Branch: master
Hash: fe0fd5512ba9a8a9c729cdc47af35bbe965050ac
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Attachments
neg-test-dog-crash.FCStd
(68.57 KiB) Downloaded 235 times
Last edited by Kunda1 on Tue Jan 14, 2020 5:35 pm, edited 2 times in total.
Reason: Added ticket number to thread title
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Bog-bone on mill face locks up

Post by chrisb »

You have several operations in the job, which one do you want to dogbone Mill-base1-3 and Mil-base0-2?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
freman
Veteran
Posts: 2198
Joined: Tue Nov 27, 2018 10:30 pm

Re: Bog-bone on mill face locks up

Post by freman »

yes either of those totally chokes on a dog-bone ;)

Maybe because they have two parts. I just thought I should flag some of these bugs. Maybe I do somewhat unexpected things or devs just check a well trodden path. Folks who "know" what to do often fail to check less probable, but legit, work paths.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Bog-bone on mill face locks up

Post by chrisb »

I can confirm the lockup. It doesn't lock if the Path covers only one corner.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Bog-bone on mill face locks up

Post by sliptonic »

Please open a mantis ticket for this an reference this topic. Maybe edit the thread subject as well (Fix 'Bog-bone' and add a BUG ####: )
User avatar
freman
Veteran
Posts: 2198
Joined: Tue Nov 27, 2018 10:30 pm

Re: Dog-bone on mill face locks up

Post by freman »

I had not noticed the typo , thanks.

bug report:
https://www.freecadweb.org/tracker/view.php?id=4009
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4009 - Dog-bone on mill face locks up

Post by Kunda1 »

Added issue #4009 to thread title
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4009 - Dog-bone on mill face locks up

Post by Kunda1 »

There is a workaround posted by sliptonic (https://tracker.freecadweb.org/view.php?id=4009#c13176)
but it doesn't address the freeze issue that the bug causes.
Is issue #4009 getting bumped to next release (0.20) ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
tonio_k
Posts: 1
Joined: Tue Feb 23, 2021 7:52 pm

Re: Ticket #4009 - Dog-bone on mill face locks up

Post by tonio_k »

I have a similar issue with dogbone dressup. However, things are a little less deterministic in my case, it seems. Sometimes, changing stepdown after using DogboneDressup locks up FreeCAD, sometimes using the DogboneDressup path modifier at all with something else but the default tool locks up the program. I've looked into the Python script for Dogbone, but it was not very obvious to me what happens there. Is there any documentation regarding the Path toolbench and its code? So far, I have only found https://wiki.freecadweb.org/Path_scripting, which doesnt cover very much.
freecad_freeze1.png
freecad_freeze1.png (225.97 KiB) Viewed 1839 times
By working around with using the default tool and job parameters at first and changing the tool and cutting depths etc. later, I could manage to get closer to my desired outcome, however changing parameters like stepdown freezes everything again.
freecad_workaround_pre_freeze.png
freecad_workaround_pre_freeze.png (192.14 KiB) Viewed 1839 times
If someone more competent than me could look into the issue and maybe even give some hints where to start with understanding the underlying code/FreeCAD framework, I'd be very glad.

OS: Ubuntu 20.04.2 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23756 (Git) AppImage
Build type: Release
Branch: master
Hash: 9c6e9184930a52b165a0b7274e3a45d1006bfe67
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
Attachments
side_complete.FCStd
(140.15 KiB) Downloaded 23 times
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: Ticket #4009 - Dog-bone on mill face locks up

Post by mlampert »

Dogbone is not supposed to work on PocketShape. Not sure if this is a regression or if somebody enabled this on purpose. It's also not very useful to have dogbones on each pass, only the last (outer) pass needs them.
Post Reply