|
本帖最后由 筑梦NARUTO 于 2015-4-23 17:44 编辑
对选取的曲线处理下就可以了啊,,,,写脚本的时候多想一下,,,这个问题不难啊。。。还有这个用gh会比这个简单很多。。。没必要写脚本啊。。。。。
[mw_shl_code=python,true]#coding=utf-8
import rhinoscriptsyntax as rs
curves1 = rs.GetObjects("选择混接的第一条曲线",rs.filter.curve)
curves2 = rs.GetObjects("选择混接的第er二条曲线",rs.filter.curve)
curves1.reverse()
for i in range(len(curves1)):
rs.Command("-_ArcBlend " + "SelID " + str(curves1) + " SelID " + str(curves2) + " _Enter")[/mw_shl_code]
[/hide]
|
|