@@ -531,6 +531,116 @@ def shade(self, wn="", type_="", **kwargs):
531531 command = f"/SHADE,{ wn } ,{ type_ } "
532532 return self .run (command , ** kwargs )
533533
534+ def slashtype (self , wn = "" , type_ = "" , ** kwargs ):
535+ """Defines the type of display.
536+
537+ APDL Command: /TYPE
538+
539+ Parameters
540+ ----------
541+ wn
542+ Window number (or ALL) to which command applies (defaults to 1).
543+
544+ type_
545+ Display type. Defaults to `ZBUF` for raster mode displays or `BASIC`
546+ for vector mode displays:
547+
548+ BASIC or 0
549+ Basic display (no hidden or section operations).
550+
551+ SECT or 1
552+ Section display (plane view). Use the `/CPLANE` command to
553+ define the cutting plane.
554+
555+ HIDC or 2
556+ Centroid hidden display (based on item centroid sort).
557+
558+ HIDD or 3
559+ Face hidden display (based on face centroid sort).
560+
561+ HIDP or 4
562+ Precise hidden display (like `HIDD` but with more precise checking).
563+ Because all facets are sorted, this mode can be extremely slow,
564+ especially for large models.
565+
566+ CAP or 5
567+ Capped hidden display (same as combined `SECT` and `HIDD` with
568+ model in front of section plane removed).
569+
570+ ZBUF or 6
571+ Z-buffered display (like `HIDD` but using software Z-buffering).
572+
573+ ZCAP or 7
574+ Capped Z-buffered display (same as combined `SECT` and `ZBUF`
575+ with model in front of section plane removed).
576+
577+ ZQSL or 8
578+ `QSLICE` Z-buffered display (same as `SECT` but the edge lines
579+ of the remaining 3D model are shown).
580+
581+ HQSL or 9
582+ `QSLICE` precise hidden display (like `ZQSL` but using precise hidden).
583+
584+ Notes
585+ -----
586+ **Command Default:** `ZBUF` for raster mode displays; `BASIC` for vector
587+ mode displays.
588+
589+ Defines the type of display, such as section display or hidden-line
590+ display. Use the `/DEVICE` command to specify either raster or
591+ vector mode.
592+
593+ The `SECT`, `CAP`, `ZCAP`, `ZQSL`, and `HQSL` options produce section
594+ displays. The section or "cutting" plane is specified on the `/CPLANE `
595+ command as either normal to the viewing vector at the focus point
596+ (default), or as the working plane.
597+
598+ When you use PowerGraphics, the section display options (`Section`,
599+ `Slice`, and `Capped`) use different averaging techniques for the
600+ interior and exterior results. Because of the different averaging
601+ schemes, anomalies may appear at the transition areas. In many cases,
602+ the automatically computed `MIN` and `MAX` values will differ from the
603+ full range of interior values. You can lessen the effect of these
604+ anomalies by issuing` AVRES,,FULL` (Main Menu> General Post Proc>
605+ Options for Outp). This command sets your legend's automatic contour
606+ interval range according to the minimum and maximum results found
607+ throughout the entire model.
608+
609+ With PowerGraphics active (`/GRAPHICS,POWER`), the averaging scheme for
610+ surface data with interior element data included (`AVRES,,FULL`) and
611+ multiple facets per edge (`/EFACET,2` or `/EFACET,4`) will yield
612+ differing minimum and maximum contour values depending on the Z-
613+ Buffering options (`/TYPE,,6` or `/TYPE,,7`). When the Section data is
614+ not included in the averaging schemes (`/TYPE,,7`), the resulting
615+ absolute value for the midside node is significantly smaller.
616+
617+ The `HIDC`, `HIDD`, `HIDP`, `ZBUF`, `ZQSL`, and `HQSL` options produce
618+ displays with "hidden" lines removed. Hidden lines are lines obscured
619+ from view by another element, area, etc. The choice of non-Z-buffered
620+ hidden-line procedure types is available only for raster mode
621+ (`/DEVICE`) displays. For vector mode displays, all non-Z-buffered
622+ "hidden-line" options use the same procedure (which is slightly
623+ different from the raster procedures). Both geometry and postprocessing
624+ displays may be of the hidden- line type. Interior stress contour lines
625+ within solid elements can also be removed as hidden lines, leaving only
626+ the stress contour lines and element outlines on the visible surfaces.
627+ Midside nodes of elements are ignored on postprocessing displays.
628+ Overlapping elements will not be displayed.
629+
630+ The `ZBUF`, `ZCAP`, and `ZQSL` options use a specific hidden-line
631+ technique called software Z-buffering. This technique allows a more
632+ accurate display of overlapping surfaces (common when using Boolean
633+ operations or `/ESHAPE` on element displays), and allows smooth shaded
634+ displays on all interactive graphics displays. Z-buffered displays can
635+ be performed faster than `HIDP` and `CAP` type displays for large
636+ models. See also the `/LIGHT`, `/SHADE`, and `/GFILE` commands for
637+ additional options when Z-buffering is used.
638+
639+ This command is valid in any processor.
640+ """
641+ command = f"/TYPE,{ wn } ,{ type_ } "
642+ return self .run (command , ** kwargs )
643+
534644 def trlcy (self , lab = "" , tlevel = "" , n1 = "" , n2 = "" , ninc = "" , ** kwargs ):
535645 """Specifies the level of translucency.
536646
0 commit comments