Open J-F-Liu opened 3 years ago
We have a plan, and we are experimenting with it whenever we have free time. However, I can't promise how long it will take, because we give higher priority to the implementation of STEP I/O, Euler operations, and set operations with the boundary representation.
I already know B-spline and NURBS surface, can you recommand some readings about mathmatical theory of B-Rep surfaces? Thanks.
Sorry, but I can't give you the best answer to this question. In fact, I have yet to find a definitive book on the subject. I tend to extrapolate from the specifications of existing CAD kernels, including OCCT. As for set operations, I plan to use this book as a reference, but I haven't compared it to several other books either.
Now, a prototype version has been implemented. The difficult part of the Delaunay triangulation is left to the crate spade. This implementation is CPU-driven and may not provide the performance needed as the model grows in size. Currently, we are implementing some additional mesh algorithms for the test of this tessellation.
I suspect that the CDT algorithm in spade cannot handle holes inside a polygon. The book Boundary Representation Modelling Techniques lacks detailed algorithms. I found the following paper which gives an appropriate solution to the problem:
Advancing Front Surface Mesh Generation in Parametric Space Using a Riemannian Surface Definition
I suspect that the CDT algorithm in spade cannot handle holes inside a polygon.
That is right, If one specifies a boundary, the triangle will always be entirely outside or inside the domain. So, the current implementation excludes triangles whose center of gravity is outside the domain when converting data from spade to truck mesh structure. Although there is overlap, we consider that speeding up the process is an issue to be addressed after we have some functionality in place.
I found the following paper which gives an appropriate solution to the problem:
Thank you for the introduction. I will check it out in the near future.
Found another paper: Gabriel-constrained Parametric Surface Triangulation
This approach looks better, only the algorithm to generate sample points is very slow, needs improvement.
There is also this rust crate that looks very promising, which implements Manifold Dual Contouring: https://github.com/hmeyer/tessellation
Will this be implemented or not? I already find the Surface defination: