Header menu logo Rhino.Scripting.Fsharp

AutoOpenMesh Module

This module provides functions to create or manipulate Rhino Meshes This module is automatically opened when Rhino.Scripting.FSharp namespace is opened. These type extensions are only visible in F#.

Type extensions

Type extension Description

RhinoScriptSyntax.MeshAddHexaFace(m, a, b, c, d, e, f)

Full Usage: RhinoScriptSyntax.MeshAddHexaFace(m, a, b, c, d, e, f)

Parameters:

Adds two welded quad faces to simulate a hexagon. Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces. Obsolete? Use built-in Ngons instead?

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3d
b : Point3d
c : Point3d
d : Point3d
e : Point3d
f : Point3d

RhinoScriptSyntax.MeshAddLoopUnWelded(m, lns)

Full Usage: RhinoScriptSyntax.MeshAddLoopUnWelded(m, lns)

Parameters:

Makes a closed loop of NOT welded quads. Last line is ignored; it is considered the same as the first one (e.g. coming from closed Polyline).

Extended Type: RhinoScriptSyntax

m : Mesh
lns : ResizeArray<Line>

RhinoScriptSyntax.MeshAddLoopWelded(m, lns)

Full Usage: RhinoScriptSyntax.MeshAddLoopWelded(m, lns)

Parameters:

Makes a closed loop of welded quads. Last line is ignored; it is considered the same as the first one (e.g. coming from closed Polyline).

Extended Type: RhinoScriptSyntax

m : Mesh
lns : ResizeArray<Line>

RhinoScriptSyntax.MeshAddPentaFace(m, a, b, c, d, e)

Full Usage: RhinoScriptSyntax.MeshAddPentaFace(m, a, b, c, d, e)

Parameters:

Adds a welded quad and triangle face to simulate a pentagon. Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces. Obsolete? Use built-in Ngons instead?

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3d
b : Point3d
c : Point3d
d : Point3d
e : Point3d

RhinoScriptSyntax.MeshAddQuadFace(m, a, b, c, d)

Full Usage: RhinoScriptSyntax.MeshAddQuadFace(m, a, b, c, d)

Parameters:

Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces. Sort points counterclockwise.

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3f
b : Point3f
c : Point3f
d : Point3f

RhinoScriptSyntax.MeshAddQuadFace(m, a, b, c, d)

Full Usage: RhinoScriptSyntax.MeshAddQuadFace(m, a, b, c, d)

Parameters:

Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces. Sort points counterclockwise.

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3d
b : Point3d
c : Point3d
d : Point3d

RhinoScriptSyntax.MeshAddQuadFace(m, l, ll)

Full Usage: RhinoScriptSyntax.MeshAddQuadFace(m, l, ll)

Parameters:

Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces ??

Extended Type: RhinoScriptSyntax

m : Mesh
l : Line
ll : Line

RhinoScriptSyntax.MeshAddQuadFaceToLastTwo(m, a, b)

Full Usage: RhinoScriptSyntax.MeshAddQuadFaceToLastTwo(m, a, b)

Parameters:

Appends a welded Quad to last 2 vertices. Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces.

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3d
b : Point3d

RhinoScriptSyntax.MeshAddQuadFaceToLastTwo(m, l)

Full Usage: RhinoScriptSyntax.MeshAddQuadFaceToLastTwo(m, l)

Parameters:

Appends a welded quad to last 2 vertices. Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces.

Extended Type: RhinoScriptSyntax

m : Mesh
l : Line

RhinoScriptSyntax.MeshAddTriaFace(m, a, b, c)

Full Usage: RhinoScriptSyntax.MeshAddTriaFace(m, a, b, c)

Parameters:

Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces. Sort points counterclockwise.

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3f
b : Point3f
c : Point3f

RhinoScriptSyntax.MeshAddTriaFace(m, a, b, c)

Full Usage: RhinoScriptSyntax.MeshAddTriaFace(m, a, b, c)

Parameters:

Call Mesh.Normals.ComputeNormals() and Mesh.Compact() after adding the faces. Sort points counterclockwise.

Extended Type: RhinoScriptSyntax

m : Mesh
a : Point3d
b : Point3d
c : Point3d

Type something to start searching.