欢迎来到天天文库
浏览记录
ID:12365646
大小:85.00 KB
页数:9页
时间:2018-07-16
《rhinoscript常用的函数命令》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、建筑形态设计常用RhinoScript函数ApplicationMethodsCommand运行仅一条内部命令LastCommandResult返回上一命令的执行结果Print/PrintEx向命令行显示一条信息SendKeyStrokes向命令行传送字符可包括回车Ortho/Osnap/Planar/ProjectOsnaps打开或关闭或返回辅助绘图OsnapMode设定或返回对象捕捉类型Exit结束RhinoDocumentMethodsCreatePreviewImage抓屏EnableRe
2、draw/Redraw使能/触发屏幕重画SelectionMethodsFirstObject/NextObject/LastObject内存最新/下一个/最老对象GetPointCoordinates/GetCurveObject/GetSurfaceObject/GetObject/GetObjects互动选取点、线、面、对象LastCreatedObjects选取最新一群创建的对象ObjectsByGroup/ObjectsByLayer/ObjectsByType/ObjectsByNam
3、e符合条件选对象群ObjectMethods属性查询类IsObjectSolidObjectDescriptionObjectType属性查询设置类ObjectColorObjectLayerObjectName/ObjectNames几何变换类CopyObject/CopyObjectsDeleteObject/DeleteObjectsMirrorObject/MirrorObjectsMoveObject/MoveObjectsOrientObject/OrientObjectsRotate
4、Object/RotateObjectsScaleObject/ScaleObjectsShearObject/ShearObjectsCurveMethods创建类AddCurve建控制点曲线AddInterpCurve/AddInterpCurveEx建穿越点曲线AddInterpCrvOnSrf在给定曲面上建曲线AddInterpCrvOnSrfUV在给定曲面上用曲面座标建线AddNurbsCurve根据point,knot,degree建曲线AddSubCrv用参数从头至尾取曲线一段Add
5、Line建直线AddPolyline建折线MeshPolyline以折线建mesh编辑类ConvertCurveToPolyline转曲线为折线CurveBrepIntersect?有问题(无法选取曲线)CloseCurve闭合曲线CurveSeam改变闭合点DivideCurve/DivideCurveLength分段ExplodeCurves炸开ExtendCurve/ExtendCurveLength/ExtendCurvePoint延长非闭合线FairCurve减小曲线的曲率变化Inser
6、tCurveKnot加入节点JoinCurves连接曲线MakeCurvePeriodic使拼接曲线连贯封闭OffsetCurve间距ReverseCurve反转曲线方向SimplifyCurve简化曲线SplitCurve某点断开TrimCurve裁剪属性查询类ArcAngle返回角度ArcCenterPoint/CircleCenterPoint返回中心ArcMidPoint/CurveMidPoint返回中点ArcRadius/CircleRadius/CurveRadius返回半径Circ
7、leCircumference返回周长CurveArea返回面积CurveArcLengthPoint返回曲线定长处点CurveAreaCentroid返回质心CurveClosestPoint返回曲线上某点的曲线坐标CurveCurvature返回曲率CurveDegree返回度数CurveDim?永远返回3CurveDiscontinuity返回曲线不连续点CurveDomain?定义不明CurveEditPoints返回曲线穿越的编辑点CurveEndPoint/CurveStartPoin
8、t返回曲线始末点CurveEvaluate?不懂EvaluateCurve用曲线参数确定点坐标CurveFrame返回某点切向/曲向平面文档案例第9行错误CurvePerpFrame返回某点切向为Z轴平面文档案例第9行错误CurveKnotCount/CurvePointCount返回节点数CurveKnots/CurvePoints返回节点坐标CurveWeights返回权重CurveLength返回长度CurveNormal返回曲面法线CurvePlane返回平面曲线的所在平面
此文档下载收益归作者所有