Curved polygon

Consider a polygon of N sides. On one side of this polygon draw a semicircle of diameter less than the length of the side. Draw an arc with center on one of the vertices adjacent that connects to the first semicircle. The process is repeated on each side. If the first semicircle is located outside the shape is set with the convex parameter.

polig_curve (
N, // number of sides
mj_rad_A, // radius of the central semicircle
mj_rad_B, // radius of the arc in the vertex
min_rad_c, // thickness
convex, // set concavity (on/off)
design // included 4 little variations on the shape's geometry
)

Download: polig_curve.mcr

 

 

 
This entry was posted in Sin categoría. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>