Grasshopper

algorithmic modeling for Rhino

Hello,

I get the error "invalid Circle"

Dim cercle As New circle

cercle.center = New Point3d(0, 0, 0)

cercle.radius = 1

a = cercle

what is the problem?
thanks for help:)

Views: 268

Replies to This Discussion

Dim cent As New Point3d(0, 0, 0)
Dim rad As Double = 1
Dim cercle As New Circle(cent, rad)

a = cercle

Will this work?
Yes. Have you tried?

You could also say:

A = New Circle(New Point3d(), 1)

which amounts to the same.

---
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service