ted@...10... wrote:
On Tue, 17 Jan 2006, Jeffrey Brent McBeth wrote:
Wow, that is great. I'll have to keep that tool stashed in my head. Unfortunately, for this task, they do overlap and intersect. Is this something I should start looking at extensions for (perhaps even figuring out how to write one?). Is it at all like GIMP extensions?
That is definitely something that could be implemented with extensions. Unfortunately the internal functions in Inkscape aren't exported (thinks like intersect) so the only extension method available is using C++. This isn't impossible, but increases the complexity. If you are interested you can look at bluredge.cpp in the code base for an example. This sounds like something that could be a very useful extension.
Another option would be to let the intersection of a group and a path do something more interesting than complain that one of the objects isn't a path. I'd say it would be pretty intuitive if the intersection of a path and a group would yield a group containing the intersections of all objects in the group and the path. Most other operations would also seem reasonable to me.
Theoretically something similar could be done for group/group operations, but I'm not sure what would be the most intuitive option (and to be honest I really wouldn't know when you'd want to use it).