CAM: Rename CW/CCW to Climb/Conventional for consistency (#14364)
* Find and replace CW/CCW with Climb/Conventional * Find and replace CCW/CW in CAM tests * Find and replace in some UI files
This commit is contained in:
@@ -378,11 +378,11 @@ def export(objectslist, filename, argstring):
|
||||
STORED_COMPENSATED_OBJ = commands
|
||||
# Find mill compensation
|
||||
if hasattr(obj, "Side") and hasattr(obj, "Direction"):
|
||||
if obj.Side == "Outside" and obj.Direction == "CW":
|
||||
if obj.Side == "Outside" and obj.Direction == "Climb":
|
||||
Compensation = "L"
|
||||
elif obj.Side == "Outside" and obj.Direction == "CCW":
|
||||
elif obj.Side == "Outside" and obj.Direction == "Conventional":
|
||||
Compensation = "R"
|
||||
elif obj.Side != "Outside" and obj.Direction == "CW":
|
||||
elif obj.Side != "Outside" and obj.Direction == "Climb":
|
||||
Compensation = "R"
|
||||
else:
|
||||
Compensation = "L"
|
||||
|
||||
Reference in New Issue
Block a user