Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRune Morling <ermo.blender.org@spammesenseless.net>2021-05-17 20:30:35 +0300
committerRune Morling <ermo.blender.org@spammesenseless.net>2021-05-17 20:43:36 +0300
commite2516bfae6d05f060017a9940614ad83dc533f29 (patch)
treea4cfc608102816bb5b3fcbc06e43d0245a446d3b /precision_drawing_tools/pdt_menus.py
parent26d3cfb04ec0a7f14d2a6ff607cbec574e8dcef7 (diff)
PDT: Add "View Normal" Operation enhancement
This enhancement enables the user to work always Normal to the View as defined by "Working Plane" in PDT Design Functions Section. For example: If the working plane is set to Front and the Operation is "Extrude Geometry" the system will extrude along the Y axis by the amount specified in the "Distance" Entry Box. Specifying Working Plane as "View" cause the system to work always Normal to the current view orientation, i.e. into, or out of your screen. This enhancement is only available for Blender 2.9x builds.
Diffstat (limited to 'precision_drawing_tools/pdt_menus.py')
-rw-r--r--precision_drawing_tools/pdt_menus.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/precision_drawing_tools/pdt_menus.py b/precision_drawing_tools/pdt_menus.py
index be452f01..d7713700 100644
--- a/precision_drawing_tools/pdt_menus.py
+++ b/precision_drawing_tools/pdt_menus.py
@@ -62,7 +62,8 @@ from .pdt_msg_strings import (
PDT_LAB_TAPERAXES,
PDT_LAB_TOOLS,
PDT_LAB_USEVERTS,
- PDT_LAB_VARIABLES
+ PDT_LAB_VARIABLES,
+ PDT_LAB_VIEW
)
def ui_width():
@@ -148,6 +149,8 @@ class PDT_PT_PanelDesign(Panel):
row.prop(pdt_pg, "angle", text=PDT_LAB_ANGLEVALUE)
row = box.row()
row.operator("pdt.distance", icon="EMPTY_AXIS", text=f"{PDT_LAB_DIR} »")
+ row.operator("pdt.view_axis", icon="EMPTY_AXIS", text=f"{PDT_LAB_VIEW} »")
+ row = box.row()
row.prop(pdt_pg, "flip_angle", text=PDT_LAB_FLIPANGLE)
# ---------------------