ansys.mapdl.core.Mapdl.shade#

Mapdl.shade(wn='', type_='', **kwargs)#

Defines the type of surface shading used with Z-buffering.

Mechanical APDL Command: /SHADE

Parameters:
wnstr

Window number (or ALL) to which command applies (defaults to 1).

type_str

Shading type:

  • FACET or 0 - Facet shading (one color per area face).

  • GOURAUD or 1 - Gouraud smooth shading (smooth variation of color based on interpolated vertex colors) (default).

  • PHONG or 2 - Phong smooth shading (smooth variation of color based on interpolated vertex normals).

Notes

Defines the type of surface shading used on area, volume, and PowerGraphics ( graphics,POWER) displays when software Z-buffering is enabled ( slashtype ). This command is only functional for 2D display devices.

This command is valid in any processor.