Mobile app version of vmapp.org
Login or Join
Karen819

: 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

@Karen819

Posted in: #Inkscape #Vector

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:

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Karen819

2 Comments

Sorted by latest first Latest Oldest Best

 

@Frith110

Use geometry :) (padpadpadpadpad)

10% popularity Vote Up Vote Down


 

@Gail6891361

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]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme