Files
modeling-app/docs/kcl/floor.md
Adam Chalmers ffbe20b586 Kwargs: startProfileAt (#6424)
Previous:

```
startProfileAt([x, y], %)
startProfileAt([x, y], sketch001)
```

New:
```
startProfile(%, at = [x, y])
startProfile(sketch001, at = [x, y])
```
2025-04-25 21:01:35 +00:00

80 KiB

title, excerpt, layout
title excerpt layout
floor Compute the largest integer less than or equal to a number. manual

Compute the largest integer less than or equal to a number.

floor(num: number): number

Tags

  • math

Arguments

Name Type Description Required
num number Yes

Returns

number

Examples

sketch001 = startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> line(endAbsolute = [12, 10])
  |> line(end = [floor(7.02986), 0])
  |> yLine(endAbsolute = 0)
  |> close()

extrude001 = extrude(sketch001, length = 5)

Rendered example of floor 0