23 lines
500 B
Plaintext
23 lines
500 B
Plaintext
---
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
description: Result of unparsing import_mesh_clone.kcl
|
|
---
|
|
@(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")
|