Is it possible to create a line symbol library?
-
- Posts: 4
- Joined: Wed May 25, 2016 12:21 am
Is it possible to create a line symbol library?
Hello,
in Inkscape, it is possible to create a symbol library. I would like to create a symbol library with line symbols. So, when I draw a line, I can assign one of these line symbols to my line. Is this possible?
Thanks,
Barbara
in Inkscape, it is possible to create a symbol library. I would like to create a symbol library with line symbols. So, when I draw a line, I can assign one of these line symbols to my line. Is this possible?
Thanks,
Barbara
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Is it possible to create a line symbol library?
Hi Barbara !
What do you mean with line symbols ?
Is it something like dashes and markers (stroke style) ?
What do you mean with line symbols ?
Is it something like dashes and markers (stroke style) ?
-
- Posts: 4
- Joined: Wed May 25, 2016 12:21 am
Re: Is it possible to create a line symbol library?
Examples of line symbols:
- Dashed red line with certain width
- Solid green line with certain width
- Dashed red line with certain width
- Solid green line with certain width
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Is it possible to create a line symbol library?
A solid green line can be made by giving your line a stroke of whatever width and color you like.
A dashed red line is possible by using dashes in the Stroke Style dialogue.
For more complex symbols you can make custom markers or use 'Pattern along path'.
http://tavmjong.free.fr/INKSCAPE/MANUAL ... oke-Dashes
.
A dashed red line is possible by using dashes in the Stroke Style dialogue.
For more complex symbols you can make custom markers or use 'Pattern along path'.
http://tavmjong.free.fr/INKSCAPE/MANUAL ... oke-Dashes
.
- Attachments
-
- dashes.jpg (41.98 KiB) Viewed 3760 times
-
- Posts: 4
- Joined: Wed May 25, 2016 12:21 am
Re: Is it possible to create a line symbol library?
My question is not how to create line strokes. My question is how to create predefined line strokes that can be used as templates. For example, I have predefined line strokes for river, border, street, railway, and so on. When I draw a line, I would like to assign one of these predefined strokes to it.
- Espermaschine
- Posts: 892
- Joined: Thu Jun 05, 2014 9:10 pm
Re: Is it possible to create a line symbol library?
Hmm, that sounds a bit more complex.
Its always good to know the context of the project.
Rivers, street, railways.... that sounds like a map project.
Maybe something like Pattern along path in companion with a Bend LPE can give you the result you are looking for.
I think we need to know more about your project.
Its always good to know the context of the project.
Rivers, street, railways.... that sounds like a map project.
Maybe something like Pattern along path in companion with a Bend LPE can give you the result you are looking for.
I think we need to know more about your project.
Re: Is it possible to create a line symbol library?
You could create one object for each style, put it into the file in a place off the page (or use in the map's legend), then copy-paste the style of the corresponding object, using Ctrl+C, Ctrl+Shift+V.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
-
- Posts: 4
- Joined: Wed May 25, 2016 12:21 am
Re: Is it possible to create a line symbol library?
Thank you for your replies! I think they answer my question at the moment.
Re: Is it possible to create a line symbol library?
the lack of style browser is one of the top weakness of inkscape imho
Re: Is it possible to create a line symbol library?
Good that it's a Google Summer of Code project this year, then 

Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Is it possible to create a line symbol library?
This is the first of a 3-part tutorial: http://verysimpledesigns.com/vectors/in ... rders.html
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: Is it possible to create a line symbol library?
I know it comes a bit later for Barbara, but for futrure reference I found this:
https://medium.com/@xaviju/creating-you ... .rjosmzwji
https://medium.com/@xaviju/creating-you ... .rjosmzwji
Re: Is it possible to create a line symbol library?
I don't think that really addresses Barbara's original request (essentially for a simple way to store and re-apply stroke parameters), but looks like a useful resource nonetheless.
-
- Posts: 1
- Joined: Thu Mar 09, 2017 9:13 pm
Re: Is it possible to create a line symbol library?
I myself looking for that option - to be able to migrate from Illustrator were it is rather easy to do. You can make different lines of different types to add into a library and then just click in the library to use it. Like making a leaf (or any symbol or just a special line), then when drawing it will be long or short depending of the distance you make your line!
Re: Is it possible to create a line symbol library?
In Inkscape, the stroke styles need to be added to the preferences file. I think Brynn had a link to a post that explained how...
Basically, you'd need to create your dash pattern by editing the xml in the svg file, like this:
viewtopic.php?t=2400
More info here:
http://tutorials.jenkov.com/svg/stroke. ... dashoffset
Then you can add that new dash pattern into the appropriate place inside your preferences.xml file.
Basically, you'd need to create your dash pattern by editing the xml in the svg file, like this:
viewtopic.php?t=2400
More info here:
http://tutorials.jenkov.com/svg/stroke. ... dashoffset
Then you can add that new dash pattern into the appropriate place inside your preferences.xml file.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)