Skip to content

Commit

Permalink
adding example raws
Browse files Browse the repository at this point in the history
  • Loading branch information
mtao committed Dec 20, 2024
1 parent 0d882ba commit 4dd7919
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
32 changes: 32 additions & 0 deletions applications/isotropic_remeshing/examples/raw/camel_uv.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"input": {
"path": "multimesh/camel.hdf5",
"name_spec": {"pos": "uv"}
},
"position_attributes": "pos.uv/vertices",
"other_position_attribute": "pos/vertices",
"iterations": 60,
"length_rel": 0.01,
"envelope_size": 1e-2,
"lock_boundary": true,
"edge_swap_mode": "valence",
"use_for_periodic": false,
"dont_disable_split": false,
"fix_uv_seam": true,
"output": {
"path": "camel.hdf5",
"type": ".hdf5"
},
"intermediate_output_format": {
"pos": {
"path": "cameluv_{:04}",
"type": ".vtu",
"position_attribute": "vertices"
},
"pos.uv": {
"path": "cameluv_uv_{:04}",
"type": ".vtu",
"position_attribute": "vertices"
}
}
}
31 changes: 31 additions & 0 deletions applications/isotropic_remeshing/examples/raw/plane.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"input": {
"path": "plane_dense.hdf5",
"0path": "2d/4triangles.msh",
"name_spec": "pos"
},
"use_split": false,
"use_collapse": false,
"0use_smooth": false,
"0use_swap": false,
"position_attribute": "pos/vertices",
"inversion_position_attribute": "pos/vertices",
"iterations": 5,
"length_rel": 0.05,
"envelope_size": 1e-2,
"lock_boundary": false,
"edge_swap_mode": "valence",
"use_for_periodic": false,
"fix_uv_seam": false,
"output": {
"path": "plane.hdf5",
"type": ".hdf5"
},
"intermediate_output_format": {
"pos": {
"path": "plane_{:04}",
"type": ".vtu",
"position_attribute": "vertices"
}
}
}

0 comments on commit 4dd7919

Please sign in to comment.