-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I wanted to use quadwild from wherever in my PC by creating a function in my bashrc. for this, I created the following function:
quadWildMeshing() {
local inp1="$1" ;
meshio convert ./"$inp1" ./mesh.obj ;
/home/franco/Programs/quadwild-bimdf/build/Build/bin/quadwild ./mesh.obj 2 /home/franco/Programs/quadwild-bimdf/config/prep_config/basic_setup_Mechanical.txt ;
/home/franco/Programs/quadwild-bimdf/build/Build/bin/quad_from_patches ./mesh_rem_p0.obj 123 /home/franco/Programs/quadwild-bimdf/config/main_config/flow_noalign_lemon.txt;
}
the issue is that the there are some hardcoded paths inside the code. for eg.
cd $HOME/Downloads/newFolder #where Mesh_1.stl is present
quadWildMeshing Mesh_1.stl
I get an error fatal error: Could not open N14QuadRetopology10FlowConfigE config file 'config/main_config/flow_virtual_simple.json' here is the complete output
output.txt
if now I do:
cd /home/franco/Programs/quadwild-bimdf
mkdir test
cp $HOME/Downloads/newFolder/Mesh_1.stl ./test/Mesh_1.stl
quadWildMeshing ./test/Mesh_1.stl
quadWild will work correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels