本文整理汇总了Python中export.Exporter.build方法的典型用法代码示例。如果您正苦于以下问题:Python Exporter.build方法的具体用法?Python Exporter.build怎么用?Python Exporter.build使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类export.Exporter
的用法示例。
在下文中一共展示了Exporter.build方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: build
# 需要导入模块: from export import Exporter [as 别名]
# 或者: from export.Exporter import build [as 别名]
def build(self, options, taskview):
import gui
Exporter.build(self, options, taskview)
stlOptions = []
self.stlAscii = options.addWidget(gui.RadioButton(stlOptions, "ASCII", selected=True))
self.stlBinary = options.addWidget(gui.RadioButton(stlOptions, "Binary"))
示例2: build
# 需要导入模块: from export import Exporter [as 别名]
# 或者: from export.Exporter import build [as 别名]
def build(self, options, taskview):
Exporter.build(self, options, taskview)
self.useNormals = options.addWidget(gui.CheckBox("Normals", False))
self.rotate90X = options.addWidget(gui.CheckBox("Z up (Rotate 90 X)", False))
self.rotate90Z = options.addWidget(gui.CheckBox("Face X (Rotate 90 Z)", False))
self.expressions = options.addWidget(gui.CheckBox("Expressions", False))
self.useCustomTargets = options.addWidget(gui.CheckBox("Custom targets", False))
示例3: build
# 需要导入模块: from export import Exporter [as 别名]
# 或者: from export.Exporter import build [as 别名]
def build(self, options, taskview):
import gui
Exporter.build(self, options, taskview)
orients = []
self.yUpFaceZ = options.addWidget(gui.RadioButton(orients, "Y up, face Z", True))
self.yUpFaceX = options.addWidget(gui.RadioButton(orients, "Y up, face X", False))
self.zUpFaceNegY = options.addWidget(gui.RadioButton(orients, "Z up, face -Y", False))
self.zUpFaceX = options.addWidget(gui.RadioButton(orients, "Z up, face X", False))
示例4: build
# 需要导入模块: from export import Exporter [as 别名]
# 或者: from export.Exporter import build [as 别名]
def build(self, options, taskview):
import gui
Exporter.build(self, options, taskview)
self.binary = options.addWidget(gui.CheckBox("Binary FBX", True))
self.hiddenGeom = options.addWidget(gui.CheckBox("Helper geometry", False))
示例5: build
# 需要导入模块: from export import Exporter [as 别名]
# 或者: from export.Exporter import build [as 别名]
def build(self, options, taskview):
import gui
Exporter.build(self, options, taskview)
self.useNormals = options.addWidget(gui.CheckBox("Normals", False))
self.helperGeom = options.addWidget(gui.CheckBox("Helper geometry", False))