* Support calling KCL std KW fns, and move circle to KCL std Signed-off-by: Nick Cameron <nrc@ncameron.org> * Doc comments on parameters Signed-off-by: Nick Cameron <nrc@ncameron.org> * Update grammar Signed-off-by: Nick Cameron <nrc@ncameron.org> * Change use of counterClockWise to ccw Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
		
			
				
	
	
	
		
			85 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			85 KiB
		
	
	
	
	
	
	
	
title, excerpt, layout
| title | excerpt | layout | 
|---|---|---|
| std::math::sin | Compute the sine of a number (in radians). | manual | 
Compute the sine of a number (in radians).
sin(@num: number(rad)): number(_)
Arguments
| Name | Type | Description | Required | 
|---|---|---|---|
num | 
number(rad) | 
Yes | 
Returns
number(_)
Examples
exampleSketch = startSketchOn(XZ)
  |> startProfileAt([0, 0], %)
  |> angledLine({
    angle = 50,
    length = 15 / sin(toDegrees(135)),
  }, %)
  |> yLine(endAbsolute = 0)
  |> close()
example = extrude(exampleSketch, length = 5)