Chamfer broken when selecting by face
Opened this issue · 0 comments
MatthiasJ1 commented
This is useful in the scenario when you are trying to select edges on the inner or outer wires of a face of a solid.
p = Cylinder(5,10)
p = chamfer((p.faces()>>Axis.Z)[0].edges(), 1)
ValueError: 2D chamfer operation takes only Vertices
p = extrude(Circle(5), 10)
p = chamfer((p.faces()>>Axis.Z)[0].edges(), 1)
ValueError: 2D chamfer operation takes only Vertices
p = Cylinder(5,10)
p = p.chamfer(1, None, (p.faces()>>Axis.Z)[0].edges())
TypeError: Cylinder.__init__() missing 1 required positional argument: 'height'
p = extrude(Circle(5), 10)
p = p.chamfer(1, None, (p.faces()>>Axis.Z)[0].edges())
This one works.