Hi all,
The title may be a little confusing - I have no idea how to achieve this...
I have 6 strokes forming this texture:
Four 1pixel wide white lines with a black and grey stroke underneath - Each stroke going top to bottom.
I'd like to make curves using this basic setup, so that it works a bit like a 3 lane road with turns and arcs of different shapes - the white lines being the road markings.
Appreciate any ideas people may have, I don't want to redraw every stroke to fit a curve, but I might have to
Making curves using a group of strokes?
Re: Making curves using a group of strokes?
I don't think Inkscape supports this directly. You'd need path-based gradients or something.
The things that come to mind that you might investigate are:
* Pattern along Path. You would want a pattern that is like a horizontal sliver of what you showed.
* The Bend effect in the Paths Effects Editor. You'd start with a long straight road and bend it.
Hope one of those helps.
The things that come to mind that you might investigate are:
* Pattern along Path. You would want a pattern that is like a horizontal sliver of what you showed.
* The Bend effect in the Paths Effects Editor. You'd start with a long straight road and bend it.
Hope one of those helps.
Re: Making curves using a group of strokes?
Thanks for your thoughts Kjohrf.
I'll look a bit further into 'Pattern along Paths'. From what I read this morning it only supports one object, I have 6. But the tutorial I read that from may have been based on an old version of inkscape.
If anyone else has any ideas please also let me know!
I'll look a bit further into 'Pattern along Paths'. From what I read this morning it only supports one object, I have 6. But the tutorial I read that from may have been based on an old version of inkscape.
If anyone else has any ideas please also let me know!
Re: Making curves using a group of strokes?
Try grouping our strokes then object>object to pattern. Draw your curve then under fill and stroke apply pattern as stroke. Might work.
Re: Making curves using a group of strokes?
Thanks llogg, I'm about to give that a try now.
Quick question for everyone while I'm here, how do I stop these dotted lines appearing at the ends of my stroke:
I know it's to show the thickness of the stroke, but I've got my strokes ending at the nodes.
Quick question for everyone while I'm here, how do I stop these dotted lines appearing at the ends of my stroke:
I know it's to show the thickness of the stroke, but I've got my strokes ending at the nodes.
Re: Making curves using a group of strokes?
Pureon wrote:how do I stop these dotted lines appearing at the ends of my stroke
Choose one: (question: why do you want them to disappear? the current inkscape implementation of the visual bounding box concept includes half of the stroke width at the end nodes of straight lines segments, but that's mainly relevant for bbox snapping or filters respectively exporting a (filtered) selection to bitmap.)
Re: Making curves using a group of strokes?
… I know it can cause trouble for tricky snapping and aligning tasks. ;-)
Re: Making curves using a group of strokes?
~suv wrote:Choose one: (question: why do you want them to disappear? the current inkscape implementation of the visual bounding box concept includes half of the stroke width at the end nodes of straight lines segments, but that's mainly relevant for bbox snapping or filters respectively exporting a (filtered) selection to bitmap.)
I don't mind the dots, they are useful to have It's that they don't end where my stroke ends (I'm using Butt cap for measurement and alignment reasons). If the stroke is using Butt cap the dots should end where the stroke visually ends, not where the stroke would end 'if' you were using Square cap.
I turned the bounding box to Geometric, and it is far more practical for this new project I'm working on, so I'll keep that. If there was a thumbs-up smilie I would use it now!