DiscussionsIssue archiveVisualization and 3D Viewer

Archived discussion

Drag (move) objects with mouse

Visualization and 3D ViewerTue, 08/10/2021 - 17:442 replies

Browse this forum
QuestionAuthor

Dear developers and users,

I want to move objects by clicking on them and dragging them to a new location. Is this possible in opencascade? I already know how to translate objects, so it's a matter of tracking mouse position (in the form of coordinates) when an object is selected. Any ideas how to do this?

Kind regards,
Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Usually an interactive object translation is enabled by attaching AIS_Manipulator auxiliary tool to it.

02Author

The AIS_Manipulator works fine, thank you!