Files
modeling-app/rust/kcl-lib/e2e/executor/inputs/riddle_small.kcl
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

18 lines
356 B
Plaintext

const ANSWER = 41803
fn t = (s) => {
return (ANSWER * s + 12345) % 214748
}
let xs = 205804
let ys = 71816
let ox = 35 - (t(xs) % 70)
let oy = 35 - (t(ys) % 70)
const r = startSketchOn(XZ)
|> startProfile(at = [ox, oy])
|> line(end = [1, 0])
|> line(end = [0, -1])
|> line(end = [-1, 0])
|> close()
|> extrude(length = 1)