Actually it might make sense to make it a preference. Something like specifying what happens to the other layers when one is selected exclusively.
That's a good idea in and of it's self, make the two things distinct functions and together they make a powerful control.
So one idea is to have a slider bar to change which layer is selected.
And the second idea is to be able to set some how what happens to other layers and the current layer such that it should be possible to make the current layer visible, the next and previous layers semi transparent and all other layers invisible. this would also be very cool for doing tracing and a bunch of other things.
I wrote the barcode plugin, I can't Imagen it'd be too much more difficult.
Ah, I didn't realize that was you. Yes, this one should be much easier :)
Yes the barcode wasn't that hard to be honest I translated my perl barcode stuff to python.
Are you planning on using the SVG animation elements or Javascript?
Also, from the SVG perspective there is a good group of people who talk about SVG related issues over here:
I'm planning on creating a python based plugin which will look at each of the objects in each root layer and allow you to combine them into a complete animation using svg animation (not javascript) primary support is just the path and transofrm animations and maybe style. I'll make it so you should be able to select the timing between each frame ect.
I'm posting this to the inkscape devel list for you guys to shoot down as many as the silly ideas as possible so we can come up with some nice improvements.
Best Regards, Martin Owens
On Wed, 2007-10-03 at 14:12 -0400, Martin Owens wrote:
Actually it might make sense to make it a preference. Something like specifying what happens to the other layers when one is selected exclusively.
That's a good idea in and of it's self, make the two things distinct functions and together they make a powerful control.
So one idea is to have a slider bar to change which layer is selected.
And the second idea is to be able to set some how what happens to other layers and the current layer such that it should be possible to make the current layer visible, the next and previous layers semi transparent and all other layers invisible. this would also be very cool for doing tracing and a bunch of other things.
For folks on the Devel list I think that there is some context missing from our earlier off list conversation.
What Martin is interested in doing is making it so that you can "focus" a particular layer. So instead of hiding all other layers you could make it so that all other layers are 10% opaque. I suggested that this could be part of the effort to add the ability to select a layer, or all but this layer, to the layers dialog.
The question became, what is a good interface? Should it be "alt-shift-esc-l-click" or should it be a preference in how you want the control to behave? What makes sense to people?
--Ted
On 10/7/07, Ted Gould <ted@...11...> wrote:
The question became, what is a good interface? Should it be "alt-shift-esc-l-click" or should it be a preference in how you want the control to behave? What makes sense to people?
I think the best would be not 10% transparency but per-layer outline mode. Unfortunately this is not possible just yet.
On Sun, 2007-10-07 at 21:36 -0300, bulia byak wrote:
On 10/7/07, Ted Gould <ted@...11...> wrote:
The question became, what is a good interface? Should it be "alt-shift-esc-l-click" or should it be a preference in how you want the control to behave? What makes sense to people?
I think the best would be not 10% transparency but per-layer outline mode. Unfortunately this is not possible just yet.
That wouldn't really work for tracing, where you'd want the bitmap to be lower contrast. Outline mode would just show the bitmap as a square.
--Ted
I think the best would be not 10% transparency but per-layer outline mode. Unfortunately this is not possible just yet.
That wouldn't really work for tracing, where you'd want the bitmap to be lower contrast. Outline mode would just show the bitmap as a square.
What perhaps needs to happen is a way to make inkscape force layer style sheets as a fundamental low level display parameter which is code-able to form such display effects that are being proposed here.
The outline mode as described would require a style sheet parameter which forces cascade to override later values, you can do with with css params such as !important but call it !allthewaydown or some such and while this data would never be saved to file it would be a useful directive to be able to control the display from within the data instead of setting up use one control logic in code.
All in all I don't think what I want to see is complex as such, perhaps what is difficult is explaining what is intended and then the guys with more experience with the code base can suggest better solutions then my above attempt.
Best Regards, Martin Owens
2007. 10. 7, vasárnap keltezéssel 22.39-kor Martin Owens ezt írta:
I think the best would be not 10% transparency but per-layer outline mode. Unfortunately this is not possible just yet.
That wouldn't really work for tracing, where you'd want the bitmap to be lower contrast. Outline mode would just show the bitmap as a square.
What perhaps needs to happen is a way to make inkscape force layer style sheets as a fundamental low level display parameter which is code-able to form such display effects that are being proposed here.
Hmm, Layer style sheet... It lets me thinking of print style. Define the object color/line width/transparency for printing, I think like autoCAD plot settings.
It is really useful for circuit diagram, or assembly illustration, etc.
What do you tink?
Best regards, Khiraly
Hmm, Layer style sheet... It lets me thinking of print style. Define the object color/line width/transparency for printing, I think like autoCAD plot settings.
It is really useful for circuit diagram, or assembly illustration, etc.
One of the problems with inkscape is that to ensure the styles of each element it specifies every style property in every object. this would have to be changed to have styles work their way up from layers or even the svg as a whole.
Best Regards, Martin Owens
On Wed, Oct 10, 2007 at 01:56:41PM -0400, Martin Owens wrote:
Hmm, Layer style sheet... It lets me thinking of print style. Define the object color/line width/transparency for printing, I think like autoCAD plot settings.
It is really useful for circuit diagram, or assembly illustration, etc.
One of the problems with inkscape is that to ensure the styles of each element it specifies every style property in every object. this would have to be changed to have styles work their way up from layers or even the svg as a whole.
Not quite, as you can set fill and stroke to be inherited in the dialogs, and then it derives those styles from higher up the hierarchy. Additionally, if you pull style information out through the XML editor, unless you reset the style, Inkscape won't try to force them back in. I use layer/group level styles all the time within Inkscape, and it works great for what I want to do.
One of these days, in my copious spare time, I'm going to try to write a script to pull out all the properties Inkscape automatically adds, and another to push common styles up the hierarchy so I can stop having to do it by hand :)
Jeff
participants (5)
-
bulia byak
-
Jeffrey Brent McBeth
-
Khiraly
-
Martin Owens
-
Ted Gould