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

Cannot create instances of RevSurface no public constructors

$
0
0
import Rhino.Geometry as rg
import math

line = rg.Line(1,0,0, 1,0,1)
crv = rg.LineCurve(line)
axis = rg.Line(0,0,0, 0,0,1)
rg.RevSurface(crv, axis, 0.0, math.pi*2)

output is

Error: Runtime error (TypeErrorException): Cannot create instances of RevSurface because it has no public constructors

is it the Rhino.Geometry.RevSurface bag, or my ignorance?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles