csc.tools.MirrorTool

class csc.tools.MirrorTool

Mirror tool class. Represents the mirror tool class used to handle symmetry operations in Cascadeur.

1import csc
2scene_manager = csc.app.get_application().get_scene_manager()
3app_scene::csc.view.Scene = scene_manager.current_scene()
4mirror_tool = csc.app.get_application().get_tools_manager().get_tool('MirrorTool').editor(app_scene)
5core = mirror_tool.core()
6core.set_plane(csc.math.Plane([1.0, 0.0, 0.0], [0.0,0.0,0.0]))
__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

core(self)

Retrieves the core of the mirror tool.

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.tools'
core(self: csc.tools.MirrorTool) object

Retrieves the core of the mirror tool.

Returns:

The core of the mirror tool

Return type:

csc.tools.mirror.Core