Files
modeling-app/rust/kcl-lib/tests/import_mesh_clone/input.kcl
2025-05-15 16:46:37 +00:00

19 lines
397 B
Plaintext

@(lengthUnit = m)
import "../inputs/cube.obj" as yellow
yellow
|> translate(%, x = -2000, y = -2000)
appearance(yellow, color = "#ffff00")
red = clone(yellow)
|> translate(%, x = 4000)
appearance(red, color = "#ff0000")
green = clone(yellow)
|> translate(%, y = 4000)
appearance(green, color = "#00ff00")
blue = clone(red)
|> translate(%, y = 4000)
appearance(blue, color = "#0000ff")