Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
43 lines
79 KiB
Markdown
43 lines
79 KiB
Markdown
---
|
||
title: "e"
|
||
excerpt: "Return the value of Euler’s number `e`."
|
||
layout: manual
|
||
---
|
||
|
||
**WARNING:** This function is deprecated.
|
||
|
||
Return the value of Euler’s number `e`.
|
||
|
||
**DEPRECATED** use the constant E
|
||
|
||
```js
|
||
e(): number
|
||
```
|
||
|
||
### Tags
|
||
|
||
* `math`
|
||
|
||
|
||
|
||
### Returns
|
||
|
||
[`number`](/docs/kcl/types/number)
|
||
|
||
|
||
### Examples
|
||
|
||
```js
|
||
exampleSketch = startSketchOn(XZ)
|
||
|> startProfile(at = [0, 0])
|
||
|> angledLine(angle = 30, length = 2 * e() ^ 2)
|
||
|> yLine(endAbsolute = 0)
|
||
|> close()
|
||
|
||
example = extrude(exampleSketch, length = 10)
|
||
```
|
||
|
||

|
||
|
||
|