PartDesign: Avoid dictionary.keys() where possible

This commit is contained in:
Roy-043
2023-08-09 23:45:32 +02:00
committed by wwmayer
parent 79936038ac
commit 64df36ba5c
4 changed files with 14 additions and 14 deletions

View File

@@ -125,7 +125,7 @@ class Sprocket:
obj.addProperty("App::PropertyEnumeration","SprocketReference","Sprocket","Sprocket Reference")
obj.addProperty("App::PropertyLength","Thickness","Sprocket","Thickness as stated in the reference specification")
obj.SprocketReference = list(self.SprocketReferenceRollerTable.keys())
obj.SprocketReference = list(self.SprocketReferenceRollerTable)
obj.NumberOfTeeth = 50
obj.Pitch = "0.375 in"