GH_MeshingParameters.RhMesherSettings_Proxy

GH_GooProxy<1>

Constructors

RhMesherSettings_Proxy

#
public RhMesherSettings_Proxy(GH_MeshingParameters owner)
owner (GH_MeshingParameters)

Properties

AngleTolerance

#
[Description("Specifies maximum angle (in degrees) between surface normals evaluated at adjacent vertices.")] [Category("Refinement")] [DisplayName("Angle Tolerance")] [DefaultValue(0)] public double AngleTolerance { get; set; }

AspectRatio

#
[Description("Specifies maximum acceptable aspect ratio of quads in the initial grid.")] [Category("Initial Grid")] [DisplayName("Aspect Ratio")] [DefaultValue(20)] public double AspectRatio { get; set; }

GridMaxCount

#
[Description("Defines maximum initial grid size (number of quads) per Brep face.")] [DisplayName("Maximum Grid size")] [Category("Initial Grid")] [DefaultValue(400)] public int GridMaxCount { get; set; }

GridMinCount

#
[Description("Defines minimum initial grid size (number of quads) per Brep face.")] [DisplayName("Minimum Grid size")] [Category("Initial Grid")] [DefaultValue(16)] public int GridMinCount { get; set; }

IsParsable

#
public override bool IsParsable { get; }

JaggedSeams

#
[Description("Make sure edges of adjacent Brep faces match without gaps or T-joints.")] [DisplayName("Jagged Seams")] [Category("Post-process")] [DefaultValue(false)] public bool JaggedSeams { get; set; }

MaxEdgeLength

#
[Description("Specifies maximum length of edges that is allowed without refinement.")] [Category("Refinement")] [DisplayName("Maximum Edge Length")] [DefaultValue(0)] public double MaxEdgeLength { get; set; }

MinEdgeLength

#
[Description("Specifies minimum length of edges that qualify for refinement.")] [Category("Refinement")] [DisplayName("Minimum Edge Length")] [DefaultValue(0)] public double MinEdgeLength { get; set; }

Owner

[Browsable(false)] protected T Owner { get; }
inherited fromGH_GooProxy<T>

ProxyOwner

[Browsable(false)] public IGH_Goo ProxyOwner { get; }
Gets the piece of Grasshopper data that spawned this proxy.
inherited fromGH_GooProxy<T>
ProxyOwner

Refine

#
[Description("Refine mesh faces when they exceed tolerance accuracy.")] [Category("Refinement")] [DefaultValue(false)] public bool Refine { get; set; }

SimplePlanes

#
[Description("Mesh planar Brep faces with a minimum amount of mesh triangles.")] [DisplayName("Simple Planes")] [Category("Initial Grid")] [DefaultValue(true)] public bool SimplePlanes { get; set; }

Tolerance

#
[Description("Specifies maximum distance from center of edge to underlying Brep face.")] [Category("Refinement")] [DisplayName("Deviation Tolerance")] [DefaultValue(0)] public double Tolerance { get; set; }

TypeDescription

[Description("Description of target data type")] [Category("Misc")] public string TypeDescription { get; }
inherited fromGH_GooProxy<T>

TypeName

[Description("Name of target data type")] [Category("Misc")] public string TypeName { get; }
inherited fromGH_GooProxy<T>

UserString

[Browsable(false)] public string UserString { get; set; }
Gets or sets the user-defined string that describes this proxy. This only really makes sense if the Proxy is Parsable.
inherited fromGH_GooProxy<T>
The UserString value or the value of FormatInstance() if UserString has not been assigned.
UserString

Valid

[Description("Validity of target data")] [Category("Misc")] public virtual bool Valid { get; }
Gets a value indicating whether this proxy represents valid data.
inherited fromGH_GooProxy<T>
Valid

Methods

Construct

public virtual void Construct()
Override this method to supply a custom UI during proxy construction.
inherited fromGH_GooProxy<T>
Construct

FormatInstance

public virtual string FormatInstance()
Returns a String description of the current value.
inherited fromGH_GooProxy<T>
Remarks: If the implementation IsParsable(), then this representation must be in parsable format.
FormatInstance

FromString

public virtual bool FromString(string in)
If IsParsable(), then attempts to convert the string to a generic type value
inherited fromGH_GooProxy<T>
in (string)The String to parse.
True on success, false on failure. This method should not throw exceptions.
FromString

MutateString

public virtual string MutateString(string in)
Munge a string to remove obvious errors on account of the user.
inherited fromGH_GooProxy<T>
in (string)
MutateString

NumberToString

protected string NumberToString(double number)
inherited fromGH_GooProxy<T>
number (double)

StringToNumber

protected double StringToNumber(string text)
inherited fromGH_GooProxy<T>
text (string)

ToString

public override string ToString()
inherited fromGH_GooProxy<T>
Object.ToString