Comments (6)
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.
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:
and run ' ./wmtk_app -j isotropic_remeshing_example.json' in 'build' folder on WSL. However, it outputs the following errors:
I have no idea how to tackle it. Could you please help me solve this problem? Thank you very much!
from wildmeshing-toolkit.
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.
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.
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.
Thank you very much!
from wildmeshing-toolkit.
Related Issues (20)
- tet inversion invariant
- tetmesh link condition invariant
- nrrd input support for embedded remeshing
- TriMesh Edge Collapse Reuses IDs
- MultiMesh Checkpoints
- `Invariants::after` should also take the input simplex
- tet swap operation
- Disallow stack-allocated meshes
- multimesh new attribute strategies
- unify strategies for Tri/TetMesh
- attribute transfer based on neighbor sum functions
- refactor optimization smooth
- Triangle insersion refactoring
- fix a wrong example in the test
- optimize the marching component HOT 1
- add document for integration test HOT 1
- A bug in function `tetmesh_topology_initialization`
- marchingwindow HOT 1
- fix tet_tet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wildmeshing-toolkit.