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
How can i use the bevel function for only one edge of a cube?
Maybe i'm confused but i dont get it running. If i only apply it on one edge it throws folloging exception:
My code:
cube=mdc.brick(width=mdc.vec3(2))
mdc.bevel(
cube,
[(1, 2)], # Edges to smooth
("width", 0.3), # Cutting description, known as 'cutter'
)
line 648, in mesh_bevel
r.reverse()
UnboundLocalError: local variable 'r' referenced before assignment
The text was updated successfully, but these errors were encountered:
This bug only concerns madcad.cut.bevel() and not madcad.cut.chamfer(), it is due to the cutted edge ending resolution which is failing when both cut endings belong to the same edge.
I will have to fix that
This is a bug reported by @Boehm92 in #74
The text was updated successfully, but these errors were encountered: