[IoId("00000000-E1FD-4687-94D6-7CA12787698B")] public sealed class Guise : IStorable
A collection of properties used for displaying shapes in the Rhino viewports.

Constructors

Guise

#
public Guise(GuisePoint points = null, GuisePlane planes = null, GuiseCurve curves = null, GuiseCurve isocurves = null, GuiseCurve nakedEdges = null, GuiseCurve innerEdges = null, GuiseCurve nakedTrims = null, GuiseCurve innerTrims = null, GuiseCurve nonManifold = null, GuiseFacet planarNatural = null, GuiseFacet curvedNatural = null, GuiseFacet planarTrimmed = null, GuiseFacet curvedTrimmed = null)
Create a display guise from scratch.
points (GuisePoint = null)
planes (GuisePlane = null)
curves (GuiseCurve = null)
isocurves (GuiseCurve = null)
nakedEdges (GuiseCurve = null)
innerEdges (GuiseCurve = null)
nakedTrims (GuiseCurve = null)
innerTrims (GuiseCurve = null)
nonManifold (GuiseCurve = null)
planarNatural (GuiseFacet = null)
curvedNatural (GuiseFacet = null)
planarTrimmed (GuiseFacet = null)
curvedTrimmed (GuiseFacet = null)

Guise

#
public Guise(IReader reader)
reader (IReader)

Properties

CurvedNatural

#
public GuiseFacet CurvedNatural { get; }
Gets the display of untrimmed, curved faces.

CurvedTrimmed

#
public GuiseFacet CurvedTrimmed { get; }
Gets the display of trimmed, curved faces.

Curves

#
public GuiseCurve Curves { get; }
Gets the display of curves.

Id

#
public Guid Id { get; }
Gets the identifier of this instance. This can be handy for when you have to decide whether or not to wipe a cache.

InnerEdges

#
public GuiseCurve InnerEdges { get; }
Gets the display properties for non-trimmed internal edges.

InnerTrims

#
public GuiseCurve InnerTrims { get; }
Gets the display properties for trimmed internal edges.

Isocurves

#
public GuiseCurve Isocurves { get; }
Gets the display for isoparameteric curves.

NakedEdges

#
public GuiseCurve NakedEdges { get; }
Gets the display properties for naked edges.

NakedTrims

#
public GuiseCurve NakedTrims { get; }
Gets the display properties for naked, trimmed edges.

NonManifold

#
public GuiseCurve NonManifold { get; }
Gets the display properties for non-manifold edges.

PlanarNatural

#
public GuiseFacet PlanarNatural { get; }
Gets the display of untrimmed, planar faces.

PlanarTrimmed

#
public GuiseFacet PlanarTrimmed { get; }
Gets the display of trimmed, planar faces.

Planes

#
public GuisePlane Planes { get; }
Gets the display of planes.

Points

#
public GuisePoint Points { get; }
Gets the display of points.

Methods

FindAppropriateGuise

#
public GuiseCurve FindAppropriateGuise(CurveKind kind)
Resolve the appropriate curve properties given a curve kind.
kind (CurveKind)

FindAppropriateGuise

#
public GuiseFacet FindAppropriateGuise(FaceKind kind)
Resolve the appropriate display material given a surface kind.
kind (FaceKind)

ResolveSelectedUnsetValues

#
public static Guise ResolveSelectedUnsetValues(Guise selected, Guise standard)
Resolve all unset values in a selected guise.
selected (Guise)
standard (Guise)

ResolveStandardUnsetValues

#
public static Guise ResolveStandardUnsetValues(Guise standard)
Resolve all unset values in a standard guise.
standard (Guise)

Store

#
public void Store(IWriter writer)
writer (IWriter)
Store

WithColour

#
public Guise WithColour(Color colour)
colour (Color)

WithCurvedNatural

#
public Guise WithCurvedNatural(GuiseFacet curvedNatural)
curvedNatural (GuiseFacet)

WithCurvedTrimmed

#
public Guise WithCurvedTrimmed(GuiseFacet curvedTrimmed)
curvedTrimmed (GuiseFacet)

WithCurves

#
public Guise WithCurves(GuiseCurve curves)
curves (GuiseCurve)

WithInnerEdges

#
public Guise WithInnerEdges(GuiseCurve innerEdges)
innerEdges (GuiseCurve)

WithInnerTrims

#
public Guise WithInnerTrims(GuiseCurve innerTrims)
innerTrims (GuiseCurve)

WithIsocurves

#
public Guise WithIsocurves(GuiseCurve isocurves)
isocurves (GuiseCurve)

WithNakedEdges

#
public Guise WithNakedEdges(GuiseCurve nakedEdges)
nakedEdges (GuiseCurve)

WithNakedTrims

#
public Guise WithNakedTrims(GuiseCurve nakedTrims)
nakedTrims (GuiseCurve)

WithNonManifold

#
public Guise WithNonManifold(GuiseCurve nonManifold)
nonManifold (GuiseCurve)

WithPlanarNatural

#
public Guise WithPlanarNatural(GuiseFacet planarNatural)
planarNatural (GuiseFacet)

WithPlanarTrimmed

#
public Guise WithPlanarTrimmed(GuiseFacet planarTrimmed)
planarTrimmed (GuiseFacet)

WithPlanes

#
public Guise WithPlanes(GuisePlane planes)
planes (GuisePlane)

WithPoints

#
public Guise WithPoints(GuisePoint points)
points (GuisePoint)