-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asymmetric Chamfer Error #786
Comments
The order of the asymmetric chamfer is not well defined in general (I think that it depends on the orientation of the underlying wires). |
I wondered if the cause of this issue was due to the difference in direction of the circular wires of the top and bottom of the doughnut hole. Is there anyway to make the result more predictable? |
Not that I know at the moment. |
I think the problem in edge normals. from cadquery import Workplane
from typing import List, cast
from cadquery.occ_impl.shapes import Edge, Face
c1 = Workplane().box(10, 10, 10).faces("<Y")
print(cast(Face, c1.vals()[0]).normalAt())
for x in cast(List[Edge], c1.faces("<Y").edges().vals()):
print(x.normal())
And if add c2 = Workplane().box(10, 10, 10).faces("<Y")
for x in cast(List[Edge], c2.faces("<Y").edges().wire().vals()):
print(x.normal()) |
Asymmetric chamfer is not applied consistently. The chamfers on the top of this ring look correct; however, the inner chamfer on the bottom is reversed.
Error found on cadquery master.
The text was updated successfully, but these errors were encountered: