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

Generate 3d points from dictionary values instead of x,y,z doubles

$
0
0

I’ve created a dictionary of 3d points coordinates and would like to use rhinocommon constructors to generate 3d point objects. However, the Point3D parameters type require doubles instead of a list. So far I’ve extracted the dictionary values as point coordinates and used rhinoscriptsyntax AddPoints which accepts a list of points and works fine. I’m new to scripting and wondering if rhinocommon has an equivalent constructor/method or something else that I need to script.

The code is too long to paste here and I attached a gh file. Please help. Thanks in advance.
WaffleSurface.gh (12.0 KB)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles