Remove last remnants of legacy positional call (#6678)

* Remove last remnants of legacy positional call

* Update docs

* Fix segAng()

* Fix more docs

* Update docs again
This commit is contained in:
Jonathan Tran
2025-05-02 21:07:31 -04:00
committed by GitHub
parent 19f5031ef7
commit bc818f10c3
30 changed files with 146 additions and 1067 deletions

View File

@ -265,13 +265,13 @@ impl Backend {
r#"fn cube(pos, scale) {
sg = startSketchOn(XY)
|> startProfile(at = pos)
|> line([0, scale], %)
|> line([scale, 0], %)
|> line([0, -scale], %)
|> line(end = [0, scale])
|> line(end = [scale, 0])
|> line(end = [0, -scale])
return sg
}
part001 = cube([0,0], 20)
|> close(%)
part001 = cube(pos = [0,0], scale = 20)
|> close()
|> extrude(length=20)"#
.to_string(),
);