New paste Repaste Download
# desired_syntax
def MyShape(a, b):
    with Difference():
        for i in range(a):
            j = i - (a/2)
            with Translate(j):
                Cube(b)
        Children()
with Color("red"):
    with MyShape(10, 2):
        with Translate([1,2,3]):
            Sphere(5)
Filename: None. Size: 297b. View raw, , hex, or download this file.

This paste expires on 2025-03-01 00:05:34.895803. Pasted through web.