Files
qelectrotech-source-mirror/ico
ispyisail 4b501521a5 Add a sketch fillet: round the corner between two drawn lines
"Ajouter un congé" on the drawing toolbar, in Édition > Ajouter and in
the command search. Click two lines one after the other, or once where
they meet, and a small dialog asks for the radius (remembered for the
next one); Enter makes the fillet. The tool stays on for the next
corner; Escape or a right-click ends it.

The two lines are trimmed -- or extended, when they did not reach each
other -- to the points where the arc touches them, and an arc is added
between them. For each line the part kept is the one on the side of
the corner where it was clicked; a click on the corner keeps the
longer part of each. Parallel or nearly aligned lines, and a radius
too big for the lines, are refused with a status-bar message.

The arc is an ordinary Ellipse shape with a start and end angle, as
the Arc tool and the ellipse's arc handles save it, so nothing new is
written to the file. It is added by its own small undo command rather
than AddGraphicsObjectCommand, whose redo() calls setPos(), and
QetShapeItem::setPos() snaps the outline's corner to the grid, which
would pull the arc off the lines. One undo step undoes the fillet.

New icon draw-fillet, light and dark, registered like the Align icons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 07:08:18 +13:00
..
2017-12-02 20:34:16 +00:00
2023-01-24 17:59:47 +01:00