Capsule.to_brep Capsule.to_brep()[source] Convert the shape to a Brep. Returns: compas.geometry.BrepThe Brep representation of the shape.