mmSolver.tools.raycastmarker#

Tools#

This is a Ray cast Markers tool.

mmSolver.tools.raycastmarker.tool.main()#

Ray-casts each bundle connected to the selected markers on to the mesh from the associated camera.

Select markers and mesh objects to ray-cast on to, if no mesh objects are selected the tool will ray-cast on to all visible mesh objects.

If a bundle translate attribute is locked, it will be unlocked, then projected, and then the lock state will be reverted to the original value.

Note

The Marker node is the origin point of the ray-cast, not the camera’s pivot position. This is intentional. If the user has a single dense (LIDAR) model node it can be helpful to project from a distance away from the camera origin. With a single dense mesh it is difficult to split the model up to use different mesh selections.

Example:

>>> import mmSolver.tools.raycastmarker.tool as tool
>>> tool.main()
mmSolver.tools.raycastmarker.tool.open_window()#