You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a bevel() works on any double-sided points of a Web and a Wire. However Wire's extremities might be considered double-sided points as well when Wire.closed = True and bevel() currently does not consider that.
frommadcadimport*corner=0# index 0 in the wire is not accepted, nor -1, any other place is fineoutline=regon(Axis(O,Z), 1, 5)
bevel(outline, [corner], ('width', 0.3))
show([ outline ])
Traceback (mostrecentcalllast):
File"/tmp/test.py", line4, in<module>bevel(outline, [0], ('width', 0.3))
File"/usr/lib/python3.8/functools.py", line875, inwrapperreturndispatch(args[0].__class__)(*args, **kw)
File"/home/jimy/.local/lib/python3.8/site-packages/madcad/cut.py", line939, inwire_bevelcuts=set(wire_multicut(wire, points, cutter))
File"/home/jimy/.local/lib/python3.8/site-packages/madcad/cut.py", line890, inwire_multicutraiseMeshError('a chamfer cannot have only one side')
madcad.mesh.container.MeshError: achamfercannothaveonlyoneside
with corner = 1 we get the expected behavior
The text was updated successfully, but these errors were encountered:
Currently, a
bevel()
works on any double-sided points of aWeb
and aWire
. However Wire's extremities might be considered double-sided points as well whenWire.closed = True
andbevel()
currently does not consider that.with
corner = 1
we get the expected behaviorThe text was updated successfully, but these errors were encountered: