__init__.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:bpy_lambda 作者: bcongdon 项目源码 文件源码
def draw(self, context):
        self.layout.operator_context = 'INVOKE_REGION_WIN'
        self.layout.operator("mesh.archimesh_room", text="Add Room")
        self.layout.operator("mesh.archimesh_door", text="Add Door")
        self.layout.operator("mesh.archimesh_window", text="Add Rail Window")
        self.layout.operator("mesh.archimesh_winpanel", text="Add Panel Window")
        self.layout.operator("mesh.archimesh_kitchen", text="Add Cabinet")
        self.layout.operator("mesh.archimesh_shelves", text="Add Shelves")
        self.layout.operator("mesh.archimesh_column", text="Add Column")
        self.layout.operator("mesh.archimesh_stairs", text="Add Stairs")
        self.layout.operator("mesh.archimesh_roof", text="Add Roof")
        self.layout.menu("INFO_MT_mesh_decoration_add", text="Decoration props", icon="GROUP")

# --------------------------------------------------------------
# Register all operators and panels
# --------------------------------------------------------------


# Add-ons Preferences Update Panel

# Define Panel classes for updating
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号