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:
James Waples
2024-06-12 16:48:57 +01:00
committed by GitHub
parent 9b198c7704
commit 7e62d07538
16 changed files with 651 additions and 652 deletions

View File

@@ -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"