diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-06 11:04:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-06 11:04:51 +0400 |
commit | 90c30944807f4aabe5bdee18799b4e3a8bac8f81 (patch) | |
tree | a0a5a9575d56f6a576783df7b38d329815abc02a /object_print3d_utils/ui.py | |
parent | f18b4f55dd8ecc66c08caca211975e948a40acd2 (diff) |
add scale to bounds, scale to volume - to the 3d toolbox
Diffstat (limited to 'object_print3d_utils/ui.py')
-rw-r--r-- | object_print3d_utils/ui.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/object_print3d_utils/ui.py b/object_print3d_utils/ui.py index 9a141dd7..84c3b3f7 100644 --- a/object_print3d_utils/ui.py +++ b/object_print3d_utils/ui.py @@ -71,9 +71,9 @@ class Print3DToolBar: row = layout.row() row.label("Statistics:") - col = layout.column(align=True) - col.operator("mesh.print3d_info_volume", text="Volume") - col.operator("mesh.print3d_info_area", text="Area") + rowsub = layout.row(align=True) + rowsub.operator("mesh.print3d_info_volume", text="Volume") + rowsub.operator("mesh.print3d_info_area", text="Area") row = layout.row() row.label("Checks:") @@ -108,6 +108,12 @@ class Print3DToolBar: # XXX TODO # col.operator("mesh.print3d_clean_thin", text="Wall Thickness") + row = layout.row() + row.label("Scale To:") + rowsub = layout.row(align=True) + rowsub.operator("mesh.print3d_scale_to_volume", text="Volume") + rowsub.operator("mesh.print3d_scale_to_bounds", text="Bounds") + col = layout.column() rowsub = col.row(align=True) rowsub.label("Export Path:") |