Defining geometry
dengwirda opened this issue · 2 comments
Hi Darren,
I just find this mesher, and not skilled to use. The quality from jigsaw is well.
But I confuse how to define a hole? When i insert a iner ring, sometime get a hole, sometime cannot.
Is there a value to set?
thank you!
Originally posted by @wjlcqjd in #27 (comment)
@wjlcqjd There are a few different ways to define geometry, depending on what you're trying to do.
By default, jigsaw
will resample its inputs at the length scale given, so any holes smaller than this may be skipped. If you want to force all features to captured, regardless of scale, you can set geom_feat = true
and mesh_top1 = true
; this will make sure that all sharp corners are represented exactly, and that the topology of the input geometry is recovered.
There are a few example programs available to help you get started:
- In
C++
: https://github.com/dengwirda/jigsaw/tree/master/uni - In
MATLAB
: https://github.com/dengwirda/jigsaw-matlab - In
Python
: https://github.com/dengwirda/jigsaw-python
Let me know if you have any questions.