Closed shimwell closed 1 year ago
conda build test failing as it can't find the vertices to h5m package. This is because that package only has a pypi installer currently
Tests failing with tests/test_two_joined_cubes.brep file not found error
currently missing the trimesh step
mesh = trimesh.load_mesh(filename)
if mesh.is_watertight is False:
msg = f"file {filename} is watertight"
warnings.warn(msg)
trimesh.repair.fix_normals(
mesh
)
currently missing the trimesh step
mesh = trimesh.load_mesh(filename) if mesh.is_watertight is False: msg = f"file {filename} is watertight" warnings.warn(msg) trimesh.repair.fix_normals( mesh )
this is done in vertices to h5m package
Work in progress
This should remove the need to write STL files once completed
It goes straight from the meshed Brep to h5m
useful resources https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/api/gmsh.py http://onelab.info/pipermail/gmsh/2018/012225.html https://bthierry.pages.math.cnrs.fr/tutorial/gmsh/api/detail/ https://github.com/ahojukka5/gmshparser https://github.com/dmelgarm/gmsh/blob/master/gmsh_tools.py https://gitlab.onelab.info/gmsh/gmsh/-/issues/1684