verb icon indicating copy to clipboard operation
verb copied to clipboard

trimming surfaces

Open JochemvanderSpek opened this issue 9 years ago • 5 comments

Hi, is there a way to trim surfaces and create holes in verb ?

JochemvanderSpek avatar Jun 14 '16 11:06 JochemvanderSpek

No, not at this point.

pboyer avatar Jun 14 '16 14:06 pboyer

ok :) I looked at the adaptive subdivision algorithm, what would be your judgment, is this something that can be relatively easily added ?

JochemvanderSpek avatar Jun 14 '16 17:06 JochemvanderSpek

I think, need here the constrained triangulation :)

traking avatar Jun 16 '16 03:06 traking

A trimmed Surface is usually called a Face. An Edge usually is a Curve, often a pair of HalfEdge's. Many of these are defined in Martti Mantyla's "Introduction to Solid Modeling".

Face's would require a few things be added to verb:

  1. A Face representation with Loop's defining the outer boundary, inner hole boundaries (easy)
  2. A tessellation algorithm for Face's (medium)

For completeness, it would be nice to have:

  1. Face-X intersection where X is Face, Curve(medium hard).
  2. Closest point algorithms for Face's (medium).

pboyer avatar Jun 16 '16 14:06 pboyer

I previously started on Face's here, but only for planar faces. https://github.com/pboyer/verb/blob/topo/src/verb/topo/Face.hx

pboyer avatar Jun 16 '16 15:06 pboyer