Draw simple lines in Inkscape The 2019 Stack Overflow Developer Survey Results Are InCreate and Edit parallel “bus” lines in InkscapeInkscape 0.91 Freehand shape issuesEdit Multiple Freehand Stroke Widths at Once in InkscapeHow to create circular “returning” arrows in InkscapeHow to snap end points of straight lines to form connected triangles?Create a simple table with some annotations (Inkscape?)Path with rounded corners in inkscapeInkscape - How to remove this lines when exporting (image example)Inkscape - Feynman DiagramsHow to make path that follows fill of existing path?

A word that means fill it to the required quantity

I am an eight letter word. What am I?

Does adding complexity mean a more secure cipher?

Loose spokes after only a few rides

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

Dropping list elements from nested list after evaluation

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Flight paths in orbit around Ceres?

What do these terms in Caesar's Gallic wars mean?

Why can't devices on different VLANs, but on the same subnet, communicate?

Is it okay to consider publishing in my first year of PhD?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

Why not take a picture of a closer black hole?

Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?

How to obtain a position of last non-zero element

What is preventing me from simply constructing a hash that's lower than the current target?

Correct punctuation for showing a character's confusion

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

What do I do when my TA workload is more than expected?

ODD NUMBER in Cognitive Linguistics of WILLIAM CROFT and D. ALAN CRUSE

The phrase "to the numbers born"?



Draw simple lines in Inkscape



The 2019 Stack Overflow Developer Survey Results Are InCreate and Edit parallel “bus” lines in InkscapeInkscape 0.91 Freehand shape issuesEdit Multiple Freehand Stroke Widths at Once in InkscapeHow to create circular “returning” arrows in InkscapeHow to snap end points of straight lines to form connected triangles?Create a simple table with some annotations (Inkscape?)Path with rounded corners in inkscapeInkscape - How to remove this lines when exporting (image example)Inkscape - Feynman DiagramsHow to make path that follows fill of existing path?










11















I can draw lines in Inkscape (with Bezier tool or freehand line tool), but they appear as path objects and when I save it, in the svg file they are also appear as path.
My question is: How can I draw and save lines as line and not as path with Inkscape?










share|improve this question







New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Hi. Welcome to GDSE. Can I ask why you want to do that? What do you hope to gain? What specifically are you trying to do?

    – Billy Kerr
    Apr 7 at 14:26











  • @BillyKerr I guessed he wants to give some input to some already existing program which expects SVG line commands.

    – user287001
    Apr 7 at 14:30






  • 1





    But that can solve the problem , if the questioner has a possiblity to run Illustrator. Add it to your answer!

    – user287001
    Apr 7 at 14:47






  • 1





    @user287001 - well this is weird. Inkscape sees a line segment, but there's no way to create one! See example line segment imported from Illustrator

    – Billy Kerr
    Apr 7 at 14:48






  • 2





    Sorry for the late reply. As user287001 mentioned I have to give SVG as an input and it expects lines. I was wondering if Inkscape can create lines, since it sees lines and if you open an SVG containing lines, you can modify it and save it, and it remains line.

    – Zoltán
    Apr 7 at 15:18















11















I can draw lines in Inkscape (with Bezier tool or freehand line tool), but they appear as path objects and when I save it, in the svg file they are also appear as path.
My question is: How can I draw and save lines as line and not as path with Inkscape?










share|improve this question







New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Hi. Welcome to GDSE. Can I ask why you want to do that? What do you hope to gain? What specifically are you trying to do?

    – Billy Kerr
    Apr 7 at 14:26











  • @BillyKerr I guessed he wants to give some input to some already existing program which expects SVG line commands.

    – user287001
    Apr 7 at 14:30






  • 1





    But that can solve the problem , if the questioner has a possiblity to run Illustrator. Add it to your answer!

    – user287001
    Apr 7 at 14:47






  • 1





    @user287001 - well this is weird. Inkscape sees a line segment, but there's no way to create one! See example line segment imported from Illustrator

    – Billy Kerr
    Apr 7 at 14:48






  • 2





    Sorry for the late reply. As user287001 mentioned I have to give SVG as an input and it expects lines. I was wondering if Inkscape can create lines, since it sees lines and if you open an SVG containing lines, you can modify it and save it, and it remains line.

    – Zoltán
    Apr 7 at 15:18













11












11








11








I can draw lines in Inkscape (with Bezier tool or freehand line tool), but they appear as path objects and when I save it, in the svg file they are also appear as path.
My question is: How can I draw and save lines as line and not as path with Inkscape?










share|improve this question







New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I can draw lines in Inkscape (with Bezier tool or freehand line tool), but they appear as path objects and when I save it, in the svg file they are also appear as path.
My question is: How can I draw and save lines as line and not as path with Inkscape?







inkscape






share|improve this question







New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 7 at 13:11









ZoltánZoltán

1584




1584




New contributor




Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Zoltán is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Hi. Welcome to GDSE. Can I ask why you want to do that? What do you hope to gain? What specifically are you trying to do?

    – Billy Kerr
    Apr 7 at 14:26











  • @BillyKerr I guessed he wants to give some input to some already existing program which expects SVG line commands.

    – user287001
    Apr 7 at 14:30






  • 1





    But that can solve the problem , if the questioner has a possiblity to run Illustrator. Add it to your answer!

    – user287001
    Apr 7 at 14:47






  • 1





    @user287001 - well this is weird. Inkscape sees a line segment, but there's no way to create one! See example line segment imported from Illustrator

    – Billy Kerr
    Apr 7 at 14:48






  • 2





    Sorry for the late reply. As user287001 mentioned I have to give SVG as an input and it expects lines. I was wondering if Inkscape can create lines, since it sees lines and if you open an SVG containing lines, you can modify it and save it, and it remains line.

    – Zoltán
    Apr 7 at 15:18

















  • Hi. Welcome to GDSE. Can I ask why you want to do that? What do you hope to gain? What specifically are you trying to do?

    – Billy Kerr
    Apr 7 at 14:26











  • @BillyKerr I guessed he wants to give some input to some already existing program which expects SVG line commands.

    – user287001
    Apr 7 at 14:30






  • 1





    But that can solve the problem , if the questioner has a possiblity to run Illustrator. Add it to your answer!

    – user287001
    Apr 7 at 14:47






  • 1





    @user287001 - well this is weird. Inkscape sees a line segment, but there's no way to create one! See example line segment imported from Illustrator

    – Billy Kerr
    Apr 7 at 14:48






  • 2





    Sorry for the late reply. As user287001 mentioned I have to give SVG as an input and it expects lines. I was wondering if Inkscape can create lines, since it sees lines and if you open an SVG containing lines, you can modify it and save it, and it remains line.

    – Zoltán
    Apr 7 at 15:18
















Hi. Welcome to GDSE. Can I ask why you want to do that? What do you hope to gain? What specifically are you trying to do?

– Billy Kerr
Apr 7 at 14:26





Hi. Welcome to GDSE. Can I ask why you want to do that? What do you hope to gain? What specifically are you trying to do?

– Billy Kerr
Apr 7 at 14:26













@BillyKerr I guessed he wants to give some input to some already existing program which expects SVG line commands.

– user287001
Apr 7 at 14:30





@BillyKerr I guessed he wants to give some input to some already existing program which expects SVG line commands.

– user287001
Apr 7 at 14:30




1




1





But that can solve the problem , if the questioner has a possiblity to run Illustrator. Add it to your answer!

– user287001
Apr 7 at 14:47





But that can solve the problem , if the questioner has a possiblity to run Illustrator. Add it to your answer!

– user287001
Apr 7 at 14:47




1




1





@user287001 - well this is weird. Inkscape sees a line segment, but there's no way to create one! See example line segment imported from Illustrator

– Billy Kerr
Apr 7 at 14:48





@user287001 - well this is weird. Inkscape sees a line segment, but there's no way to create one! See example line segment imported from Illustrator

– Billy Kerr
Apr 7 at 14:48




2




2





Sorry for the late reply. As user287001 mentioned I have to give SVG as an input and it expects lines. I was wondering if Inkscape can create lines, since it sees lines and if you open an SVG containing lines, you can modify it and save it, and it remains line.

– Zoltán
Apr 7 at 15:18





Sorry for the late reply. As user287001 mentioned I have to give SVG as an input and it expects lines. I was wondering if Inkscape can create lines, since it sees lines and if you open an SVG containing lines, you can modify it and save it, and it remains line.

– Zoltán
Apr 7 at 15:18










2 Answers
2






active

oldest

votes


















11














TLDR: You can't really, but you can kind of*



In Inkscape lines, or shapes (except for rectangles**), are generally constructed using the concept of vector paths, to which fills and strokes are applied. That's how the software works. There's no Line Segment Tool in Inkscape, like the one in Illustrator.



*It is possible to link or embed raster images in Inkscape and other vector image editors, but these will remain as raster images made of pixels. It's also possible to rasterize objects made in Inkscape using Edit > Make Bitmap Copy, but again these will then be made of pixels, and not vector.



*Also, you could use underscore characters to make a line, which would of course be a text object, rather than a path. But then again, strictly speaking, fonts are still made of vector paths.



**Also possible is to create a long rectangle, and fill it. Technically not a path as such, but an SVG rect object, as you will see if you examine the XML code.



Edit: further to the comments with user287001, it would seem there are other possibilities. Illustrator has a Line Segment Tool, and a line made with it, and exported as SVG, will create an SVG line object. Another possibility is to hand code the line segment. Shouldn't be too hard to hack it. And strangely enough Inkscape can see these SVG elements if you open such an SVG in Inkscape.



Here's an example SVG line segment that seems to work in Inkscape, you just can't create one with a tool, nor edit the end points with a tool using the GUI. You can rotate it, and stretch it though.



 <line
x1="37.770248"
y1="32.135063"
x2="80.329521"
y2="18.314875"
id="line1"
style="fill:none;stroke:#231f20;stroke-width:0.48102528;stroke-miterlimit:10" />





share|improve this answer

























  • Thanks for your answer.

    – Zoltán
    Apr 7 at 15:20











  • @Zoltán that was fun!!

    – Billy Kerr
    Apr 7 at 15:21






  • 1





    If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

    – Wildcard
    2 days ago











  • I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

    – Billy Kerr
    2 days ago


















6














Inkscape seems to create XML code for a path even if you draw a straight line segment with the pen tool in straight line mode. I guess some programming is needed either for converting path commands to SVG line commands or for creating a drawing tool which creates internally SVG line expressions.



Unfortunately I cannot show such Inkscape extension program and even less I can make one. But check this discussion in the sister site: https://stackoverflow.com/questions/9102563/turn-svg-path-into-line-segments



A quick search popped out also this code. https://jsfiddle.net/fq9n7f76/18/



I must admit I cannot see is it valid, but it seems to ouput polylines. Hopefully you can read and speak this language better.



Some CAD programs can export the wanted SVG lines. I have checked that at least LibreCAD does it because some CAM-tools want it. LibreCAD is freeware. Check, if you can do your drawing work there.






share|improve this answer

























  • Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

    – Zoltán
    Apr 7 at 15:26











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "174"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Zoltán is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgraphicdesign.stackexchange.com%2fquestions%2f122300%2fdraw-simple-lines-in-inkscape%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









11














TLDR: You can't really, but you can kind of*



In Inkscape lines, or shapes (except for rectangles**), are generally constructed using the concept of vector paths, to which fills and strokes are applied. That's how the software works. There's no Line Segment Tool in Inkscape, like the one in Illustrator.



*It is possible to link or embed raster images in Inkscape and other vector image editors, but these will remain as raster images made of pixels. It's also possible to rasterize objects made in Inkscape using Edit > Make Bitmap Copy, but again these will then be made of pixels, and not vector.



*Also, you could use underscore characters to make a line, which would of course be a text object, rather than a path. But then again, strictly speaking, fonts are still made of vector paths.



**Also possible is to create a long rectangle, and fill it. Technically not a path as such, but an SVG rect object, as you will see if you examine the XML code.



Edit: further to the comments with user287001, it would seem there are other possibilities. Illustrator has a Line Segment Tool, and a line made with it, and exported as SVG, will create an SVG line object. Another possibility is to hand code the line segment. Shouldn't be too hard to hack it. And strangely enough Inkscape can see these SVG elements if you open such an SVG in Inkscape.



Here's an example SVG line segment that seems to work in Inkscape, you just can't create one with a tool, nor edit the end points with a tool using the GUI. You can rotate it, and stretch it though.



 <line
x1="37.770248"
y1="32.135063"
x2="80.329521"
y2="18.314875"
id="line1"
style="fill:none;stroke:#231f20;stroke-width:0.48102528;stroke-miterlimit:10" />





share|improve this answer

























  • Thanks for your answer.

    – Zoltán
    Apr 7 at 15:20











  • @Zoltán that was fun!!

    – Billy Kerr
    Apr 7 at 15:21






  • 1





    If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

    – Wildcard
    2 days ago











  • I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

    – Billy Kerr
    2 days ago















11














TLDR: You can't really, but you can kind of*



In Inkscape lines, or shapes (except for rectangles**), are generally constructed using the concept of vector paths, to which fills and strokes are applied. That's how the software works. There's no Line Segment Tool in Inkscape, like the one in Illustrator.



*It is possible to link or embed raster images in Inkscape and other vector image editors, but these will remain as raster images made of pixels. It's also possible to rasterize objects made in Inkscape using Edit > Make Bitmap Copy, but again these will then be made of pixels, and not vector.



*Also, you could use underscore characters to make a line, which would of course be a text object, rather than a path. But then again, strictly speaking, fonts are still made of vector paths.



**Also possible is to create a long rectangle, and fill it. Technically not a path as such, but an SVG rect object, as you will see if you examine the XML code.



Edit: further to the comments with user287001, it would seem there are other possibilities. Illustrator has a Line Segment Tool, and a line made with it, and exported as SVG, will create an SVG line object. Another possibility is to hand code the line segment. Shouldn't be too hard to hack it. And strangely enough Inkscape can see these SVG elements if you open such an SVG in Inkscape.



Here's an example SVG line segment that seems to work in Inkscape, you just can't create one with a tool, nor edit the end points with a tool using the GUI. You can rotate it, and stretch it though.



 <line
x1="37.770248"
y1="32.135063"
x2="80.329521"
y2="18.314875"
id="line1"
style="fill:none;stroke:#231f20;stroke-width:0.48102528;stroke-miterlimit:10" />





share|improve this answer

























  • Thanks for your answer.

    – Zoltán
    Apr 7 at 15:20











  • @Zoltán that was fun!!

    – Billy Kerr
    Apr 7 at 15:21






  • 1





    If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

    – Wildcard
    2 days ago











  • I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

    – Billy Kerr
    2 days ago













11












11








11







TLDR: You can't really, but you can kind of*



In Inkscape lines, or shapes (except for rectangles**), are generally constructed using the concept of vector paths, to which fills and strokes are applied. That's how the software works. There's no Line Segment Tool in Inkscape, like the one in Illustrator.



*It is possible to link or embed raster images in Inkscape and other vector image editors, but these will remain as raster images made of pixels. It's also possible to rasterize objects made in Inkscape using Edit > Make Bitmap Copy, but again these will then be made of pixels, and not vector.



*Also, you could use underscore characters to make a line, which would of course be a text object, rather than a path. But then again, strictly speaking, fonts are still made of vector paths.



**Also possible is to create a long rectangle, and fill it. Technically not a path as such, but an SVG rect object, as you will see if you examine the XML code.



Edit: further to the comments with user287001, it would seem there are other possibilities. Illustrator has a Line Segment Tool, and a line made with it, and exported as SVG, will create an SVG line object. Another possibility is to hand code the line segment. Shouldn't be too hard to hack it. And strangely enough Inkscape can see these SVG elements if you open such an SVG in Inkscape.



Here's an example SVG line segment that seems to work in Inkscape, you just can't create one with a tool, nor edit the end points with a tool using the GUI. You can rotate it, and stretch it though.



 <line
x1="37.770248"
y1="32.135063"
x2="80.329521"
y2="18.314875"
id="line1"
style="fill:none;stroke:#231f20;stroke-width:0.48102528;stroke-miterlimit:10" />





share|improve this answer















TLDR: You can't really, but you can kind of*



In Inkscape lines, or shapes (except for rectangles**), are generally constructed using the concept of vector paths, to which fills and strokes are applied. That's how the software works. There's no Line Segment Tool in Inkscape, like the one in Illustrator.



*It is possible to link or embed raster images in Inkscape and other vector image editors, but these will remain as raster images made of pixels. It's also possible to rasterize objects made in Inkscape using Edit > Make Bitmap Copy, but again these will then be made of pixels, and not vector.



*Also, you could use underscore characters to make a line, which would of course be a text object, rather than a path. But then again, strictly speaking, fonts are still made of vector paths.



**Also possible is to create a long rectangle, and fill it. Technically not a path as such, but an SVG rect object, as you will see if you examine the XML code.



Edit: further to the comments with user287001, it would seem there are other possibilities. Illustrator has a Line Segment Tool, and a line made with it, and exported as SVG, will create an SVG line object. Another possibility is to hand code the line segment. Shouldn't be too hard to hack it. And strangely enough Inkscape can see these SVG elements if you open such an SVG in Inkscape.



Here's an example SVG line segment that seems to work in Inkscape, you just can't create one with a tool, nor edit the end points with a tool using the GUI. You can rotate it, and stretch it though.



 <line
x1="37.770248"
y1="32.135063"
x2="80.329521"
y2="18.314875"
id="line1"
style="fill:none;stroke:#231f20;stroke-width:0.48102528;stroke-miterlimit:10" />






share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 7 at 15:19

























answered Apr 7 at 13:30









Billy KerrBilly Kerr

28.6k22260




28.6k22260












  • Thanks for your answer.

    – Zoltán
    Apr 7 at 15:20











  • @Zoltán that was fun!!

    – Billy Kerr
    Apr 7 at 15:21






  • 1





    If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

    – Wildcard
    2 days ago











  • I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

    – Billy Kerr
    2 days ago

















  • Thanks for your answer.

    – Zoltán
    Apr 7 at 15:20











  • @Zoltán that was fun!!

    – Billy Kerr
    Apr 7 at 15:21






  • 1





    If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

    – Wildcard
    2 days ago











  • I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

    – Billy Kerr
    2 days ago
















Thanks for your answer.

– Zoltán
Apr 7 at 15:20





Thanks for your answer.

– Zoltán
Apr 7 at 15:20













@Zoltán that was fun!!

– Billy Kerr
Apr 7 at 15:21





@Zoltán that was fun!!

– Billy Kerr
Apr 7 at 15:21




1




1





If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

– Wildcard
2 days ago





If anyone wants to request this feature, here is the page where you can do so. I would do it myself, but I'm not sure I understand the use case well enough.

– Wildcard
2 days ago













I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

– Billy Kerr
2 days ago





I was trying to find that page for the OP, but failed to do so. Thanks so much for sharing the link!

– Billy Kerr
2 days ago











6














Inkscape seems to create XML code for a path even if you draw a straight line segment with the pen tool in straight line mode. I guess some programming is needed either for converting path commands to SVG line commands or for creating a drawing tool which creates internally SVG line expressions.



Unfortunately I cannot show such Inkscape extension program and even less I can make one. But check this discussion in the sister site: https://stackoverflow.com/questions/9102563/turn-svg-path-into-line-segments



A quick search popped out also this code. https://jsfiddle.net/fq9n7f76/18/



I must admit I cannot see is it valid, but it seems to ouput polylines. Hopefully you can read and speak this language better.



Some CAD programs can export the wanted SVG lines. I have checked that at least LibreCAD does it because some CAM-tools want it. LibreCAD is freeware. Check, if you can do your drawing work there.






share|improve this answer

























  • Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

    – Zoltán
    Apr 7 at 15:26















6














Inkscape seems to create XML code for a path even if you draw a straight line segment with the pen tool in straight line mode. I guess some programming is needed either for converting path commands to SVG line commands or for creating a drawing tool which creates internally SVG line expressions.



Unfortunately I cannot show such Inkscape extension program and even less I can make one. But check this discussion in the sister site: https://stackoverflow.com/questions/9102563/turn-svg-path-into-line-segments



A quick search popped out also this code. https://jsfiddle.net/fq9n7f76/18/



I must admit I cannot see is it valid, but it seems to ouput polylines. Hopefully you can read and speak this language better.



Some CAD programs can export the wanted SVG lines. I have checked that at least LibreCAD does it because some CAM-tools want it. LibreCAD is freeware. Check, if you can do your drawing work there.






share|improve this answer

























  • Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

    – Zoltán
    Apr 7 at 15:26













6












6








6







Inkscape seems to create XML code for a path even if you draw a straight line segment with the pen tool in straight line mode. I guess some programming is needed either for converting path commands to SVG line commands or for creating a drawing tool which creates internally SVG line expressions.



Unfortunately I cannot show such Inkscape extension program and even less I can make one. But check this discussion in the sister site: https://stackoverflow.com/questions/9102563/turn-svg-path-into-line-segments



A quick search popped out also this code. https://jsfiddle.net/fq9n7f76/18/



I must admit I cannot see is it valid, but it seems to ouput polylines. Hopefully you can read and speak this language better.



Some CAD programs can export the wanted SVG lines. I have checked that at least LibreCAD does it because some CAM-tools want it. LibreCAD is freeware. Check, if you can do your drawing work there.






share|improve this answer















Inkscape seems to create XML code for a path even if you draw a straight line segment with the pen tool in straight line mode. I guess some programming is needed either for converting path commands to SVG line commands or for creating a drawing tool which creates internally SVG line expressions.



Unfortunately I cannot show such Inkscape extension program and even less I can make one. But check this discussion in the sister site: https://stackoverflow.com/questions/9102563/turn-svg-path-into-line-segments



A quick search popped out also this code. https://jsfiddle.net/fq9n7f76/18/



I must admit I cannot see is it valid, but it seems to ouput polylines. Hopefully you can read and speak this language better.



Some CAD programs can export the wanted SVG lines. I have checked that at least LibreCAD does it because some CAM-tools want it. LibreCAD is freeware. Check, if you can do your drawing work there.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 7 at 19:20

























answered Apr 7 at 13:43









user287001user287001

24k21239




24k21239












  • Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

    – Zoltán
    Apr 7 at 15:26

















  • Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

    – Zoltán
    Apr 7 at 15:26
















Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

– Zoltán
Apr 7 at 15:26





Thanks for your answer. Yes, I can speak that language, since I'm a programmer not a designer :)

– Zoltán
Apr 7 at 15:26










Zoltán is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Zoltán is a new contributor. Be nice, and check out our Code of Conduct.












Zoltán is a new contributor. Be nice, and check out our Code of Conduct.











Zoltán is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Graphic Design Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgraphicdesign.stackexchange.com%2fquestions%2f122300%2fdraw-simple-lines-in-inkscape%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos