56 lines
1.8 KiB
HTML
56 lines
1.8 KiB
HTML
<html><head><title>Property/cn</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Property/cn</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><p><b>属性</b> 是指与 FreeCAD 文档或对象密切相关一些信息,例如数字编号或者字符串等。属性可以被查看,当然如果允许的话也可以使用<a href="https://www.freecadweb.org/wiki/index.php?title=Property_editor/cn&action=edit&redlink=1" class="new" title="Property editor/cn (page does not exist)">属性编辑器</a>进行相关属性的修改。
|
|
</p><p>对于 FreeCAD 来说,属性是非常重要的部分,因为从一开始就是利用参数化对象来进行工作的,而这些对象仅仅是用其属性来定义的。
|
|
</p><p>FreeCAD 中自定义<a href="https://www.freecadweb.org/wiki/index.php?title=Scripted_objects/cn" title="Scripted objects/cn">脚本式对象</a>具有以下类型的属性:
|
|
</p>
|
|
<pre>Boolean
|
|
Float
|
|
FloatList
|
|
FloatConstraint
|
|
Angle
|
|
Distance
|
|
Integer
|
|
IntegerConstraint
|
|
Percent
|
|
Enumeration
|
|
IntegerList
|
|
String
|
|
StringList
|
|
Link
|
|
LinkList
|
|
Matrix
|
|
Vector
|
|
VectorList
|
|
Placement
|
|
PlacementLink
|
|
Color
|
|
ColorList
|
|
Material
|
|
Path
|
|
File
|
|
FileIncluded
|
|
PartShape
|
|
FilletContour
|
|
Circle
|
|
</pre>
|
|
<p><br />
|
|
</p>
|
|
|
|
<p><br />
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Property/cn&oldid=211338">http://www.freecadweb.org/wiki/index.php?title=Property/cn&oldid=211338</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |