I would like shapes having parameters such as width, scale, tile repeat qty the values of which are drawn automatically from variables defined in a textual list that I provide e.g.
width1 = 5
width2 = 15
If this is possible, how?
Thanks.
Parameterised geometry
Re: Parameterised geometry
Of course it's possible. Most things are. You just need to script it yourself to generate the svg file as per your requirements. Then you can open it in Inkscape (or a recent browser) to see the results of your efforts. You could use Inkscape's scripting ability (python) by writing your own plugin. That way you don't need to separately install a scripting language. You could also do this with "R" maths and graphing open source software package, which can also generate svg. So there's actually many ways of doing this, depending on any extra requirements on exactly how you want the shapes to come about and how much scripting you know or are willing to learn. Yet another choice is using xslt, if you're more comfortable with xml transformation technology instead of writing simple loops in a scripting language.
Re: Parameterised geometry
chriswww wrote:how much scripting you know or are willing to learn
I want a ready-made solution.
Re: Parameterised geometry
chrisjj wrote:chriswww wrote:how much scripting you know or are willing to learn
I want a ready-made solution.
Then you're out of luck.
There is an extension that will draw 3D Polyhedron (Extensions menu) and I think you can enter all the variables. But that's all know of. Maybe a CAD/autoCAD type program would do that, but I really don't know.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Parameterised geometry
brynn wrote:Then you're out of luck.
OK, thanks.
TurboCAD apparently - checking now.brynn wrote:Maybe a CAD/autoCAD type program would do that, but I really don't know.