(SOLVED) Can you set (increase) the calculation accuracy of freecad?

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by Roy_043 »

thomas-neemann wrote: Mon Sep 26, 2022 9:02 pm here is the video
That is a not a very accurate way of creating a tangential line.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by thomas-neemann »

Roy_043 wrote: Tue Sep 27, 2022 7:15 am ...
that's right. do you know a more precise way?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by Roy_043 »

At the moment, No.

Finding the tangent at a point on a curve is possible, we have the tangentAt method for that. But finding the tangent on a curve that passes through a given ('from') point is a different matter. Programming a solution for circles would obviously be doable, but for other curves I would not know of a direct method. An 'indirect' method would be to test multiple solutions and then accept the 1st solution within an acceptable tolerance.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by thomas-neemann »

Roy_043 wrote: Tue Sep 27, 2022 7:51 am ...
Thanks for the feedback. I suspect that it will soon be possible in the sketcher.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by chrisb »

thomas-neemann wrote: Tue Sep 27, 2022 7:22 am that's right. do you know a more precise way?
Didn't you ask this quite recently with another spring?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by thomas-neemann »

chrisb wrote: Tue Sep 27, 2022 12:02 pm ...
Didn't you ask this quite recently with another spring?
Yes, I started a challenge.

https://forum.freecadweb.org/viewtopic. ... 19#p628719


when trying to create solutions, i came across the question why draft sometimes does not produce an intersection at a tangent. (this thread).

one suggested solution didn't work, which is why i used the spiral here as an example
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
mfro
Posts: 663
Joined: Sat Sep 23, 2017 8:15 am

Re: Can you set (increase) the calculation accuracy of freecad?

Post by mfro »

Roy_043 wrote: Tue Sep 27, 2022 7:12 am
mfro wrote: Mon Sep 26, 2022 8:54 pm FreeCAD does not even try to calculate it because it thinks as the bounding boxes don't overlap the entities can't intersect.
I am aware of that.
I know you are ;)
Remember the discussion.

But others probably aren't.
Cheers,
Markus
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by chrisb »

thomas-neemann wrote: Tue Sep 27, 2022 12:13 pm Yes, I started a challenge.
That's not what I meant. I thought of this https://forum.freecadweb.org/viewtopic.php?f=3&t=70290, where you got quite some good answers. So why start it all over again? Did I miss something?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (SOLVED) Can you set (increase) the calculation accuracy of freecad?

Post by thomas-neemann »

chrisb wrote: Wed Sep 28, 2022 8:09 am ...
Yes, sorry, I forgot about that. but this additional information came from roy_043.

Bildschirmfoto_2022-09-28_10-18-59.png
Bildschirmfoto_2022-09-28_10-18-59.png (12.04 KiB) Viewed 645 times

in the end it was worth it
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply