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
When we do clip(mesh, plane) with clipVolume=true and we use a visitor, there are two meshes involved in the visitor: the mesh, and the piece of the plane which will close the clipped mesh.
That could be embarassing. Image I have that in the visitor:
This function will be executed when the mesh tm is the piece of the plane, and this is not what I want.
The solution I found is to assign a dummy property map "f:dummy" to the mesh in order to be able to identify it, and then I modified the above code as follows:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
When we do
clip(mesh, plane)
withclipVolume=true
and we use a visitor, there are two meshes involved in the visitor: themesh
, and the piece of theplane
which will close the clippedmesh
.That could be embarassing. Image I have that in the visitor:
This function will be executed when the mesh
tm
is the piece of the plane, and this is not what I want.The solution I found is to assign a dummy property map
"f:dummy"
to themesh
in order to be able to identify it, and then I modified the above code as follows:Is there a better solution?
And what could be an usage of the visitor to do something with the piece of plane? I cannot imagine any example.
Beta Was this translation helpful? Give feedback.
All reactions