: Inkscape: Joined pentagon and hexagon with fixed edge length I'm trying to create a shape formed by a regular hexagon and a regular pentagon that are joined by shared edge. The problem is that
I'm trying to create a shape formed by a regular hexagon and a regular pentagon that are joined by shared edge.
The problem is that the polygons made my the polygon tool are very hard to align. I've tried the connector tool, which seems to align everything nicely, but as far as I can tell requires nodes.
Is there a good way of doing this within Inkscape? Otherwise, I will just write a script to make an svg containing the appropriate shapes.
This is what happens if you try and use the polygon tool - alignment mayhem:
More posts by @Karen819
2 Comments
Sorted by latest first Latest Oldest Best
For a hexagon which has an edge perfectly horizontal and a pentagon which has the peak pointing upwards and that peak's opposing edge also perfectly horizontal, if you rotate the pentagon 18 degrees (clockwise; 108-90), and the hexagon -30 degrees (counter clockwise; 90-120), you will have a single face of each which is perfectly vertical.
Snap them to a vertical guide; snap the proper node on each to a horizontal guide; adjust gap to taste; group the shapes; rotate it to final position.
This should work in any software that allows rotation by numbers, supports snapping to guides, and grouping.
[The interior angles of pentagons and hexagons are 180-(360/TotalAngles); we are rotating them by the amount they differ from vertical]
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.