PrismControl#

class ansys.meshing.prime.PrismControl(model, id, object_id, name)#

PrismControl allows you to generate prisms.

PrismControl allows you to control generation of prisms. Controls include setting the face scope, volume scope and growth parameters.

Parameters:
modelModel

Server model to create PrismControl object.

idint

Id of the PrismControl.

object_idint

Object id of the PrismControl.

namestr

Name of the PrismControl.

Methods

PrismControl.get_surface_scope()

Gets the surface control scope.

PrismControl.get_volume_scope()

Gets the volume control scope.

PrismControl.set_growth_params(...)

Set growth parameters for prism control.

PrismControl.set_surface_scope(entities)

Sets the surface control scope.

PrismControl.set_volume_scope(entities)

Sets the volume control scope.

Attributes

PrismControl.id

Get the id of PrismControl.

PrismControl.name

Get the name of PrismControl.

Examples using PrismControl#

Mesh a generic F1 car rear wing for external aero simulation

Mesh a generic F1 car rear wing for external aero simulation