Hello,
I need to import Inkscape files into an application that does not support markers.
So, I would like to convert used markers into objects (shapes or paths) while preserving the same orientation and position as the marker had.
I know about the 'Objects to marker' feature, is there a (sort of) 'reverse' feature as well that converts the markers of selected paths?
Cheers,
Convert marker to object
Re: Convert marker to object
Hi,
there is a reverse option for custom made markers in an svg document.
For the default marker objects, you can open the file share/inkscape/markers/markers.svg to see them all.
Markers are stored in the def section of svg documents, inkscape only uses an url to call them if they are set on a path.
By the application not supporting markers, I'm wondering how could you align, scale, and rotate the markers to the right positions.
there is a reverse option for custom made markers in an svg document.
For the default marker objects, you can open the file share/inkscape/markers/markers.svg to see them all.
Markers are stored in the def section of svg documents, inkscape only uses an url to call them if they are set on a path.
By the application not supporting markers, I'm wondering how could you align, scale, and rotate the markers to the right positions.
Re: Convert marker to object
'Path > Stroke to Path' might help (it converts markers into a group of objects).
If you need to keep the original path as a stroked path (i.e. not outlined):
If you need to keep the original path as a stroked path (i.e. not outlined):
- duplicate original path which uses markers (Ctrl+D)
- select duplicated path
- apply menu 'Path > Stroke to Path' (Ctrl+Alt+C)
(creates a group containing the outlined paths, and the markers as separate objects) - enter the group (Ctrl+Enter), use <TAB> to select bottom-most object (the outlined path) and delete it
- leave group (Ctrl+Backspace)
- select original path and remove markers (via Fill & Stroke dialog)
Re: Convert marker to object
Hi, is this topic still active?
I tried this way:
However it says no path is selected, and nothing happens.
Is there another way to convert a marker to a path?
I tried this way:
Path > Stroke to Path' might help (it converts markers into a group of objects).
However it says no path is selected, and nothing happens.
Is there another way to convert a marker to a path?
Re: Convert marker to object
you have to select the path first before stroke to path, make sure it is not in a group. it will be converted into a group. it may be useful to copy the path first so you can reinstate a stroked path and delete the filled path, keeping the markers. Note that the markers will be objects and no longer connected to nodes on the path
Your mind is what you think it is.