-
NickHock replied to the topic How to use the Sofa mesh partition tools? in the forum Getting Started 11 months ago
Hi @pasquale94,
That’s great to hear. Please send screen shots and videos to @hugo. He is always looking for images for the SOFA gallery. NB the SOFA GUI has options for capturing video.
Best,
Nick -
NickHock replied to the topic How to use the Sofa mesh partition tools? in the forum Getting Started 11 months ago
Hi @pasquale94,
Good to hear that you have it working now.
Short answer:
The domains are differentiated by keywords in their file names, defined in the .yaml file. The input files need to be .off surface meshes.Long Answer:
The way that it works is that it takes in a set of surface meshes, and uses them to define the partitioned tetrahedral…[Read more]
-
NickHock replied to the topic How to use the Sofa mesh partition tools? in the forum Getting Started 11 months ago
Hi @pasquale94
I think the fault is here :
out_dir = output_files_dir/output_files_demo
“output_files_dir/output_files_demo”is not a directory
subdomain_meshes.begin()->mesh_vec.begin()->is_empty() = 0You need to create the directory “output_files_dir/output_files_demo”.
(This is partly because Git does not like me leaving an empty directory…[Read more] -
NickHock replied to the topic How to use the Sofa mesh partition tools? in the forum Getting Started 11 months ago
Hi @pasquale94,
tree_ is internal to CGAL. The problem will be further back in the execution.
Please send me all the terminal output from where you called
Mesh_pipeline_exact_src/pipeline2 -i input_files_dir/input_files_demo/ -o output_files_dir/output_files_demo
…
The main program prints out statements as each section completes.
I need…[Read more]
-
NickHock replied to the topic How to use the Sofa mesh partition tools? in the forum Getting Started 11 months, 1 week ago
It is looking for the input folder using a relative path from where the script is run. Two ways it might not find the input folder (i) does the folder exist, (ii) is the relative path correct for where you are running the script.
In the Git repository “SOFA_mesh_partitioning_tools/mesh_pipeline/input_files_dir/input_files_demo/” is already…[Read more]
-
NickHock replied to the topic How to use the Sofa mesh partition tools? in the forum Getting Started 11 months, 1 week ago
Hello @pasquale94
looking at the error messages, my first question is : do you have OpenSCAD installed ?
It is cross-platform and free-and-open-source, available here http://www.openscad.org/downloads.html .Explanation:
The python script makes calls to OpenSCAD, to generate the set of intersecting surface meshes used in the demo.Please let me know…[Read more]
-
NickHock replied to the topic Best Way to Implement Ligaments Attaching Finger Bones Together in the forum Using SOFA 1 year, 1 month ago
Hi @jayyang,
I have a full set of hand bones that I segmented from an MRI scan, and the original scans. If you contact me via email, I’ll send you a DropBox link. Using these requires an acknowledgement of the centre that took the scans for me.
Segmenting tissues takes time and practice. The ligaments are always hard to distinguish, and only…[Read more]
-
NickHock replied to the topic Best Way to Implement Ligaments Attaching Finger Bones Together in the forum Using SOFA 1 year, 1 month ago
Hello @jayyang
One option would be to use the tools-for-multi-material-simulations, on Sofa Marketplace. (Disclosure, I’m the author.)You would build a partitioned mesh for tetrahedral FEM, from the surface meshes of the bones, ligaments, tendons and muscles. The ligaments may not segment well from a CT/MRI scan. You can generate model for t…[Read more]
-
NickHock replied to the topic How to use Tools for multi-material on Windows? in the forum Using SOFA 1 year, 1 month ago
Hi Wong,
I believe you are right. I need to check that it still compiles and runs correctly on Linux. (Today was really busy.)
Thanks,
Nick -
NickHock replied to the topic How to use Tools for multi-material on Windows? in the forum Using SOFA 1 year, 1 month ago
Hi @outtt,
I’m glad to hear your build on Windows10 went smoothly. (I only have Ubuntu, so have not had the chance to test it on other operating systems.)
After some problems posting on this forum (thank you Hugo for fixing that), I have updated the README.md file with instructions on installing the dependencies for Linux, Windows and Mac.
Best…[Read more]
-
NickHock became a registered member 1 year, 1 month ago