Skip to content
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

Visualizer: input vector has zero norm #18

Open
voneiden opened this issue Jul 10, 2023 · 3 comments
Open

Visualizer: input vector has zero norm #18

voneiden opened this issue Jul 10, 2023 · 3 comments
Labels
bug Something isn't working freecad-bug The bug is in FreeCAD and needs either a fix there or a workaround

Comments

@voneiden
Copy link
Owner

return gp_Dir(circle_normal.X(), circle_normal.Y(), circle_normal.Z())

OCP.Standard.Standard_ConstructionError: gp_Dir() - input vector has zero norm

@voneiden
Copy link
Owner Author

Looks like helix can generate illegal g-code where both I and J are zero on an XY plane arc, huh.

@voneiden voneiden added bug Something isn't working freecad-bug The bug is in FreeCAD and needs either a fix there or a workaround labels Jul 11, 2023
@ivylinden
Copy link

Hello, I'm also experiencing this problem, do you know how to solve it

@voneiden
Copy link
Owner Author

voneiden commented Jun 5, 2024

@ivylinden The error itself means that there is a motion vector that is (probably) zero length.

If you can provide a bit more context of what caused it (line of code + stack trace) that'd be great. Ideally these should be warnings instead of errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working freecad-bug The bug is in FreeCAD and needs either a fix there or a workaround
Projects
None yet
Development

No branches or pull requests

2 participants