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 have a mesh whose x,y,z mins have been zeroed. I now want to build a Z map with spacing: two dimensional ndarray (xMax/spacing,yMax/spacing) whose [i,j] values are equal to the max mesh z value at coordinates [spacingi,spacingj].
is there a smart way to do it via trimesh features or do I need to iterate through the array elements and perform a ray casting to capture the intersections?
Additional questions:
I am able to create a path.entities.Line object, but how can i create a path3d object from it?
good - line=trimesh.path.entities.Line([(1,2,3),(2,3,4)])
wrong - path3d=trimesh.path.Path3D(entities=line,vertices=line.points)
Best regards
Theophile
The text was updated successfully, but these errors were encountered:
Hello,
I have a mesh whose x,y,z mins have been zeroed. I now want to build a Z map with spacing: two dimensional ndarray (xMax/spacing,yMax/spacing) whose [i,j] values are equal to the max mesh z value at coordinates [spacingi,spacingj].
is there a smart way to do it via trimesh features or do I need to iterate through the array elements and perform a ray casting to capture the intersections?
Additional questions:
I am able to create a path.entities.Line object, but how can i create a path3d object from it?
good - line=trimesh.path.entities.Line([(1,2,3),(2,3,4)])
wrong - path3d=trimesh.path.Path3D(entities=line,vertices=line.points)
Best regards
Theophile
The text was updated successfully, but these errors were encountered: