INNER CODE UNIT · Python
Pico3dPanel
bernhardstrobl/Pico3D · Blender/pico3d_blender_exporter.py:10
class Pico3dPanel(bpy.types.Panel):
bl_idname = 'VIEW3D_PT_pico3d_panel'
bl_label = 'Pico3D Export'
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
def draw(self, context):
col = self.layout.column()
for (prop_name, _) in PROPS:
row = col.row()
row.prop(context.scene, prop_name)
col.operator('object.export_pico3d', text='EXPORT')