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
this is my code
i want manipulate the scene, add object move them, remove and somethings like this
how can i do ?
the problem is when i use draw_geometries code flow not continue
another my request is when i press some button manipulate the scene (add, move, rotate, remove )
`
import open3d as o3d
from Open3D_CustomMethods import *
i = 0
def main():
modelA ="D:/data/3d_model.obj"
modelB ="D:/data/270.obj"
modelA_mesh = o3d.io.read_triangle_mesh(modelA)
modelB_mesh = o3d.io.read_triangle_mesh(modelB)
modelA_mesh.compute_vertex_normals()
modelB_mesh.compute_vertex_normals()
o3d.visualization.draw_geometries([modelA_mesh])
# here i want move draw position (100,0,100)
# and add a new mesh to scene
o3d.visualization.draw_geometries([modelB_mesh])
#remove modelA from scend
#here move modelB to (0,0,0)
#add modelA to scene
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
-
hi
this is my code
i want manipulate the scene, add object move them, remove and somethings like this
how can i do ?
the problem is when i use draw_geometries code flow not continue
another my request is when i press some button manipulate the scene (add, move, rotate, remove )
`
import open3d as o3d
from Open3D_CustomMethods import *
i = 0
def main():
modelA ="D:/data/3d_model.obj"
modelB ="D:/data/270.obj"
main()`
Beta Was this translation helpful? Give feedback.
All reactions