Grasshopper

algorithmic modeling for Rhino

I am trying a simple python script in GH to fillet surfaces.

but I have error message like this:

Runtime error (ValueErrorException): Could not convert None to a Point2d

import rhinoscriptsyntax as rs


if rs.IsSurface(x):
if rs.IsSurface(y):
if r:
a= rs.FilletSurfaces(x,y,r)

it would be much appreciated if anyone can advise on this.

thanks

Views: 1248

Attachments:

Replies to This Discussion

Here it is

the Python script was lucking two more arguments that's why it returns an error,

now this should work fine :

if rs.IsSurface(x):
    if rs.IsSurface(y):
        if r:
            a = rs.FilletSurfaces(x, y, r, srfc1_uv, srfc2_uv)

here r the files

Attachments:

thank you cristo!

I thought, two uv values are optional. LoL

myongki

 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service