Coder Social home page Coder Social logo

wildmeshing / triwild Goto Github PK

View Code? Open in Web Editor NEW
224.0 15.0 25.0 20.75 MB

TriWild: Robust Triangulation with Curve Constraints

Home Page: https://dl.acm.org/doi/pdf/10.1145/3306346.3323011

License: Mozilla Public License 2.0

CMake 1.51% Python 0.50% C++ 97.95% Dockerfile 0.04%
traingulation meshing geometry-processing

triwild's People

Contributors

teseoch avatar yixin-hu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

triwild's Issues

Features aren't exported into `msh`

Hello every1.

I was wondering if there were any reason to not exporting the input features in the mesh file.

Ideally, those features should be meshed as curved edge elements, and tagged using gmsh physical groups.
Doing so, the numerical practitioner could easily enforce some special boundary conditions on those tagged feature elements.

void triwild::feature::remove_high_curvature

Hello,

I have compiled the project with visual 2017 and when i run in debug with figure 1 from pregenerated data I get an error.
it looks:
in function void triwild::feature::remove_high_curvature
in the loop for (int j = 0; j < ranges.size(); j += 2)
in condition if (j == ranges.size() - 2) {
in loop for (double infl: old_inflection) {
in condition if (infl > ts[i][ranges[j]] && infl < ts[i][ranges[j + 1]])
the program crash because ts[i][ranges[j + 1]] generates Assertion failed: vector subscript out of range

Did you get this error?

Getting Started

Hello,

I'm a new user and I'm a little confused on how to generate obj files to input. Also I was wondering if you had any examples of simpler shapes.

Thank You!

Triwild crashes in building Figure 7 (left)

I am experiencing issues with a large targeted edge length. Triwild crashes when reproducing the coarsest part of Figure 7. The attached includes the errors. With the smaller values of targeted edge length reported in the paper there is no failure.

triwild-crash.txt

TriWild dependencies and build system

I am interested in trying out TriWild as a replacement for Triangle in my program.

Is there a mailing list or forum or other place to ask questions? I always hate posting questions to an Issue list. Sorry if this is the wrong place, but I couldn't find any other place for questions.

I use Triangle for both simple 2D CDT and also mesh generation -- where the boundary is fully specified, but Triangle inserts interior points to reach mesh size and quality goals.

The Triangle license is problematic. It also crashes far more often than I can deal with anymore. I have tried various 'improved' wrappers that attempt to catch various failure cases more elegantly, but none of them are satisfactory.

Shewchuk is unresponsive to questions about the license and development of the library appears to be dead. This would be fine if was problem-free, but that is certainly not the case in my experience.

Hopefully TriWild improves in a number of these areas.

I need to build TriWild as a library and call that from my program -- I currently use CMake. Specifically, I use the SuperBuild approach to have a Library and Main project and then I bundle my various libraries with ExternalProject_add. I am sensitive to the dependencies I add to my program -- I much prefer libraries with few or no dependencies.

From what I can tell, TriWild requires LIBIGL and GMP. It may also require NLOPT and geogram. Digging into some of the CMake, it also appears to download aabbcc, and json. LibIGL itself requires Eigen. I couldn't really tell how deep the dependency rabbit hole goes.

Some of my users need to build my program (and any dependencies) on a computer that does not have access to the internet. Because of this (and also for testing and repeatability sake), I always embed *.zip files of dependencies in my program instead of downloading the latest version from the upstream project (as a compromise, it is better to point at a specific upstream version).

From what I can tell, TriWild's build requires an internet connection to download at least a half dozen libraries -- some of which have their own dependency chain.

That doesn't even get into the mess that is the melange of software licenses that all these libraries introduce.

Is there any place where the use of these dependencies by TriWild is clearly documented? Optional libraries are clearly identified and instructions given for leaving them out.

Is there any plan going forward to reduce the number of dependencies? A number of them appear to be relatively simple convince libraries implementing commodity data structures. In my experience, it is generally better to re-implement what is needed from these cases and drop the dependency.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.