
LucaDC wrote:
bulia byak wrote:
- On the node deletion discussion, I found the current behavior
satisfactory: if you Del, you get curved approximation; if you Ctrl+del you get linear segment from linears. I think this is logical (unless I miss something).
Well, it may be defined "logical" but with reference to which "logic"? Now if you del a node aligned with its neighbours you get a "straight curve" also if it wouldn't be strictly (i.e. mathematically, or geometrically if you prefer: theese are other examples of "logic" that could be applied but I could mention graphic, aesthetic, practicity, ergonomics, ...) needed. That is, when deleting a node its sides are _always_ converted to curves. Probably Inkscape doesn't like segments at all... ;) In my head, if I set a node as cusp or as smooth, I expect this property to be preserved while I manipulate my path unless I explicitly change it, or I make an operation that indirectly, and with no ambiguity, requires the change to be aplied. Anyway, should I assume this as a stop point or is there space for further discussion? If this is really the last word, I will simply stick to 0.47: having to press ctrl-del every time in my daily work is too penalizing for me.
I'd like to second that. Working with straight segments vs. working with curves is fundamentally different. Currently when I draw two STRAIGHT segments (no handles, cusp nodes) and delete the middle node it suddenly turns my two straight segments into one curved shape... So I would like to reiterate the previously-mentioned solution:
Del: preserve type of nodes adjust handles to preserve shape as much as possible Shift+Del: preserve type and handles of nodes might cause a change in shape Ctrl+Del: preserve neither type nor handles of nodes shape is matched as much as possible
This way delete would normally try to preserve the shape while mostly respecting the user's choices (a node without handles would remain a node without handles, a smooth node would remain a smooth node, a symmetric node would remain symmetric). One could argue about the extent to which the handles of a smooth or symmetric node would be allowed to change (that is, whether the change is allowed to affect neighbouring segments). But in general this should be fine.
Shift+Del would correspond to simply removing the one node and ignoring what it does to the shape. Could be useful whenever the handles are sacred. (Although I have my doubts about its usefulness if Del would make sure that handles of neighbouring segments remain unchanged.)
Ctrl+Del would be the ultimate tool for people who are not so much concerned about handles and such but only in the rough shape of the object. In fact, you could even consider letting Ctrl+Del move (neighbouring?) nodes if it will help in preserving the shape (a kind of local simplify).