In the following example, I am trying to extend the equidistant transect lines to the perimeter of the circle. Now, I can do that manually by dragging the endpoints with mouse near the perimeter and using "cusp node to path" (some I already did this way in the following image). But I am looking for an option in the Inkscape to do that easily. Like, I select all the lines and circle and then using some operator(s) to connect/extend them automatically.
Now below is an example image. In the actual case, I have used path > trace bitmap > edge detection and then path > break apart of the image (I deleted some overlaying paths to get the actual shape below), so the transect lines can snap to outer nodes of vectorized image. [I figured this method by web searching. Could be a better way to do that of course! but it fulfills the purpose somehow) Now, I have drawn 100+ transect lines over the vector image to measure the extent that shape's perimeter through the y-axis (once the lines are drawn correctly, I will use the XML file to export the line distances). But manually drawing all these lines is time-consuming and error-prone. Is there any way to automatize this process?
I am using Inkscape 1.0 currently. I am quite new to Inkscape, so there might be an obvious solution available that I am missing somehow. Can anyone help me out here? Thanks in advance!
Hi janelalingat27, Thanks for your suggestions. But I already looked into youtube and did not find a better way to automatize the process. Perhaps I am missing the keywords here to find the exact tutorial. can you please provide the link or any further details or hints on keywords?
This is possible via Tiled Clones&Trace. In essence you draw a black circle underneath where the tiled clones appear checking Size/Presence at 3. Apply the value to the clones. The lines will just appear inside the black circle which you might delete afterwards and combine all lines to apply the stroke values/properties you want:
Thanks for your reply. I have tried your steps but the result came out a bit weird (image below). The steps I followed:
draw straight line > draw black circle beneath > create tiled clones (according to your screenshots)
I also tried with Shift Y: 100%(per row); but the only difference I got is a few more black lines inside the circle perimeter but they are not 50 in number and not equidistant plus the thickness varies, unlike your image. What I am doing wrong exactly here!? Can you please elaborate your steps again? Thanks in advance! I have also attached the .svg file, in case you want to have a look!
Many many thanks, TylerDurden! this is exactly what I was looking for! You just saved me from all the tedious work! But this process did not work in Inkscape 1.0 since the extension "PathOps" can not operate there, so I had to download the previous version. Is there any way to use previous and external extensions to run in the newer version? I liked the new version! the flipped y-axis used to bug me in 0.92.
Thanks a lot for the elaboration, PixelPest! I did exactly what you showed here. But for some reason, I keep getting the same error ( no equidistant line and the number of lines decreases while cloning).
Maybe I have screwed up some internal settings at some point when looking for solutions. But thanks anyway for your help and I've learned stuff from here obviously.
After a few tests it seems Tiled clones settings make it into file save. So here´s my file and a screenshot of the "Shift" tab as mentioned: I combine the resulting stripes to give them the same stroke settings.
Finally, it worked! This time, I use, according to your screenshot, per column > Shift X: 50%. by doing this, I can reproduce what you have done! Thanks again!
Hi,
In the following example, I am trying to extend the equidistant transect lines to the perimeter of the circle. Now, I can do that manually by dragging the endpoints with mouse near the perimeter and using "cusp node to path" (some I already did this way in the following image). But I am looking for an option in the Inkscape to do that easily. Like, I select all the lines and circle and then using some operator(s) to connect/extend them automatically.
Now below is an example image. In the actual case, I have used path > trace bitmap > edge detection and then path > break apart of the image (I deleted some overlaying paths to get the actual shape below), so the transect lines can snap to outer nodes of vectorized image. [I figured this method by web searching. Could be a better way to do that of course! but it fulfills the purpose somehow) Now, I have drawn 100+ transect lines over the vector image to measure the extent that shape's perimeter through the y-axis (once the lines are drawn correctly, I will use the XML file to export the line distances). But manually drawing all these lines is time-consuming and error-prone. Is there any way to automatize this process?
I am using Inkscape 1.0 currently. I am quite new to Inkscape, so there might be an obvious solution available that I am missing somehow. Can anyone help me out here? Thanks in advance!
Best,
Sharif
try to watch on youtube, there's a tutorial there
Hi janelalingat27,
Thanks for your suggestions. But I already looked into youtube and did not find a better way to automatize the process. Perhaps I am missing the keywords here to find the exact tutorial.
can you please provide the link or any further details or hints on keywords?
This is possible via Tiled Clones&Trace. In essence you draw a black circle underneath where the tiled clones appear checking Size/Presence at 3. Apply the value to the clones. The lines will just appear inside the black circle which you might delete afterwards and combine all lines to apply the stroke values/properties you want:
Hi PixelPest,
Thanks for your reply. I have tried your steps but the result came out a bit weird (image below). The steps I followed:
draw straight line > draw black circle beneath > create tiled clones (according to your screenshots)
I also tried with Shift Y: 100%(per row); but the only difference I got is a few more black lines inside the circle perimeter but they are not 50 in number and not equidistant plus the thickness varies, unlike your image. What I am doing wrong exactly here!? Can you please elaborate your steps again? Thanks in advance! I have also attached the .svg file, in case you want to have a look!
Best,
Sharif
downloadable svg file:
http://www.mediafire.com/file/su6rc248j238rhz/extension_of_lines_to_path.svg/file
Maybe this:
Seems you´re on the right track already:
Many many thanks, TylerDurden! this is exactly what I was looking for! You just saved me from all the tedious work! But this process did not work in Inkscape 1.0 since the extension "PathOps" can not operate there, so I had to download the previous version. Is there any way to use previous and external extensions to run in the newer version? I liked the new version! the flipped y-axis used to bug me in 0.92.
Thanks a lot for the elaboration, PixelPest! I did exactly what you showed here. But for some reason, I keep getting the same error ( no equidistant line and the number of lines decreases while cloning).
Maybe I have screwed up some internal settings at some point when looking for solutions. But thanks anyway for your help and I've learned stuff from here obviously.
Shall I screenshoot the "Shift"-values perhaps as I´m not 100% sure the settings will make it into a saved file?
would be interesting to see! I used 100% for y shift (per row) while x shift to 0%.
After a few tests it seems Tiled clones settings make it into file save. So here´s my file and a screenshot of the "Shift" tab as mentioned:
I combine the resulting stripes to give them the same stroke settings.
Finally, it worked! This time, I use, according to your screenshot, per column > Shift X: 50%. by doing this, I can reproduce what you have done! Thanks again!