Git Product home page Git Product logo

Comments (6)

Zhouyuan-Chen avatar Zhouyuan-Chen commented on June 27, 2024

Hey! I am not sure if I understand it correctly. Suppose you want to run the application, you may need to run the wmtk_app file.

For example, if you want to run isotropic_remeshing. You could run it this way:

./wmtk_app -j your_json_file.json

In the json file, you should specify the name of the component, the parameters and so on. Have a look at your interested component's file, there should be an example json file. If you still have trouble, please let me know. :)

from wildmeshing-toolkit.

NINGYURICHARD avatar NINGYURICHARD commented on June 27, 2024

Thanks for your reply! Yes, I want to run the application especially the isotropic_remeshing. Because I am just a beginner of c++, I still have some problems. As for json file, I directly choose 'wildmeshing-toolkit/components/wmtk_components/isotropic_remeshing/wmtk/components/isotropic_remeshing/isotropic_remeshing_example.json'. I copy the json file to 'wildmeshing-toolkit/build', and download the '120628.stl' also in 'build' folder as my input file. Then I modify the json file as follow:
image

and run ' ./wmtk_app -j isotropic_remeshing_example.json' in 'build' folder on WSL. However, it outputs the following errors:
image

I have no idea how to tackle it. Could you please help me solve this problem? Thank you very much!

from wildmeshing-toolkit.

Zhouyuan-Chen avatar Zhouyuan-Chen commented on June 27, 2024

you could put your model file into the build folder.
input should be a .hdf5 or .msh file. so you should have a .hdf5 or .msh file as an input.
the output is fine, just give any name you want. the output is .hdf file, and you need paraview to look at the result.
there is an example from unit tests

    "components": [
        {
            "input": {
                "file": "YOUR_INPUT_NAME",
                "name": "mesh"
            }
        },
        {
            "isotropic_remeshing": {
                "attributes": {
                    "position": "vertices"
                },
                "input": "mesh",
                "iterations": 2,
                "length_rel": 1,
                "lock_boundary": true,
                "output": "test"
            }
        },
        {
            "output": {
                "input": "test",
                "file": "YOUR_OUTPUT_NAME",
                "attributes": {
                    "position": "vertices"
                }
            }
        }

from wildmeshing-toolkit.

NINGYURICHARD avatar NINGYURICHARD commented on June 27, 2024

Thank you very much! Your suggestion works for me. May I ask if there is any local remeshing example for 3D objects (tetrahedral mesh)? I found the examples in unit_test are mainly the triangle mesh. Thanks!

from wildmeshing-toolkit.

Zhouyuan-Chen avatar Zhouyuan-Chen commented on June 27, 2024

Yeah... The 3D remeshing component is still under construction and has not merged into the main branch. I believe we will publish it soon.

from wildmeshing-toolkit.

NINGYURICHARD avatar NINGYURICHARD commented on June 27, 2024

Thank you very much!

from wildmeshing-toolkit.

Related Issues (20)

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.