: Convert stroke to path my question probably falls into expected behaviour category, but i'd like to understand how to do it right. im working on a design for microfluidic channels that needs
my question probably falls into expected behaviour category, but i'd like to understand how to do it right.
im working on a design for microfluidic channels that needs to be an exact width of "channel" and "walls" (fill/stroke).
my limitation, i need the fill/channel to always stay the same width, no matter if i bend or whatever. ultimately i would like to draw a line, add stroke to that stroke/line(?) then be able to union it with other channels
TLDR; how do i create a shape like this, with exact inner channels?
maybe my wants are not in line
1. with the SVG spec
2. Facilitate outset/inset by half stroke width - /inkscape/+bug/170898)
More posts by @Tiffany317
1 Comments
Sorted by latest first Latest Oldest Best
There are multiple ways to achieve this, but the easiest way to create that shape is by building it with circles and lines first; then merge and stroke them:
Draw circles and lines
Convert strokes to path (Path > Stroke to Path)
Select all elements and union them (Path > Union)
Give the path a stroke and set a white background
Change the stroke order to: Stroke,Fill,Markers to keep the channel width intact. (Fill and Stroke > Stroke style > Order) (As suggested by Socowi)
This approach also works for more complex shapes:
Another cool way of creating the channels is by creating the walls, and then use that as shape for a new path:
First create two rectangles (the walls)
Union the rectangles (Path > Union)
Copy the shape (Ctrl+c)
Select the Bezier curve and Straight line tool
In the tool menu on top, select Shape: From Clipboard
Draw a path
Now you have a channel path that is still editable
Optional: convert this object to a path (Path > Object to path)
I hope this enables you to create the microfluidic channel design with Inkscape!
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.