I wondered whether you guys agree with me that examples could be
useful in some extensions? With most extensions, you can create the
desired result by trial-and-error (using the Live Preview function).
However, other extensions aren't really self-explanatory (like the
Lindenmayer System extension). Although there is a description how
it can be used, most users won't understand what you can create with
the extension. Therefore, I proposed to implement a list of examples
(or a tab "Examples").
I would like to implement it myself, but I don't know where to
start. I found some documentation about the INX files:
Maybe with a <script> environment, it would be possible to
automatically assign appropriate values to the fields?
On 10/27/2010 06:12 PM, Pieter Barendrecht wrote:
I'm currently working on an expansion of the L-System Extension
(just for fun, getting to know XML and Python). I implemented an
extra parameter "Factor", such that the fractal scales with each
level. More info about this at the Inkscape Forums: http://www.inkscapeforum.com/viewtopic.php?f=5&t=6411
The thing is, I would like to include some examples in the
extension. I thought of a drop-down menu (an "enum" type), with
entries like "Koch Snowflake" and "Pythagoras Tree".
<param name="Examples" type="enum"
When the user clicks on such an entry, appropriate values should
be assigned to the fields (e.g. Axiom="F", Rules="F=F+F+F",
I wondered whether this is possible using XML, or the Relax NG
So to be clear, the GUI-part isn't a problem. The UI looks like
this at the moment: http://www.redpanda.nl/ExamplesInkscape.png
However, the "auto-assign" function needs to be implemented yet.
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
Inkscape-devel mailing list