Inkscape:Examples:CreateCylinder
lastmod 2023-02-18created 2023-02-182 edits
How to make a cylinder shape
How to
First, click "Create circles, ellipses, and arcsF5)" in the left toolbar and create a circle.
Inkscape_-_create_cylinder_01.png
Then click the object and click Path > Object to Path in the menu. You can then click the points at the left/right ends, as shown below. (If you double-click the object with F1, you can see that the object is made of a Path.)
| | -> | |
Click the points at the left/right ends with "Edit paths by nodes (F2)". (Multiple selection is Shift + left mouse click.)
Inkscape_-_create_cylinder_04.png
Then click the "Break path at selected nodes" button in the top toolbar.
Inkscape_-_create_cylinder_05.png
This breaks the Path at the selected nodes. (Note that the object is not separated.)
Inkscape_-_create_cylinder_06.png
Select the object with F1, copy it, and place the copies above/below.
Inkscape_-_create_cylinder_07.png
Enter the exact x-axis position of the objects in the top toolbar.
Inkscape_-_create_cylinder_08.png
Click "Draw freehand lines (F6)".
Inkscape_-_create_cylinder_09.png
Connect the top and bottom of the nodes you broke earlier with straight lines. (Since the nodes were broken, it will snap to the exact position.)
Inkscape_-_create_cylinder_10.png
(If needed) Select all objects with Ctrl + A and make the line widths the same. (Click the "Stroke style" tab of the "Fill and Stroke (Shift+Ctrl+F)" dialog to find the "Width" item.)
Inkscape_-_create_cylinder_11.png
Select the bottom circle and click Path > Break Apart in the menu; the circle is split into top/bottom parts at the nodes you broke earlier.
| | -> | |
Select the top object and change its line style, and it is finished as shown below.
Inkscape_-_create_cylinder_14.png