Issue #8084 - Path extension for the Slot op in the Path-WB has herratic behaviour

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
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Issue #8084 - Path extension for the Slot op in the Path-WB has herratic behaviour

Post by Giulio Buccini »

Hello,

after playing for a while with the "Extend Path Start" and "Extend Path End" params I ended with a no-sense/hilarious situation:
_______________
Selection_8111.jpg
Selection_8111.jpg (81.49 KiB) Viewed 973 times
Also, changing those values in the property-panel sometime works, sometimes not.
In the GUI sometimes there are gremlins setting back the value to 0.00 after you hit the RETURN key... :lol:

Please, somebody can fix this herratic behaviour?

------------------------------------

Code: Select all

OS: Ubuntu 16.04.7 LTS (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.21.31058 (Git) AppImage
Build type: Release
Branch: master
Hash: e6c53d8642af36ce7d738ab6058b063ec58e0859
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US) [ OS: English/United States (en_US) ]
Installed mods: 
  * fasteners 0.4.21
  * Curves.backup1666112221.8799047
  * sheetmetal.backup1665679793.2838469
  * sheetmetal 0.2.58
  * A2plus 0.4.59e
  * fasteners.backup1667067176.9818938
  * toSketch 1.0.1
  * Curves 0.5.12
Attachments
test-plate-0.1.FCStd
(201.81 KiB) Downloaded 33 times
Last edited by Kunda1 on Sat Dec 24, 2022 2:19 pm, edited 1 time in total.
Reason: Renamed thread + added GH issue number
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: BUG? The interface for the slot operation is on holidays

Post by Giulio Buccini »

Seems that the values enter for the start/end extension are actually added/subtracted to the current path length and stored somewhere.

If you modify one of those two params, then the new value is again added/subtracted to the previously stored params. The new length is again stored.
By repeating the process above, you quicly ends with no-sense values for path length.
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: BUG? The interface for the slot operation is on holidays

Post by Giulio Buccini »

Somebody can confirm me the strange behaviour above?
(I have attached the .fcstd file)
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: BUG? The interface for the slot operation is on holidays

Post by chrisb »

I see the same behaviour if I use your slot. However, your slot has no BaseGeometry set, and if I create a new one with BaseGeometry selected - I have selected the two top edges of the slot - it (nearly) works. Start/End are set and reset properly, only the pathe is moved to the end, so I have to set the start.

Path Slot didn't work, when I selected the bottom face of the slot.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: BUG? The interface for the slot operation is on holidays

Post by Giulio Buccini »

Following the instructions on the documentation, it recommended to NOT set any geometry when you want to set your start/end points manually by yourself:

Create a custom linear slot using the `Custom Point1` and `Custom Point2` properties with no geometry selection.

Note:
it's a pity that this operation is a little buggy; it could be a powerful instrument to create personalized tweaking-toolpaths when one face with limitations of the standard ops offered by Freecad.
Last edited by Giulio Buccini on Sat Dec 10, 2022 1:38 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: BUG? The interface for the slot operation is on holidays

Post by chrisb »

Giulio Buccini wrote: Sat Dec 10, 2022 12:49 pm it recommended to NOT set any geometry when you want to set your start/end points manually by yourself:
I hadn't seen that you use these. So it's time for a Github issue.
it's a pity that this op operation is a little buggy;
Yeah, that's always a pity. A bug report is then the next step to improve things - or you fix it yourself :mrgreen: .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: BUG? The interface for the slot operation is on holidays

Post by Giulio Buccini »

Issue opened on GitHub...
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: BUG? The interface for the slot operation is on holidays

Post by chrisb »

For the record: issue #8084.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue #8084 - Path extension for the Slot op in the Path-WB has herratic behaviour

Post by Kunda1 »

Updated thread title to reflect bug title + ticket number
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
Post Reply