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

How to move curve point in python

$
0
0

@hk11 wrote:

Hi, I’m trying to adjust curve point by python. But I can’t make it works. Please help me, thanks!

import rhinoscriptsyntax as rs
import scriptcontext as sc
obj = rs.GetObject(“Select a curve”)
point=rs.CurvePoints(obj)
pp=sc.doc.Objects.AddPoint(point[1])
#3d point
rs.MoveObject(point[1],[0,0,0])
#guid
rs.MoveObject(pp,[0,0,0])

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5854

Latest Images

Trending Articles



Latest Images