use include module cubi(s, fillet=0, edges=EDGES_ALL) { if ($preview) { cube(s, center=true); } else { cuboid(s, fillet=fillet, edges=edges); } } function vec_sum(v, w) = [v.x + w.x, v.y + w.y, v.z + w.z];