[Sketcher] Distance to circle

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] Distance to circle

Post by chrisb »

onekk wrote: Tue Mar 21, 2023 10:20 am Has the problem with build system has been solved?
See viewtopic.php?t=76795 .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Sketcher] Distance to circle

Post by adrianinsaval »

tldr: build system still broken, the "new" builds that are uploaded are just the same reuploaded.
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [Sketcher] Distance to circle

Post by Piero69 »

chrisb wrote: Tue Mar 21, 2023 9:29 am
Piero69 wrote: Tue Mar 21, 2023 6:28 am great! unfortunately since over a month a new build is a chimera :D
I have just seen that the revision number hasn't changed, but it seems to have been updated yesterday. My version dates from the 4th of march and has revision number 32198. The same was published yesterday.
yes, only the date is changing but the build is always the same, moreover the version for py3.10 is still older ... 31197 dated 16 February
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] Distance to circle

Post by chrisb »

I just tested circle to circle distance. It works well!
Canit be extended to arcs as well? Like tangency or point-on-object it should work as if it was a full circle, so hopefully it is not too much effort. :mrgreen:
flachyjoe wrote: Wed Mar 15, 2023 8:43 pm I plane to write line to circle and point to circle too.
Do you plan to integrate this into 0.21? I want to include this new constraint into my sketcher lecture, and it would of course be less effort, if I could change it all at once.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
flachyjoe
Veteran
Posts: 1869
Joined: Sat Mar 31, 2012 12:00 pm
Location: Limoges, France

Re: [Sketcher] Distance to circle

Post by flachyjoe »

Hi @chrisb ,
Distance to Arc is here : https://github.com/FreeCAD/FreeCAD/pull/9166
and Circle to Line here : https://github.com/FreeCAD/FreeCAD/pull/9044
- Flachy Joe -
Image
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [Sketcher] Distance to circle

Post by chrisb »

Thanks @flachyjoe, I will describe it in the document hoping that it will make it into 0.21.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Sketcher] Distance to circle

Post by NewJoker »

Hi @flachyjoe,

I've noticed that the newly implemented circle to circle distance constraint doesn't work when one of the circles is an external geometry:

circle to circle 'error.PNG
circle to circle 'error.PNG (57.24 KiB) Viewed 1179 times

Is that a known limitation ?
User avatar
flachyjoe
Veteran
Posts: 1869
Joined: Sat Mar 31, 2012 12:00 pm
Location: Limoges, France

Re: [Sketcher] Distance to circle

Post by flachyjoe »

NewJoker wrote: Mon Jun 19, 2023 1:02 pm Is that a known limitation ?
No, it's a bug! :?

EDIT: @NewJoker FYI the fix is in progress.
EDIT 2: the fix is now merged.
- Flachy Joe -
Image
Post Reply