Forum Replies Created
-
AuthorPosts
-
lionel
BlockedTake a look into the compliant and flexible plugins. I think you will find python bindings for new types and for Eigen matrices
26 April 2017 at 10:47 in reply to: [SOLVED] How to import volume mesh from Matlab iso2mesh toolkit? #9001lionel
BlockedYour phantom_volume.vtk is a surface mesh. You can see it using paraview.
You should find a vtk exporter for matlab that exports unstructured grids (e.g. volumetric meshes)25 April 2017 at 16:34 in reply to: [SOLVED] How to import volume mesh from Matlab iso2mesh toolkit? #8997lionel
BlockedI think medit files have .mesh or .meshb extension.
To my knowledge there is no .dxf, vrml or .mesh/.meshb in SOFA.
I would propose to save it in meshb format and use a converter to vtk files for example.
Maybe medit or parawiew can do the job.
If not, I know that this library has a convert executable from mesh/meshb to vtk files.lionel
BlockedI looked into.
I created my own animation loop based on this one.
My animation loop takes a tag in input and add this tag to the visitors launched by the step function.
For now it doesn’t work.
Every component of my scene is activated (tagged or not)lionel
BlockedDo you have a surface mesh of your sphere ?
Have you tried to use the SparseGrid to fill this surface mesh ?<MeshVTKLoader filename="your_surface.vtk" name="loader"/> <SparseGrid fillWeighted="0" plotNormals="0" name="sparseGrid" vertices="@loader.position" n="5 5 100" triangles="@loader.triangles"/>
To my knowledge, I do not believe that there is a component that can construct a grid using only radius and nb slices information.
But it is not difficult to hack the SparseGrid component in this way.lionel
BlockedHi Erik,
What do you mean by “add a volumetric topology inside” ?
Would you like to mesh you sphere with tetrahedra / hexahedra ?
I feel that you want hexadral elements.
How should these elements be ?
– inside the sphere ?
– encompassing the sphere ?
– compatible with the boundary of your sphere ? -
AuthorPosts