OrsMeshDecimator_1c59441ea78611e79abd107b441a0862

Apply mesh decimation

author:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Oct 02 2017 11:26

dragonflyVersion:

3.1.0.307 (D)

UUID:

1c59441ea78611e79abd107b441a0862

Class Code

class OrsPythonPlugins.OrsMeshDecimator_1c59441ea78611e79abd107b441a0862.OrsMeshDecimator_1c59441ea78611e79abd107b441a0862.OrsMeshDecimator_1c59441ea78611e79abd107b441a0862(*args, **kwargs)
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

classmethod getSelectedItems()

Opens a GUI to let the user select meshes and then apply down sampling

Returns:

output (list of GUIDs) –

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