- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
王朔,计算机,辅助,建筑设计,教程王朔,计算机,辅助,建筑设计,教程
第十一讲
RhinoScript教程
(参考资料)RhinoScript Primer_Chinese Edition
Data Stream Matching* (匹配数据流)
00_Hello,World
Option Explicit
Call Main()
Sub Main()
rhino.PrintHello,World
End Sub
01_Hello,World_Ver2
Option Explicit
Call Main()
Sub Main()
call HW
End Sub
sub HW
rhino.PrintHello,World_By HW
Funciont
End Sub
RhinoScript编辑器
使用Command的调用方式
Command
Runs a Rhino command script. All Rhino commands can be used in command
scripts. The command can be a build-in Rhino command or a command that is provided
by a 3rd party plug-in.
Write command scripts just as you would type the command sequence at the command
line. A space between characters or a new line act like pressing Enter at the
command line. For more information on writing command scripts, see Scripting in the
Rhino help file.
Note, this method is designed to run one command and one command only. Do not
combine multiple Rhino commands into a single call to this method. For example:
WRONG:
Rhino.Command _Line _SelLast _Invert
CORRECT:
Rhino.Command _Line
Rhino.Command _SelLast
Rhino.Command _Invert
Example
Rhino.Command _Line 0,0,0 2,2,2
Rhino.Command _Line _Pause _Pause
使用Command的调用方式
Dim dblMajorRadius, dblMinorRadius
Dim intSides
dblMajorRadius = Rhino.GetReal(Major radius, 10.0, 1.0, 1000.0)
dblMinorRadius = Rhino.GetReal(Minor radius, 2.0, 0.1, 100.0)
intSides = Rhino.GetInteger(Number of sides, 6, 3, 20)
Dim strPoint1, strPoint2
strPoint1 = w dblMajorRadius ,0,0
strPoint2 = w (dblMajorRadius + dblMin
您可能关注的文档
- 市场营销学精品课件:第四章 市场营销环境.ppt
- 市场营销学精品课件:第五章 消费者市场和购买行为分析.ppt
- 市场营销学精品课件:第十章 产品策略.ppt
- 市场营销学精品课件:情景剧2.doc
- 市场营销学精品课件:第一章 市场营销与市场营销学.ppt
- 视频协作--构建宽带的多媒体网络.pdf
- 数据通讯与网络教程-九.pdf
- 双向口译教学 Chinese Customs.ppt
- 双向口译教学 口译Review Materials.doc
- 苏艳-高频电子线路-2-2.ppt
- 王朔《计算机辅助建筑设计》第四节补充材料-尺寸标注、模型空间与图纸空间.pdf
- 王朔《计算机辅助建筑设计》第四节-尺寸标注、模型空间与图纸空间.ppt
- 王朔《计算机辅助建筑设计》第四节-尺寸标注模型空间与图纸空间.pdf
- 王朔《计算机辅助建筑设计》幕墙与Rhino的互操作.ppt
- 王朔《计算机辅助建筑设计》曲线与曲面初步.pptx
- 网络连接服务开发人员参考库(第3卷)RPC与Wnet(一).pdf
- 王朔《计算机辅助建筑设计》第一节:计算机辅助建筑设计概述.pdf
- 网络综合布线系统与施工技术 第10章 网络工程的验收与鉴定.pdf
- 网络综合布线系统与施工技术-线槽规格和品种以及线缆的敷设.pdf
- 王朔《计算机辅助建筑设计》第五节-BIM及REVIT简介.pdf
文档评论(0)