mirror of
https://github.com/csirmaz/openscad-py.git
synced 2025-06-21 02:15:40 +02:00
8 lines
142 B
Python
8 lines
142 B
Python
|
|
||
|
from openscad_py import Cube
|
||
|
|
||
|
colored_moved_cube = Cube([1, 1, 1]).move([2, 0, 0]).color(r=1, g=0, b=0)
|
||
|
print(colored_moved_cube.render())
|
||
|
|
||
|
|