meshpro / optimesh

:spider_web: Mesh optimization, mesh smoothing.
575 stars 56 forks source link

Support 2d surfaces in 3d space #18

Closed kayarre closed 6 years ago

kayarre commented 6 years ago

is it possible to use the optimization on a 2d object in 3d space?

I am thinking I have some arbitrarily define circles in space I want mesh and optimize.

nschloe commented 6 years ago

Flat surfaces? I might look into this. It'll get more difficult for curved surfaces, one would probably have to provide a projection function or something like that.

nschloe commented 6 years ago

Okay, should work now for triangular meshes in any dimension. Flat surfaces are fine, but if you use optimesh on something curved, it'll move the geometry.