You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the demo included in "ats/tools/meshing/meshing_ats/four-polygon-test" with the recommended command "python ../meshing_ats.py -n 10 -d 1 ./four_polygon.vtk". When runing the following command "m3 = Mesh3D.extruded_Mesh2D(m2, [options.depth,], [options.num_cells,], [10000,])", I got the following error "TypeError: Mesh3D.extruded_Mesh2D() missing 1 required positional argument: 'mat_ids'".
What's the problem, thanks in advance!
The text was updated successfully, but these errors were encountered:
Oh, I'm not sure that utility is tested in our CI, so it's very possible it is out of date. I'll take a look. mat_ids is [10000,] in this case, so clearly we're missing another argument to that function somewhere.
Ok, so vtk_io.py is python2, and we don't really support python2 for anything anymore. I'm either going to remove this or refactor it, but either way it won't happen today.
Can you try changing the second-to-last line in your meshing_ats.py file to:
I'm running the demo included in "ats/tools/meshing/meshing_ats/four-polygon-test" with the recommended command "python ../meshing_ats.py -n 10 -d 1 ./four_polygon.vtk". When runing the following command "m3 = Mesh3D.extruded_Mesh2D(m2, [options.depth,], [options.num_cells,], [10000,])", I got the following error "TypeError: Mesh3D.extruded_Mesh2D() missing 1 required positional argument: 'mat_ids'".
What's the problem, thanks in advance!
The text was updated successfully, but these errors were encountered: