OrsMeshDecimator_1c59441ea78611e79abd107b441a0862

Apply mesh decimation

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
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)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
canBeGenericallyOpened = False
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
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
getSourceUnstructuredGrid()
classmethod importAllLoggingClasses()

This method is called to make any class extension available for macro playing. It should:

  1. import all class extension;
  2. return a list of classes where logging is supported.
Returns:output (list of classes) – list of classes where logging is supported by the current plugin
keepAlive = False
multiple = False
classmethod openMeshDecimatorAction(meshGUID)
savable = False
selectedObjectsChanged()