Skip to content

overhang detection #9

Description

@tmpvar

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions