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

How to know surface coordinate of the cylinder?

$
0
0

@kggadhavi wrote:

I want to put points on the surface of this cylinder at specific angle of 137.5 degree. But Is it possible to know how the cylinder is built on which co-ordinates?

import rhinoscriptsyntax as rs

#Center = [0,0,-60]
#Radius = 10
rs.AddCylinder([0,0,0],100,20)

#build matrix of point
def buildMatrix(surfacepoint):
points = []
points.append(surfacepoint[0][1][1],surfacepoint[2][4][5])
rs.EnableRedraw(True)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5806

Trending Articles