85. gui.menus.Surface — Surface Menu

Surface operations menu for pyFormex. This menu contains specific options for TriSurface objects. The options from the Geometry and Mesh menus are also applicable to these objects.

85.1. Functions defined in module gui.menus.Surface

gui.menus.Surface.fixNormals(method)[source]

Fix the normals of the selected surfaces.

gui.menus.Surface.reverseNormals()[source]

Reverse the normals of the selected surfaces.

gui.menus.Surface.removeNonManifold()[source]

Remove the nonmanifold edges.

gui.menus.Surface.createPointsOnSurface()[source]

Interactively create points on the selected TriSurface.

gui.menus.Surface.deleteTriangles()[source]

Interactively delete triangles from a TriSurface

gui.menus.Surface.showStatistics(key=None, domain=True, dist=False, cumdist=False, clip=None, vmin=None, vmax=None, percentile=False)[source]

Show the values corresponding with key in the specified mode.

key is one of the keys of SelectableStatsValues mode is one of [‘On Domain’,’Histogram’,’Cumulative Histogram’]

gui.menus.Surface.showSurfaceValue(S, txt, val, onEdges, legend=True)[source]

Display a scalar value on the surface or its edges

gui.menus.Surface.cutWithPlane()[source]

Cut the selection with a plane.

gui.menus.Surface.cutSelectionByPlanes()[source]

Cut the selection with one or more planes, which are already created.

gui.menus.Surface.intersectWithPlane()[source]

Intersect the selection with a plane.

gui.menus.Surface.slicer()[source]

Slice the surface to a sequence of cross sections.

gui.menus.Surface.spliner()[source]

Slice the surface to a sequence of cross sections.

gui.menus.Surface.create_volume()[source]

Generate a volume tetraeder mesh inside a surface.

gui.menus.Surface.boolean()[source]

Boolean operation on two surfaces.

op is one of ‘+’ : union, ‘-’ : difference, ‘*’ : interesection

gui.menus.Surface.intersection()[source]

Intersection curve of two surfaces.

gui.menus.Surface.voxelize()[source]

Voxelize

gui.menus.Surface.remesh()[source]

Remesh a TriSurface to a quality Tri3 and/or Quad4 Mesh.

Shows a Dialog to set the parameters for the remeshing. Then creates and shows the new mesh.

gui.menus.Surface.tri2quad_auto(suffix='_quad4')[source]

Autoconvert a set of TriSurfaces to quad4 Meshes

The outputs are stored with names equal to the input names plus the suffix. If a suffix ‘’ is given, the input names are used and the input objects will be cleared from memory.