OrsSurfaceDetermination

Generates a mesh from a dataset’s contour

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:

Sep 16 2015 13:15

dragonflyVersion:

3.0

UUID:

af8b0d3a761511e78b5f448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsSurfaceDetermination.OrsSurfaceDetermination.OrsSurfaceDetermination(*args, **kwargs)
cleanup()

Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.

interfacemethod configureMeshVisibility(meshToShow: Mesh, meshToHide: Mesh, forceShow2D: bool = False, forceShow3D: bool = True, diffuseFactor: float = 0.65, specularFactor: float = 0.3)

Configures visibility and visual properties for two meshes (showing one, hiding the other)

Parameters:
  • meshToShow (ORSModel.ors.Mesh) – mesh to make visible and configure visual properties

  • meshToHide (ORSModel.ors.Mesh) – mesh to hide in the presence of the new meshToShow

  • forceShow2D (bool) – whether to force show in 2D view

  • forceShow3D (bool) – whether to force show in 3D view

  • diffuseFactor (float) – diffuse factor for the visible mesh (default: 0.65)

  • specularFactor (float) – specular factor for the visible mesh (default: 0.3)

classmethod getMainFormClass()

Gets the class of the main form

Returns:

output –