Forum Replies Created
-
AuthorPosts
-
MABlocked
Hi @ Hugo
Thanks so much for your reply! I have to disclaimer that I am not expert at meshing, however, I am struggling in figuring out how to solve the error as @stefan highlighted I used meshlab and it is quite helpful, however, I still getting an error.
What do you want exactly to model from this mesh again?
I am expecting to add forces to the yarn and see how it deform for different material properties, later I can design different knitted or woven yarn and test them mechanically through simulation.
Where do you want to be accurate in a simulation?
This is a good question and I am afraid I don’t have an exact answer since the fabric is viscoelastic material and highly nonlinear, I found other researchers simulate textile using material point method, however, I am interested to do through SOFA.
Thanks,
MABlockedHi Stefan, I tried using meshlab and it is indeed powerful, however, there is an error in the mesh I cannot solve:
CGAL::Polyhedron_incremental_builder_3<HDS>::
add_vertex_to_facet(): input error: disconnected facet complexes at vertex 4:
involved facets are: 360 359 358 2 3 4 (closed cycle) and.I am trying to figure out how to merge facet, I will try.
The file: https://gofile.io/?c=EC1ZXt
MABlockedThanks so much, Stefan, Indeed it was helpful and thank you once again for your help indeed appreciated! I am trying to do as you advised, I will share updates.
Thanks,
MABlocked@Stefan, thanks so much indeed your help! You are right, I think there is a problem in the mesh, however, I would like to know how you repaired as I have to do that for the woven T-yarn, I am lacking skills in meshing, so any hints would be appreciated.
I am still much afraid as after asking we figured that SOFA is not dedicated to fabric simulation especially when it comes to knitted or woven yarn, maybe I am mistaken, but so far the only example is the piece of fabric, but still not the yarn level simulation and later on we also have to map smart material.
Thanks for your help!
MABlockedHi Damien,
Thanks so much! I think I am missing how to create the CmakeLists.txt in the plugin folder, could you please inform me the how to write the exact file, as I want to add the plugin folder not only STLIB folder.
I should write Cmakelists.txt that add plugins, but I don’t know how to write those line exactly.
sofa_add_plugins
MABlockedHi Stefan,
Thanks so much for your help! I do agree that the T-yarn surface mesh doesn’t has a volume, however, while using the knitted S-yarn, the same problem appears.
I am forwarding the STL files, I would be grateful for a solution as I am using gmsh for adding a physical volume, but still, I cannot add to the Tyarn
T-yarn STL file: https://gofile.io/?c=VwVFG8
The knitted S yarn: https://gofile.io/?c=eWnAaOMABlocked@Hugo, it is indeed related to this issue, I can close the other question. This is an issue is related to CGAL and SoftRobots as well since the example is created for obtaining the volumetric mesh of soft pneumatic gripper as illustrated in this example:
@Damien, Thanks so much for your help, the current plugin is CGAL that I am using in sofa, actually, I am following this example, https://project.inria.fr/softrobot/documentation/volumetric-mesh-generation-using-cgal-plugin/
The idea is I have used GMSH earlier to have a volume mesh and later importing it in sofa example, I have this following for instance:
CGAL::Polyhedron_incremental_builder_3<HDS>::
lookup_halfedge(): input error: facet 264 shares a halfedge from vertex 0 to vertex 1 with facet 0.I don’t know whether this error implies an error at the mesh itself, anyway, I am sharing the steps I did before using SOFA volumetric mesh generation example:
1- I have an STL model on single woven T-yarn (Fabric), the file is attached: https://gofile.io/?c=KKaqnp
2- I used GMSH for adding a physical volume and created a 3d mesh, afterward, I refined the mesh by splitting, the mesh is attached: https://gofile.io/?c=OU59Nj
@Damien is STLIB an external plugin or a plugin in sofa/src/applications/plugins, I would be grateful for hints on how I can install STILB. At the moment, I add an entry in cmkae-gui for STLIB in src/applications/plugins, however, it seems not to be read while configuration.
Thanks for the help!
MABlockedHere is another example of knitted single S yarn ( fabric), I got the following error in
SOFACGAL::Polyhedron_incremental_builder_3<HDS>::
lookup_halfedge(): input error: facet 200 shares a halfedge from vertex 54 to vertex 126 with facet 199.MABlockedI have a mesh in STL format and I am using GMSH for adding physical volume and creating 3D mesh, however, in SOFA while trying to tune the parameters, it fails to create a volumetric mesh.
MABlockedThanks Hugo, exactly, I have to tune some parameters likely the facetSize, however, the scene is crashing and I got this error:
The error: CGAL::Polyhedron_incremental_builder_3:: lookup_halfedge(): input error: facet 10500 shares a halfedge from vertex 255 to vertex 256 with facet 324.
I am doing that as you can see in the screenshot: there is no volumetric mesh created while I am tuning parameters before scene is giving error:http://www.filedropper.com/scene
The STL file is here:http://www.filedropper.com/1tyarn_1
Thanks,
MABlockedThanks Hugo, I am referring to the discrete version of volume where I can add constraint to the mesh,
Here is the STL file:
http://www.filedropper.com/1tyarn
Thanks,
MABlockedI have solved the problem, thanks so much Hugo.
-
AuthorPosts