scaling & snapping
Carl,
1. When you are finished with snapping refactoring, don't forget to update the Release Notes. From my viewpoint, what matters is using of Shift for no-snap mode and it working the same in all tools including node edit.
2. The new scaling origin mode you did does not quite work. The "outermost point" mode works, but the "bounding box" mode does not. Turn on box selection cue, zoom in and draw a small rect with thick stroke. Now when I drag the right handle, the left edge of the rect also moves a bit in the same direction. It must stay unmoved in that mode.
3. Better names for the options are: - Opposite bounding box edge - Farthest opposite node [not point]
4. Additionally the bbox option does not sit well with the "scale stroke" option. When I don't want to scale stroke, i.e. use a compensation after scaling, that compensation moves the bbox of the object even farther away from the original position, making the bug in 2. above worse. This mode must check the value of the "scale stroke" option and take it into account.
On Fri, 25 Jun 2004, bulia byak wrote:
Carl,
- When you are finished with snapping refactoring, don't forget to
update the Release Notes. From my viewpoint, what matters is using of
Will do.
Shift for no-snap mode and it working the same in all tools including node edit.
OK, I've done that already. If you spot any other places where Shift should work and doesn't, please let me know.
- The new scaling origin mode you did does not quite work. The
"outermost point" mode works, but the "bounding box" mode does not. Turn on box selection cue, zoom in and draw a small rect with thick stroke. Now when I drag the right handle, the left edge of the rect also moves a bit in the same direction. It must stay unmoved in that mode.
I'll look into this.
- Better names for the options are:
- Opposite bounding box edge
- Farthest opposite node [not point]
Thanks, I was hoping you would suggest something!
- Additionally the bbox option does not sit well with the "scale
stroke" option. When I don't want to scale stroke, i.e. use a compensation after scaling, that compensation moves the bbox of the object even farther away from the original position, making the bug in 2. above worse. This mode must check the value of the "scale stroke" option and take it into account.
Yes, I spotted that today. I'll try and sort it out.
The other thing that doesn't work is bounding box snap during e.g. creation of a line. How hard do you think it will be do take line width into account when snapping points in e.g. the pen tool?
Thanks for the comments.
Carl
Carl Hetherington wrote:
On Fri, 25 Jun 2004, bulia byak wrote:
Carl,
- When you are finished with snapping refactoring, don't forget to
update the Release Notes. From my viewpoint, what matters is using of
Will do.
Shift for no-snap mode and it working the same in all tools including node edit.
OK, I've done that already. If you spot any other places where Shift should work and doesn't, please let me know.
- The new scaling origin mode you did does not quite work. The
"outermost point" mode works, but the "bounding box" mode does not. Turn on box selection cue, zoom in and draw a small rect with thick stroke. Now when I drag the right handle, the left edge of the rect also moves a bit in the same direction. It must stay unmoved in that mode.
I'll look into this.
- Better names for the options are:
- Opposite bounding box edge
- Farthest opposite node [not point]
Thanks, I was hoping you would suggest something!
- Additionally the bbox option does not sit well with the "scale
stroke" option. When I don't want to scale stroke, i.e. use a compensation after scaling, that compensation moves the bbox of the object even farther away from the original position, making the bug in 2. above worse. This mode must check the value of the "scale stroke" option and take it into account.
Yes, I spotted that today. I'll try and sort it out.
The other thing that doesn't work is bounding box snap during e.g. creation of a line. How hard do you think it will be do take line width into account when snapping points in e.g. the pen tool?
Thanks for the comments.
Carl
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
I just DL'd the latest CVS, and was curious if the "snap objects to their curent grid offset" option under Inkscape Preferences was intentionally gone -- I checked the list archives and couldn't find a mention of it... ....Eric
[snip]
I just DL'd the latest CVS, and was curious if the "snap objects to their curent grid offset" option under Inkscape Preferences was intentionally gone -- I checked the list archives and couldn't find a mention of it...
Apologies, I should have mentioned this. The feature is still there: hold down Alt whilst dragging something and it will snap to the grid offset it had at the start of the drag.
The option which disappeared was to make this feature the default. I think the general feeling was that the option was a bit obscure. If you feel differently, say so, and I'll put it back in.
Thanks
Carl
[snip]
Apologies, I should have mentioned this. The feature is still there: hold down Alt whilst dragging something and it will snap to the grid offset it had at the start of the drag.
The option which disappeared was to make this feature the default. I think the general feeling was that the option was a bit obscure. If you feel differently, say so, and I'll put it back in.
I'm sure there are a ton of opinions on what should consitute "proper" snapping behavior, but I've really grown to like Illustrator's "only snap "nodes always snap to the grid" functionality. I only care that the bounding box _around the nodes_ in a complex shap snaps. I have no real artistic skill-- I only use inkscape for technical diagrams, and it's nice to have everything (all lines, points, etc) line up this well.
The "snap objects to the current grid offset" was the closest I could get to this sort of functionality, and I had started relying heavily on it when moving all manner of objects. In many ways, it made things more intuitive than illustrator, because I could tweak text to be (say) 2 points above the line and then it would always stay 2 pts above any grid line.
I just -really really- don't care for snap-to-stroke. You guys have done a wonderful job of making these various types of snapping optional. As soon as this settles down, I'm going to write a "Snapping like Illustrator & Other CAD programs" section in the wiki.
Thanks again for all the effort! ...Eric
On Sat, 26 Jun 2004, Eric Jonas wrote:
[snip]
Apologies, I should have mentioned this. The feature is still there: hold down Alt whilst dragging something and it will snap to the grid offset it had at the start of the drag.
The option which disappeared was to make this feature the default. I think the general feeling was that the option was a bit obscure. If you feel differently, say so, and I'll put it back in.
I'm sure there are a ton of opinions on what should consitute "proper" snapping behavior,
Yes, there are ;-)
but I've really grown to like Illustrator's "only snap "nodes always snap to the grid" functionality. I only care that the bounding box _around the nodes_ in a complex shap snaps. I have no real artistic skill-- I only use inkscape for technical diagrams, and it's nice to have everything (all lines, points, etc) line up this well.
So "snap points to grid" should be ok for you.
The "snap objects to the current grid offset" was the closest I could get to this sort of functionality, and I had started relying heavily on it when moving all manner of objects. In many ways, it made things more intuitive than illustrator, because I could tweak text to be (say) 2 points above the line and then it would always stay 2 pts above any grid line.
That's the exact same reason that I like it so much.
Perhaps we should just have the option: "snap objects to grid" or "snap objects to current grid offset", so it's not on a modifier key any more. What do you think?
I just -really really- don't care for snap-to-stroke. You guys have done a wonderful job of making these various types of snapping optional. As soon as this settles down, I'm going to write a "Snapping like Illustrator & Other CAD programs" section in the wiki.
That would be very useful. I don't care for snap-to-stroke either, but plenty of people do.
Any thoughts on the "snap-to-current-grid-offset" option, anyone?
Thanks
Carl
participants (3)
-
bulia byak
-
Carl Hetherington
-
Eric Jonas