omdl
v0.5
OpenSCAD Mechanical Design Library
|
Regular n-sided polygon computations. More...
Files | |
file | math.scad |
Mathematical functions. | |
Functions | |
function | ngon_vp (n, r, vr) |
Compute the vertices for an n-sided equiangular/equilateral regular polygon. More... | |
Regular n-sided polygon computations.
function ngon_vp | ( | n | , |
r | , | ||
vr | |||
) |
Compute the vertices for an n-sided equiangular/equilateral regular polygon.
n | <decimal> The number of sides. |
r | <decimal> The ngon vertex radius. |
vr | <decimal> The vertex rounding radius. |
Example