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