Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5788

MeshOutline and Polysurfaces in RhinoScript

$
0
0

@Clive wrote:

Hi,
MeshOutline in Rhino, takes surfaces, Polysurfaces as well as Meshes.
While Coding, Rhino.MeshOutline ,however, seems to be friendly with meshes only.
I would rather not to convert polysurfaces to mesh in order to apply Rhino.MeshOutline on them.
Any Ideas?
This is an Example:

Call Main()
Sub Main()

    Dim strPol,strExt
    strPol = Rhino.AddPolygon(Rhino.WorldXYPlane, 10, 5)
    strExt = Rhino.ExtrudeCurveStraight(strPol, array(0, 0, 10))
    Rhino.CapPlanarHoles strExt
    Rhino.MeshOutline strExt

End Sub

Posts: 9

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5788

Trending Articles