OrsMeshDecimator_1c59441ea78611e79abd107b441a0862

Apply mesh decimation

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2018.
date:Oct 02 2017 11:26
dragonflyVersion:
 3.1.0.307 (D)
UUID:1c59441ea78611e79abd107b441a0862

Class Code

class OrsPythonPlugins.OrsMeshDecimator_1c59441ea78611e79abd107b441a0862.OrsMeshDecimator_1c59441ea78611e79abd107b441a0862.OrsMeshDecimator_1c59441ea78611e79abd107b441a0862(varname=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
closable = True
closeWidget(name)
classmethod contextualMenu(context)

Contextual menu.

This code will be executed when a contextual menu has to be displayed.

The menu item instances used in this method should be taken from menu item definitions declared in this plugin and filled with proper values (section, action, enabled, …). If multiple menu items have to be used by this method, they should be defined using the same pattern.

Parameters:listSelectedObjectsRepr – list of selected objects (this argument is given as string representation)
Returns:output – None, a single menu item instance, or a list of menu item instances
getSourceUnstructuredGrid()
keepAlive = False
multiple = False
classmethod openGUI()
classmethod openMeshDecimatorAction(meshGUID)
classmethod openMeshDecimatorMenuItem(listSelectedObjectsRepr)

Contextual menu.

This code will be executed when a contextual menu has to be displayed.

The menu item instances used in this method should be taken from menu item definitions declared in this plugin and filled with proper values (section, action, enabled, …). If multiple menu items have to be used by this method, they should be defined using the same pattern.

Parameters:listSelectedObjectsRepr – list of selected objects (this argument is given as string representation)
Returns:output – None, a single menu item instance, or a list of menu item instances
classmethod openMeshDecimatorMenuItem_menuItemDefinition()

Declaration of a plugin menu item.

This method has to be decorated by “menuItem(menuItemDefinition=True)”.

Returns:output – Menu item instance
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
savable = False
selectedObjectsChanged()