I'm quite new to writing Inkscape extension, but I like the program itself and I've been using it for various things over the years.
I'd love to use Inkscape for webdesign, but there are a few things which makes it harder than I'd like to... and I'm not sure if I can solve it through Extensions as they seems to be quite limited at the first glance, or I need to create a fork / start participating in other ways - could you advise if creating these kind of extensions is even possible or what would be the best route here?
The ideas of extensions:
Currently working with classes is quite hard, I'd like to create a dialog (similar to selectors & css) where I can define styles (for example "h1" - Open Sans 24, bold) and have an ability to assign these classes to specific objects (ideally) by right click and choosing from context menu style->h1. In this way I'd manage not only fonts but also objects itself for example boxA which has white bg, and border on the top 1px etc....
Have configurable keyword + option to toggle it on/off - for measurements. Currently if I have an item, it's pretty hard to know how far it's moved from other objects near it. The idea is that I'd like to press left control, and start moving mouse around and start seeing lines with distance (similar to selection on ruler or recognition of similar distances) between elements under the cursor and surrounding elements (edges)
Add margin/padding to the object definition, similarly how this is done in "Guide Creation Tool" extension but instead of using guidelines, to incorporate it into rect. In this case I'd be able to define margin or padding and when moving elements it would snap to margin/padding and not only to the main box. I know that SVG standard does not define padding, but it should be just like "guidelines" for design and not something what has to be exported, in which case I could use either specific attribute inside of element class or even created named guidelines which would appear only when needed (similarly like dashed lines when you snap to different object which by default does not have border, but inkscape creates it on demand when needed).
Sorry for lengthy post, I have a few more ideas, but I just wanted to highlight the main types of features I'd like to be able to achieve and I'd like to find the best way of doing so.
Hi,
I'm quite new to writing Inkscape extension, but I like the program itself and I've been using it for various things over the years.
I'd love to use Inkscape for webdesign, but there are a few things which makes it harder than I'd like to... and I'm not sure if I can solve it through Extensions as they seems to be quite limited at the first glance, or I need to create a fork / start participating in other ways - could you advise if creating these kind of extensions is even possible or what would be the best route here?
The ideas of extensions:
Sorry for lengthy post, I have a few more ideas, but I just wanted to highlight the main types of features I'd like to be able to achieve and I'd like to find the best way of doing so.
The extension system, other than the live preview checkbox is not interactive.
The SVG is sent to the extension system by the gui, is processed, then returned.
To do what you want to do would require adding to the main code base.
I can only do simple python.
Ask in https://chat.inkscape.org/channel/team_devel for more advice :)