Skip to main content

Function: sketchPolysides()

function sketchPolysides(
radius,
sidesCount,
sagitta?,
planeConfig?): Sketch;

Defined in: packages/replicad/src/sketches/cannedSketches.ts:130

Creates the Sketch 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

planeConfig?​

PlaneConfig = {}

Returns​

Sketch