GH_MeshingParameters.RhMesherSettings_Proxy
GH_GooProxy<1>Constructors
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; }
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; }
ProxyOwner
Gets the piece of Grasshopper data that spawned this proxy.
Implements: 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; }
TypeName
UserString
Gets or sets the user-defined string that describes this proxy. This only really makes sense if the Proxy is Parsable.
Returns: The UserString value or the value of FormatInstance() if UserString has not been assigned.
Implements: UserString
Valid
Gets a value indicating whether this proxy represents valid data.
Implements: Valid
Methods
Construct
public virtual void Construct()
Override this method to supply a custom UI during proxy construction.
Implements: Construct
FormatInstance
Returns a String description of the current value.
Remarks: If the implementation IsParsable(), then this representation must be in parsable format.
Implements: FormatInstance
FromString
If IsParsable(), then attempts to convert the string to a generic type value
Parameters:
| in (string) | The String to parse. |
Returns: True on success, false on failure. This method should not throw exceptions.
Implements: FromString
MutateString
Munge a string to remove obvious errors on account of the user.
Parameters:
| in (string) |
Implements: MutateString
Parameters:
| number (double) |
Parameters:
| text (string) |
ToString
Overrides: Object.ToString