摘要: #新建一个列表,用来保存修剪曲线(PS:修建曲线的意思是开始点和结束点不在一起,圆就不属于修建曲线)#注意和Line,Circle类型等的区别 curves =List[ITrimmedCurve]() curveSegment =CurveSegment.Create(... 阅读全文
posted @ 2017-01-07 10:02 硫酸亚铜 阅读(2277) 评论(1) 推荐(0) 编辑
摘要: import math #导入数学模块,因为会使用π def x_comp(k,r,t): #定义x坐标的计算函数 return r * (k -1) * math.cos(t) + r * math.cos( (k - 1) *t) def y_comp(k,r,t): #定义y坐... 阅读全文
posted @ 2017-01-07 00:10 硫酸亚铜 阅读(530) 评论(0) 推荐(0) 编辑