Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
		
			
				
	
	
	
		
			78 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			78 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(Angle)): number(_)
Arguments
| Name | Type | Description | Required | 
|---|---|---|---|
num | 
number(Angle) | 
Yes | 
Returns
number(_)
Examples
exampleSketch = startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> angledLine(
    angle = 50,
    length = 15 / sin(135deg),
  )
  |> yLine(endAbsolute = 0)
  |> close()
example = extrude(exampleSketch, length = 5)