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:
- wn
str
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).
- wn
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.