Skip to main content

Function: drawPolysides()

function drawPolysides(
radius,
sidesCount,
sagitta?): Drawing;

Defined in: packages/replicad/src/draw.ts:425

Creates the Drawing of an polygon in a defined plane

The sides of the polygon can be arcs of circle with a defined sagitta. The radius defines the out radius of the polygon without sagitta

Parameters​

radius​

number

sidesCount​

number

sagitta?​

number = 0

Returns​

Drawing