Ellipse, trim and gap

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

Ellipse, trim and gap

usuario
I'm using a translator.

Hello,

LibreCAD is a great program, thank you very much for working on it.

I don't know if it is something normal of the application or maybe it has already been reported; however, I want to show with a short video something that occurs when making cuts on ellipses.

https://youtu.be/wZ47gc1uMWc

Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Ellipse, trim and gap

dxli
This is a bug of rendering, or visual artifacts.

We will fix it for 2.2.1 and later.

usuario wrote
I'm using a translator.

Hello,

LibreCAD is a great program, thank you very much for working on it.

I don't know if it is something normal of the application or maybe it has already been reported; however, I want to show with a short video something that occurs when making cuts on ellipses.

https://youtu.be/wZ47gc1uMWc

Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Ellipse, trim and gap

dxli
In reply to this post by usuario
Hi usuario,

Thanks for bringing up this issue. As this is an important bug, the fix has been added to both 2.2.1 and the master branch (2.2.2). Earlier versions are not affected.

https://github.com/LibreCAD/LibreCAD/commit/7b96f926b2fde332560773fe538dedbf97e116ca


usuario wrote
I'm using a translator.

Hello,

LibreCAD is a great program, thank you very much for working on it.

I don't know if it is something normal of the application or maybe it has already been reported; however, I want to show with a short video something that occurs when making cuts on ellipses.

https://youtu.be/wZ47gc1uMWc

Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Ellipse, trim and gap

usuario
This post was updated on .
 I'm using a translator.

Hello Dongxuli,

Thanks, the aesthetic result now looks excellent, could you please try the semicircles with rounded ends?, as described in a past post [1]; likewise, added to the aesthetic aspect, it would be important that the area formed by the two semicircles and the two segments was a closed area, on which among other things we could apply a hatch.

1.  https://forum.librecad.org/Should-we-create-a-2-2-1-branch-td5724673.html

Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Ellipse, trim and gap

dxli
The complexity to support qpen cap styles and join styles is pretty high.

We will see what can be done in 2.2.2.


usuario wrote
I'm using a translator.

Hello Dongxuli,

Thanks, the aesthetic result now looks excellent, could you please try the semicircles with rounded ends, as described in a past post [1]; likewise, added to the aesthetic aspect, it would be important that the area formed by the two semicircles and the two segments was a closed area, on which among other things we could apply a hatch.

1.  https://forum.librecad.org/Should-we-create-a-2-2-1-branch-td5724673.html

Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: Ellipse, trim and gap

usuario
 I'm using a translator.

Hello,

I understand; likewise, thank you very much for your amazing work in LibreCAD.
Reply | Threaded
Open this post in threaded view
|

Re: Ellipse, trim and gap

dxli
I pushed a fix to support cap style for arcs.

The basic story: we rely on the Qt framework to render primitive geometries, such as elliptic arcs, but Qt doesn't natively support elliptic arcs, while support ellipses.

The current solution:

Draw a complete ellipse;
Trim unwanted part;
At each end, draw a line segment of 1 device independent coordinate in length.

Hope future Qt versions will provide support for rendering elliptic arcs.
usuario wrote
I'm using a translator.

Hello,

I understand; likewise, thank you very much for your amazing work in LibreCAD.