* allow for setting of tolerances Signed-off-by: Jess Frazelle <github@jessfraz.com> * autocomplete fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix inches default Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
		
			
				
	
	
	
		
			152 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			152 KiB
		
	
	
	
	
	
	
	
title, excerpt, layout
| title | excerpt | layout | 
|---|---|---|
| sqrt | Compute the square root of a number. | manual | 
Compute the square root of a number.
sqrt(num: number) -> number
Tags
math
Examples
const exampleSketch = startSketchOn("XZ")
  |> startProfileAt([0, 0], %)
  |> angledLine({ angle: 50, length: sqrt(2500) }, %)
  |> yLineTo(0, %)
  |> close(%)
const example = extrude(5, exampleSketch)
Arguments
num:number(REQUIRED)
Returns
number