Add new node at vertical/horizontal minimum/maximum of a path

Bug #587073 reported by Pander
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
Johan Engelen

Bug Description

Please extend the add node functionality to automatically add a node on the horizontal or vertical minimum or maximum of a path. A path can be a single segment by selecting the two nodes of that segment, or a series of segment by selecting the two outer nodes. See attachment for an example.

The maximum for a segment or a series of segments is defined where the most outer tangent line is either horizontal or vertical.

Normally when the button called "Insert new nodes into selected segments" is pressed, new nodes appear in the centre of the other nodes. This needs to be extended with the following options:
- CTRL add a node at the vertical maximum (north)
- SHIFT+CTRL add a node at the vertical minimum (south)
- ALT add a node at the horizontal maximum (east)
- SHIFT+ALT add a node at the horizontal minimum (west)

When two or more locations are candidate for placing the new node, the most centered one will be chosen. If one of the selected nodes or another node in the selected segments is already on that position, no node will be added.

Extending node adding functionality as specified above will provide the user with powerful automated node adding. This is especially important for users that work in Inkscape to design glyphs which are to be imported in e.g. fontforge because having a node on the outer edges (extrema) is required for PostScript and TrueType fonts.

See also https://bugs.launchpad.net/inkscape/+bug/170562 for non-centered placement of new nodes on path

Tags: node-editing
Revision history for this message
Pander (pander) wrote :
Revision history for this message
Pander (pander) wrote :

Snapping of handles to grid by default when adding a new node for these functions is not desirable.

su_v (suv-lp)
tags: added: node-editing
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

With regard to your question about what happened to the patch mentioned in bug #170562: AFAIU that patch has been in the code for nearly 5 years and allows to 'Insert new node' with the mouse (double-click on path segment, alternative shortcut 'Ctrl+Alt+click') while keeping single-click for selecting two adjacent nodes (ie a segment).

Revision history for this message
Pander (pander) wrote :

Just to be sure :) I have now changed the status of that bug to Fix Released.

Revision history for this message
Johan Engelen (johanengelen) wrote :

Done! Have a look at the node tool toolbar

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
milestone: none → 0.49
status: Confirmed → Fix Committed
su_v (suv-lp)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.