Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
11 lines
289 B
Plaintext
11 lines
289 B
Plaintext
@settings(defaultLengthUnit = mm)
|
|
|
|
sketch001 = startSketchOn('XY')
|
|
cubeMm = startProfile(sketch001, at = [10, 10])
|
|
|> xLine(length = 5)
|
|
|> yLine(length = -5)
|
|
|> xLine(length = -5)
|
|
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
|
|> close()
|
|
|> extrude(%, length = 5)
|