1# ***** BEGIN GPL LICENSE BLOCK ***** 2# 3# 4# This program is free software; you can redistribute it and/or 5# modify it under the terms of the GNU General Public License 6# as published by the Free Software Foundation; either version 2 7# of the License, or (at your option) any later version. 8# 9# This program is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12# GNU General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License 15# along with this program; if not, write to the Free Software Foundation, 16# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17# 18# ***** END GPL LICENCE BLOCK ***** 19# 20# ----------------------------------------------------------------------- 21# Author: Alan Odom (Clockmender), Rune Morling (ermo) Copyright (c) 2019 22# ----------------------------------------------------------------------- 23# 24# English Version 25# 26# If you edit this file do not change any of the PDT_ format, just the Text Value in "'s 27# Do not delete any of the PDT_ lines 28# 29"""This file contains all the Message Strings. 30 31 Note: 32 These strings are called by various programmes in PDT, 33 they can be set to suit individual User requirements. 34 35 Args: 36 None 37 38 Returns: 39 None. 40 """ 41 42# Menu Labels 43# 44PDT_LAB_ABS = "Absolute" # "Global" 45PDT_LAB_DEL = "Delta" # "Relative" 46PDT_LAB_DIR = "Direction" # "Polar" 47PDT_LAB_NOR = "Normal" # "Perpendicular" 48PDT_LAB_ARCCENTRE = "Arc Centre" 49PDT_LAB_PLANE = "Plane" 50PDT_LAB_MODE = "Mode" 51PDT_LAB_OPERATION = "Operation" 52PDT_LAB_PERCENT = "Percent" 53PDT_LAB_INTERSECT = "Intersect" # "Convergance" 54PDT_LAB_ORDER = "Order" 55PDT_LAB_FLIPANGLE = "Flip Angle" 56PDT_LAB_FLIPPERCENT = "Flip %" 57PDT_LAB_ALLACTIVE = "All/Active" 58PDT_LAB_VARIABLES = "Coordinates/Delta Offsets & Other Variables" 59PDT_LAB_CVALUE = "Coordinates" 60PDT_LAB_DISVALUE = "Distance" 61PDT_LAB_ANGLEVALUE = "Angle" 62PDT_LAB_PERCENTS = "%" 63PDT_LAB_TOOLS = "Tools" 64PDT_LAB_JOIN2VERTS = "Join 2 Verts" 65PDT_LAB_ORIGINCURSOR = "Origin To Cursor" 66PDT_LAB_AD2D = "Set A/D 2D" 67PDT_LAB_AD3D = "Set A/D 3D" 68PDT_LAB_TAPERAXES = "" # Intentionally left blank 69PDT_LAB_TAPER = "Taper" 70PDT_LAB_INTERSETALL = "Intersect All" 71PDT_LAB_BISECT = "Bisect" 72PDT_LAB_EDGETOEFACE = "Edge-To-Face" 73PDT_LAB_FILLET = "Fillet" 74PDT_LAB_SEGMENTS = "Segments" 75PDT_LAB_USEVERTS = "Use Vertices" 76PDT_LAB_RADIUS = "Radius" 77PDT_LAB_PROFILE = "Profile" 78PDT_LAB_PIVOTSIZE = "" # Intentionally left blank 79PDT_LAB_PIVOTWIDTH = "" # Intentionally left blank 80PDT_LAB_PIVOTALPHA = "" # Intentionally left blank 81PDT_LAB_PIVOTLOC = "" # Intentionally left blank 82PDT_LAB_PIVOTLOCH = "Location" 83# 84# Error Message 85# 86PDT_ERR_NO_ACT_OBJ = "No Active Object - Please Select an Object" 87PDT_ERR_OBJECTMODE = "Library Append/Link Tools Work Only in Object Mode" 88PDT_OBJ_MODE_ERROR = "Only Mesh Object in Edit or Object Mode Supported" 89PDT_ERR_NO_ACT_VERT = "No Active Vertex - Select One Vertex Individually" 90PDT_ERR_NO_SEL_GEOM = "No Geometry/Objects Selected" 91PDT_ERR_NO_ACT_VERTS = "No Selected Geometry - Please Select some Geometry" 92PDT_ERR_NON_VALID = "is Not a Valid Option in Selected Object's Mode for Command:" 93PDT_ERR_VERT_MODE = "Work in Vertex Mode for this Function" 94PDT_ERR_NOPPLOC = ( 95 "Custom Property PDT_PP_LOC for this object not found, have you Written it yet?" 96) 97PDT_ERR_NO_LIBRARY = ("PDT Library Blend File is Missing " 98 + "or not Correctly Set to a Blend File") 99 100PDT_ERR_SEL_1_VERTI = "Select at least 1 Vertex Individually (Currently selected:" 101PDT_ERR_SEL_1_VERT = "Select at least 1 Vertex (Currently selected:" 102PDT_ERR_SEL_2_VERTI = "Select at least 2 Vertices Individually (Currently selected:" 103PDT_ERR_SEL_2_VERTIO = "Select Exactly 2 Vertices Individually (Currently selected:" 104PDT_ERR_SEL_2_VERTS = "Select Exactly 2 Vertices (Currently selected:" 105PDT_ERR_SEL_2_EDGES = "Select Only 2 Non-Intersecting Edges (Currently selected:" 106PDT_ERR_SEL_3_VERTS = "Select Exactly 3 Vertices (Currently selected:" 107PDT_ERR_SEL_3_VERTIO = "Select Exactly 3 Vertices Individually (Currently selected:" 108PDT_ERR_SEL_2_V_1_E = "Select 2 Vertices Individually, or 1 Edge (Currently selected:" 109PDT_ERR_SEL_4_VERTS = "Select 4 Vertices Individually, or 2 Edges (Currently selected:" 110PDT_ERR_SEL_1_E_1_F = "Select 1 Face and 1 Detached Edge" 111 112PDT_ERR_SEL_1_EDGE = "Select Exactly 1 Edge (Currently selected:" 113PDT_ERR_SEL_1_EDGEM = "Select at least 1 Edge (Currently selected:" 114 115PDT_ERR_SEL_1_OBJ = "Select Exactly 1 Object (Currently selected:" 116PDT_ERR_SEL_2_OBJS = "Select Exactly 2 Objects (Currently selected:" 117PDT_ERR_SEL_3_OBJS = "Select Exactly 3 Objects (Currently selected:" 118PDT_ERR_SEL_4_OBJS = "Select Exactly 4 Objects (Currently selected:" 119 120PDT_ERR_FACE_SEL = "You have a Face Selected, this would have ruined the Topology" 121 122PDT_ERR_INT_LINES = "Implied Lines Do Not Intersect in" 123PDT_ERR_INT_NO_ALL = ( 124 "Active Vertex was not Closest to Intersection and All/Act was not Selected" 125) 126PDT_ERR_STRIGHT_LINE = "Selected Points all lie in a Straight Line" 127PDT_ERR_CONNECTED = "Vertices are already Connected" 128PDT_ERR_EDIT_MODE = "Only Works in EDIT Mode (Current mode:" 129PDT_ERR_EDOB_MODE = "Only Works in EDIT, or OBJECT Modes (Current mode:" 130PDT_ERR_TAPER_ANG = "Angle must be in Range -80 to +80 (Currently set to:" 131PDT_ERR_TAPER_SEL = ("Select at Least 2 Vertices Individually - Active is Rotation Point " 132 + "(Currently selected:") 133PDT_ERR_NO3DVIEW = "View3D not found, cannot run operator" 134PDT_ERR_SCALEZERO = "Scale Distance is 0" 135 136PDT_ERR_CHARS_NUM = "Bad Command Format, not enough Characters" 137PDT_ERR_BADFLETTER = "Bad Operator (1st Letter); C D E F G N M P S V or ? only" 138PDT_ERR_BADMATHS = "Not a Valid Mathematical Expression!" 139PDT_ERR_BADCOORDL = "X Y & Z Not permitted in anything other than Maths Operations" 140PDT_ERR_BAD1VALS = "Bad Command - 1 Value needed" 141PDT_ERR_BAD2VALS = "Bad Command - 2 Values needed" 142PDT_ERR_BAD3VALS = "Bad Command - 3 Coords needed" 143PDT_ERR_ADDVEDIT = "Only Add New Vertices in Edit Mode" 144PDT_ERR_SPLITEDIT = "Only Split Edges in Edit Mode" 145PDT_ERR_EXTEDIT = "Only Extrude Vertices in Edit Mode" 146PDT_ERR_DUPEDIT = "Only Duplicate Geometry in Edit Mode" 147PDT_ERR_FILEDIT = "Only Fillet Geometry in Edit Mode" 148PDT_ERR_NOCOMMAS = "No commas allowed in Maths Command" 149 150PDT_ERR_2CPNPE = "Select 2 Co-Planar Non-Parallel Edges" 151PDT_ERR_NCEDGES = "Edges must be Co-Planar Non-Parallel Edges, Selected Edges aren't" 152PDT_ERR_1EDGE1FACE = "Select 1 face and 1 Detached Edge" 153PDT_ERR_NOINT = "No Intersection Found" 154PDT_ERR_BADDISTANCE = "Invalid Distance (Separtion) Error; Chosen Points too Close" 155PDT_ERR_MATHSERROR = "Maths Error - Check Working Plane" 156PDT_ERR_SAMERADII = "Circles have the same radius - Just offset the Edge between centres" 157 158# Info messages 159# 160PDT_INF_OBJ_MOVED = "Active Object Moved to Intersection, " 161 162# Confirm Messages 163# 164PDT_CON_AREYOURSURE = "Are You Sure About This?" 165 166# Descriptions 167# 168PDT_DES_COORDS = "Cartesian Inputs" 169PDT_DES_OFFDIS = "Offset Distance" 170PDT_DES_OFFANG = "Offset Angle" 171PDT_DES_OFFPER = "Offset Percentage" 172PDT_DES_WORPLANE = "Choose Working Plane" 173PDT_DES_MOVESEL = "Select Move Mode" 174PDT_DES_OPMODE = "Select Operation Mode" 175PDT_DES_ROTMOVAX = "Rotational Axis - Movement Axis" 176PDT_DES_FLIPANG = "Flip Angle 180 degrees" 177PDT_DES_FLIPPER = "Flip Percent to 100 - %" 178PDT_DES_TRIM = "Trim/Extend only Active Vertex, or All" 179PDT_DES_LIBOBS = "Objects in Library" 180PDT_DES_LIBCOLS = "Collections in Library" 181PDT_DES_LIBMATS = "Materials in Library" 182PDT_DES_LIBMODE = "Library Mode" 183PDT_DES_LIBSER = "Enter A Search String (Contained)" 184PDT_DES_OBORDER = "Object Order to Lines" 185PDT_DES_VALIDLET = "Valid 1st letters; C D E G N P S V, Valid 2nd letters: A D I O P" 186PDT_DES_OUTPUT = "Output for Maths Operations" 187PDT_DES_PPLOC = "Location of PivotPoint" 188PDT_DES_PPSCALEFAC = "Scale Factors" 189PDT_DES_PPSIZE = "Pivot Size Factor" 190PDT_DES_PPWIDTH = "Pivot Line Width in Pixels" 191PDT_DES_PPTRANS = "Pivot Point Transparency" 192PDT_DES_PIVOTDIS = "Input Distance to Compare with Sytem Distance to set Scales" 193PDT_DES_FILLETRAD = "Fillet Radius" 194PDT_DES_FILLETSEG = "Number of Fillet Segments" 195PDT_DES_FILLETPROF = "Fillet Profile" 196PDT_DES_FILLETVERTS = "Use Vertices, or Edges, Set to False for Extruded Geometry" 197PDT_DES_FILLINT = "Intersect & Fillet Two Selected Edges" 198PDT_DES_TANCEN1 = "Centre of First Tangent Arc" 199PDT_DES_TANCEN2 = "Centre of Second Tangent Arc" 200PDT_DES_TANCEN3 = "Tangents From a Point" 201PDT_DES_RADIUS1 = "Radius of First Tangent Arc" 202PDT_DES_RADIUS2 = "Radius of Second Tangent Arc" 203PDT_DES_TPOINT = "Calculate Tangents From Point" 204PDT_DES_EXPCOLL = "Expand/Collapse Menu" 205PDT_DES_TANMODE = "Tangent Types" 206