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

overhang detection #9

Open
tmpvar opened this issue Mar 5, 2014 · 1 comment
Open

overhang detection #9

tmpvar opened this issue Mar 5, 2014 · 1 comment

Comments

@tmpvar
Copy link
Member

tmpvar commented Mar 5, 2014

Issues like this arise, and can be dangerous in a milling context. Ideally, overhangs would be ignored in this context. The issue is finding a performant way to test what is an overhang vs what is not.

Potential solution: raytrace from "suspect" verts up to the stock.max.z. Count the number of intersections, if > 0 this vert is contributing to an overhung feature.

Once we have collected all of the invalid verts, then we need to safely remove them from the clipping process.

Potential solutions:

  • remove and re-mesh (e.g. delaunay)
  • store the line start/end when intersecting with a plane, compare these results to the known "bad" verts and ignore if present

screen shot 2014-03-05 at 12 20 54 pm

where the geometry looks like:
screen shot 2014-03-05 at 12 41 18 pm

@tmpvar tmpvar added bug labels Mar 5, 2014
@tmpvar
Copy link
Member Author

tmpvar commented Mar 5, 2014

this refs tmpvar/mesh-slice-polygon#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant