Hi, that's my first message for this list, so let me introduce myself. My
name is Silveira Neto, I'm a brazilian student, last semester in computer
science. I'd like to say that I'm a happy Inkscape user, pleased to see all
improvements made recently.
I'm also a developer that uses a new, free and open technology for creating
RIA (Rich Internet Applications) called JavaFX. If someone is interested in
know more about JavaFX, you can see more here <http://javafx.com/>,
here<http://www.sun.com/software/javafx/index.jsp>or
here <https://openjfx.dev.java.net/>.
JavaFX is heavily graphicaly based and it's elements resembles much SVG
elements. In fact, the main creator of JavaFX created a
tool<http://blogs.sun.com/chrisoliver/entry/javafx_svg_translator_preview>that
translates SVG to JavaFX.
I'd like to suggest a plugin for exporting Inkscape drawings to JavaFX, so
developers could draw with Inkscape, export and program the logic with
JavaFX. That extension just would have to export the drawing to a raw text
.jfx file. The syntax is quite
simple<https://openjfx.dev.java.net/learning.html>and I can help with
it. I guess that Inkscape extensions are made in Python,
right? I'd like to know where I can find more documentation about writing
Inkscape extensions, I know a little bit of Python, I could try it.
As JavaFX and SVG graphical entities are similar (like shapes, paints,
gradientes, paths, etc) you guys think that is possible to make such plugin
for Inkscape?
Someone would be interested in help me?
Thanks.
--
-------
silveiraneto.neteupodiatamatando.com
Steren:
> Can't all this be done with Filter Effects ?
Yes but filters are really hard to use and don't have any intuitive
way of editing on canvas. Fortunately, most of the people I heard
talking about this agree.
> LPE are for paths, what you propose is more for style. And the filter
> effects are here to dynamicaly modify the style.
> I'm used to the LPE code, and your ideas require a total rewrite of the
> actual LPE system.
Understood. I misunderstood LPE's purpose.
> Did you have a look to the "Drop Shadow" pre made filter effect ?
> (Effects>Filter> Drop shadow and Object > Filter Effect to see how it's
> made).
>
> I would agree that the Filter Effects UI is too technical and that a UI for
> some pre-made filter could be great for a better control.
I tried that pre-made filter and for drop-shadows something like that
is what i was looking for.The problem is that currently, filters are
hard to edit and a tool serving as front end would be much better. I
think the same would apply for the rest of proposed "LPEs". Your
thoughts?
Johan:
> I thought up a solution that unfortunately does not work:
> - clone original path and apply LPE to the clone
> - adjust the style of the clone to whatever you want.
> I checked but unfortunately this does not work, because the original
> path's style overrides the clones' style :(
A filter would avoid the need for clones/copies. So i think is the way to go.
Aside from this, I have added some examples of the results I would
like to see for BEVEL tool (i won't call it LPE anymore):
http://wiki.inkscape.org/wiki/index.php/SpecBevelLPE
As you see, is not something doable with LPEs because style of the
bevel has to be editable and not inherited from the object.
In this case filters doesn't seem to achieve this although some of the
pre-made filters give a "3D", relief or emboss effect but not like my
mockup. I actually think the emboss tool could be made with filters.
In some way, the bevel tool would be like the 3d box tool: both create
a group editable with the tool, or you can edit the elements of the
group sepparately if you ungroup it.
Regards.
PS: Steren, sorry for sending you this message twice.