MirrorSettings

class cee.ug.MirrorSettings()

Settings for mirroring/symmetry in the RemoteModel.

Use this class to recreate the full model if the simulation was run on a part of the model to save simulation time exploiting any symmetry in the model.

You can access the mirror settings from the RemoteModel.mirrorSettings property.

Example: A forging simulation simulating only 1/6’th of the model.

CAE model:

../../_images/mirror_single.png

Full model using mirroring with mirrorPassCount = 5:

../../_images/mirror_full.png

Accessors

  • enable

  • firstPlane

  • masterPlane

  • mirrorPassCount

  • reflective

  • secondPlane


Accessors

cee.ug.enable()

Enable or disable mirroring/symmetry

If enabled, the model will be mirrored according to the given settings

Return type:

boolean

cee.ug.enable(enable)
Arguments:
  • enable (boolean) – None

Return type:

void

cee.ug.firstPlane()

Set the first mirror plane to use. This plane will be used for the 1st mirror pass

Return type:

PlaneLike

cee.ug.firstPlane(plane)
Arguments:
  • plane (PlaneLike) – None

Return type:

void

cee.ug.masterPlane()

Set the master mirror plane to use.

The master mirror plane will add one final mirroring that mirrors the entire model after doing the given number of mirror passes specified in the first/second plane and the mirrorPassCount.

Return type:

PlaneLike

cee.ug.masterPlane(plane)
Arguments:
  • plane (PlaneLike) – None

Return type:

void

cee.ug.mirrorPassCount()

The number of mirror passes to render.

Return type:

number

cee.ug.mirrorPassCount(numPasses)
Arguments:
  • numPasses (number) – None

Return type:

void

cee.ug.reflective()

Enable or disable reflective mirroring.

If enabled, the mirrored parts will be reflected on plane1/plane2. If disabled, the part will only be rotated into place.

Return type:

boolean

cee.ug.reflective(useReflective)
Arguments:
  • useReflective (boolean) – None

Return type:

void

cee.ug.secondPlane()

Set the second mirror plane to use. This plane will be used for the 2nd mirror pass

Return type:

PlaneLike

cee.ug.secondPlane(plane)
Arguments:
  • plane (PlaneLike) – None

Return type:

void

Methods

getAsProperties

MirrorSettings.getAsProperties()

Gets the settings for this object as a Plain Old JavaScript Object (POJO).

Return type:

MirrorSettingsProperties

setFromProperties

MirrorSettings.setFromProperties(props)
Arguments:

Applies the settings in the given properties object to this scalar settings

Return type:

void