OrsMeshSmoothing_7b30798a7ee211e8b326107b441a0862

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:

Jul 03 2018 12:59

dragonflyVersion:

3.6.0.487 (D)

UUID:

7b30798a7ee211e8b326107b441a0862

Class Code

class OrsPythonPlugins.OrsMeshSmoothing_7b30798a7ee211e8b326107b441a0862.OrsMeshSmoothing_7b30798a7ee211e8b326107b441a0862.OrsMeshSmoothing_7b30798a7ee211e8b326107b441a0862(*args, **kwargs)
classmethod getMainFormClass()

Gets the class of the main form

Returns:

output

classmethod getSelectedItems()

Opens a GUI to let the user select other meshes, and then apply smoothing

Returns:

output (list of GUIDs) –

classmethod startSmoothingMeshPlugin(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 startSmoothingMeshPlugin_menuItemDefinition()

Declaration of a plugin menu item.

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

Returns:

output – Menu item instance