Compare commits
1 Commits
temp-mesh-
...
temp-toolb
Author | SHA1 | Date | |
---|---|---|---|
0b56bd0c55 |
@@ -65,6 +65,12 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
|
||||
None,
|
||||
("Ruler/Protractor", None, "VIEW3D_WGT_ruler",
|
||||
(("view3d.ruler_add", dict(), dict(type='EVT_TWEAK_A', value='ANY')),)),
|
||||
|
||||
# DEBUGGING ONLY
|
||||
("Pixel Test", "tool_icon.pixeltest", None, (
|
||||
("wm.splash", dict(),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
)
|
||||
|
||||
_tools = {
|
||||
@@ -132,18 +138,82 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
|
||||
("mesh.polybuild_hover", dict(use_boundary=True), dict(type='MOUSEMOVE', value='ANY', any=True)),
|
||||
)),
|
||||
|
||||
|
||||
|
||||
# 'Slide' Group
|
||||
(
|
||||
# TEMP PLACE HOLDERS
|
||||
("Edge Slide", "tool_icon.edit_edge.slide", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
("Vertex Slide", "tool_icon.edit_vertex.slide", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
),
|
||||
|
||||
# End group.
|
||||
|
||||
# TEMP PLACE HOLDERS
|
||||
(
|
||||
("Spin", "tool_icon.edit_spin", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
("Spin (Duplicate)", "tool_icon.edit_spin_duplicate", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
),
|
||||
|
||||
|
||||
("Inset Faces", "tool_icon.edit_inset_faces", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
|
||||
(
|
||||
("Extrude Region", "tool_icon.edit_extrude_region", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
("Extrude Individual", "tool_icon.edit_extrude_individual", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
),
|
||||
|
||||
(
|
||||
("Randomize", "tool_icon.edit_randomize_verts", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
("Smooth", "tool_icon.edit_smooth", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
),
|
||||
|
||||
(
|
||||
("Shrink/Fatten", "tool_icon.edit_shrink_fatten", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
("Push/Pull", "tool_icon.edit_push_pull", None, (
|
||||
("mesh.rip_edge_move", dict(TRANSFORM_OT_translate=dict(release_confirm=True)),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),
|
||||
)),
|
||||
),
|
||||
|
||||
# Knife Group
|
||||
(
|
||||
("Knife", None, None, (
|
||||
("Knife", "tool_icon.edit_knife", None, (
|
||||
("mesh.knife_tool",
|
||||
dict(wait_for_input=False, use_occlude_geometry=True, only_selected=False),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),)),
|
||||
("Knife (Selected)", None, None, (
|
||||
("mesh.knife_tool",
|
||||
dict(wait_for_input=False, use_occlude_geometry=False, only_selected=True),
|
||||
dict(type='ACTIONMOUSE', value='PRESS')),)),
|
||||
None,
|
||||
("Bisect", None, None, (
|
||||
("Bisect", "tool_icon.edit_bisect", None, (
|
||||
("mesh.bisect",
|
||||
dict(),
|
||||
dict(type='EVT_TWEAK_A', value='ANY')),)),
|
||||
@@ -151,6 +221,7 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
|
||||
# End group.
|
||||
("Extrude Cursor", None, None,
|
||||
(("mesh.dupli_extrude_cursor", dict(), dict(type='ACTIONMOUSE', value='PRESS')),)),
|
||||
|
||||
],
|
||||
'EDIT_CURVE': [
|
||||
*_tools_transform,
|
||||
|
Reference in New Issue
Block a user