|
// mirror.crd — symmetric part using mirror transforms
|
|
|
|
let arm: Obj = translate(box(4, 0.5, 0.5), 4, 0, 0)
|
|
let hub: Obj = cylinder(1.5, 1)
|
|
let half: Obj = union(hub, arm)
|
|
|
|
// Mirror across all three planes
|
|
let full: Obj = mirror_z(mirror_y(mirror_x(half)))
|
|
cast(full)
|