Arc Tangential: strange behaviour

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Arc Tangential: strange behaviour

Christian
Hello,
The Tool Options that pop up with this icon look straight forward:
1-Either enter a Radius and that is what you control,
2-Or enter an Angle and that is what you control.
Well, it does not quite work that way. By default the radius is 1, if you change it and then specify a Base Entity it automatically goes back to 1. The only way is to first select the Base Entity, then change the radius to the desired value, that works.
If you first select an angle, as soon as you specify the Base Entity it reverts back to Radius 1. The only way I found to define the angle is first to specify the Base Entity, then select the angle wanted...but it will not accept more than 179°. With 180° it will only draw an arc determined by the last position of the mouse on the drawing, should you want to enter a higher value, it reverts back to 180°.

Help needed please.
Regards,
Christian
I use LC 2.0.9
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

Christian
Following another post I just downloaded the very latest version of LC, 2.0.9-41, unfortunately the Arc Tangential still behaves strangely as previously described.
Any chance for correction?
Regards,
Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

dxli
I will look into this one

Thanks for pointing out.

Christian wrote
Following another post I just downloaded the very latest version of LC, 2.0.9-41, unfortunately the Arc Tangential still behaves strangely as previously described.
Any chance for correction?
Regards,
Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

Christian
Thanks dxli,
I just discovered yet another strange behaviour:
once you manage to set the angle, say 90° and you draw the arc at the end of a line, the actual angle you get is 90/2, i.e. 45°; apparently it only draws to half the angle set. Why?
Should I not get 90 if that is what I ask for?
I am puzzled with this tool.
Regards,
Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

dxli
fixed the GUI trouble in both master and 2.0 branches.
https://github.com/LibreCAD/LibreCAD/commit/8228b171005414f4bf049d645f594484c8939d8b

Please confirm with the latest nightly builds:

https://sourceforge.net/projects/librecad/files/Windows/NightlyBuilds/

Now, the 90 degree issue was an illusion caused by the positioning of the tangential arc.

I have updated the tangential arc calculation algorithm in the master branch, and drawing arc by almost (0, 360) degrees is supported.

If this turns out to be stable, we will add this algorithm to the 2.0 stable branch.


Christian wrote
Thanks dxli,
I just discovered yet another strange behaviour:
once you manage to set the angle, say 90° and you draw the arc at the end of a line, the actual angle you get is 90/2, i.e. 45°; apparently it only draws to half the angle set. Why?
Should I not get 90 if that is what I ask for?
I am puzzled with this tool.
Regards,
Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

Christian
Bonjour,
I just downloaded the 2.0.9-49 version and here is what I get:
1-Radius works: you can set a radius before specifying base entity.
2-Angle works ...up to 179°. If you set 180° it will draw a complete circle around the zero base with the last radius set (or 1 if none was set), anything above 180 will revert to 180. Why this limitation to 179? Why not be able to go up to 360?

I have another question: could it not be possible to benefit of both values, i.e., radius AND Angle so as to draw several tangential arcs totally identical?. Of course it could be done through other ways but so can the tangential arc altogether.

All the best from grey Alsace,

Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

dxli
Bonjour,

The fix was actually in master branch for the 180 degree problem already.

I have added the same fix to 2.0 accordingly.

Merci!
https://github.com/LibreCAD/LibreCAD/commit/14419c090f92ab5bcb127e62b31d0d89172e84b3
Christian wrote
Bonjour,
I just downloaded the 2.0.9-49 version and here is what I get:
1-Radius works: you can set a radius before specifying base entity.
2-Angle works ...up to 179°. If you set 180° it will draw a complete circle around the zero base with the last radius set (or 1 if none was set), anything above 180 will revert to 180. Why this limitation to 179? Why not be able to go up to 360?

I have another question: could it not be possible to benefit of both values, i.e., radius AND Angle so as to draw several tangential arcs totally identical?. Of course it could be done through other ways but so can the tangential arc altogether.

All the best from grey Alsace,

Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

Christian
Thanks "dxli",
I visited your link but to me, poor old devil, it means nothing.
Please let me know when it gets published and can be tried.

Christian
Reply | Threaded
Open this post in threaded view
|

Re: Arc Tangential: strange behaviour

dxli
It should be in nightly builds soon.

Bonne soirée
Christian wrote
Thanks "dxli",
I visited your link but to me, poor old devil, it means nothing.
Please let me know when it gets published and can be tried.

Christian