但请不要误解,假如SketchUp的创作者将API基于另外一种更为流行的编程语言,对我而言会更为容易一些。
互联网摘选
Google didn't create SketchUp; it obtained the application when it acquired@ Last Software.
SketchUp并不是Google创建的;Google是在收购@Last Software时获得这个应用程序的。
互联网摘选
在挤压过程中,SketchUp创建形成图形的Edge和Face对象。
互联网摘选
The script's commands are part of the SketchUp API& the subject of this section.
该脚本的命令是SketchUp API的一部分&这正是本节的主题。
互联网摘选
Generally speaking, the goal of a SketchUp script is to modify the data in these container objects.
一般而言,SketchUp脚本的目的是修改这些容器对象中的数据。
互联网摘选
Of all the methods in the SketchUp module, active_model is the most important.
在SketchUp模块中的所有方法当中,active model是最重要的。
互联网摘选
但是说到SketchUp API,只需对该语言有基本的理解,就可以做很多事情。
互联网摘选
本文无法涵盖整个API,所以我重点关注构造SketchUp形状所需的基本的类。
互联网摘选
SketchUp API基于的是Ruby,这是一种相对较新的编程语言,主要用于企业计算(Ruby on Rails)。
互联网摘选
只需很少的时间,就可以掌握一些基本的类(Edge、Face),通过组合这些类就可以形成SketchUp图形。
互联网摘选
当然,SketchUp的一个优点是可以与Google Earth交互,并创建特定于地形的结构。
互联网摘选
pushpull方法是两个方法中较容易使用的一个,它执行与SketchUp的pushpull工具相同的操作。
互联网摘选
最后运用SketchUp软件设计了对未来数字化变电站的设想图,为数字化变电站的未来发展做出了先行性的探索和研究。
互联网摘选
例如,为了发现SketchUp应用程序的版本,可以在Ruby Console中输入以下命令:Sketchup.version number。
互联网摘选
The SketchUp arrows are now raster-rendered. Previously , they were vector-rendered.
SketchUp的箭号现在为点阵图像, 先前为向量图像.
互联网摘选
The second extrusion method is followme, which serves the same purpose as SketchUp's followme tool.
第二个挤压方法是followme,该方法与SketchUp的followme工具的作用是一样的。
互联网摘选
然后,我解释两个挤压(extrusion)方法pushpull和followme最后描述如何将SketchUp材质(material)内容应用到对象。
互联网摘选
简言之,一个Entity对象表示SketchUp设计窗口中任何可以看见、移动或修改的形状。
互联网摘选
The goal of this article is to answer this question by discussing the SketchUp API.
本文的目的是通过讨论SketchUp API来回答这个问题。
互联网摘选
SketchUp API包含一些类,这些类的方法可以绘制和修改SketchUp设计的一些方面,包括直线、面、颜色和图像。
互联网摘选