Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
		
			
				
	
	
		
			43 lines
		
	
	
		
			82 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			82 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: "tau"
 | 
						|
excerpt: "Return the value of `tau`. The full circle constant (τ). Equal to 2π."
 | 
						|
layout: manual
 | 
						|
---
 | 
						|
 | 
						|
**WARNING:** This function is deprecated.
 | 
						|
 | 
						|
Return the value of `tau`. The full circle constant (τ). Equal to 2π.
 | 
						|
 | 
						|
**DEPRECATED** use the constant TAU
 | 
						|
 | 
						|
```js
 | 
						|
tau(): number
 | 
						|
```
 | 
						|
 | 
						|
### Tags
 | 
						|
 | 
						|
* `math`
 | 
						|
 | 
						|
 | 
						|
 | 
						|
### Returns
 | 
						|
 | 
						|
[`number`](/docs/kcl/types/number)
 | 
						|
 | 
						|
 | 
						|
### Examples
 | 
						|
 | 
						|
```js
 | 
						|
exampleSketch = startSketchOn(XZ)
 | 
						|
  |> startProfile(at = [0, 0])
 | 
						|
  |> angledLine(angle = 50, length = 10 * tau())
 | 
						|
  |> yLine(endAbsolute = 0)
 | 
						|
  |> close()
 | 
						|
 | 
						|
example = extrude(exampleSketch, length = 5)
 | 
						|
```
 | 
						|
 | 
						|

 | 
						|
 | 
						|
 |