250 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			250 KiB
		
	
	
	
	
	
	
	
title, excerpt, layout
| title | excerpt | layout | 
|---|---|---|
| circle | Construct a 2-dimensional circle, of the specified radius, centered at | manual | 
Construct a 2-dimensional circle, of the specified radius, centered at
the provided (x, y) origin point.
circle(data: CircleData, sketchSurfaceOrGroup: SketchOrSurface, tag?: TagDeclarator) -> Sketch
Arguments
| Name | Type | Description | Required | 
|---|---|---|---|
data | 
CircleData | 
Data for drawing an circle | Yes | 
sketchSurfaceOrGroup | 
SketchOrSurface | 
A sketch surface or a sketch. | Yes | 
tag | 
TagDeclarator | 
No | 
Returns
Sketch - A sketch is a collection of paths.
Examples
exampleSketch = startSketchOn("-XZ")
  |> circle({ center = [0, 0], radius = 10 }, %)
example = extrude(exampleSketch, length = 5)
exampleSketch = startSketchOn("XZ")
  |> startProfileAt([-15, 0], %)
  |> line(end = [30, 0])
  |> line(end = [0, 30])
  |> line(end = [-30, 0])
  |> close()
  |> hole(circle({ center = [0, 15], radius = 5 }, %), %)
example = extrude(exampleSketch, length = 5)