We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcbff39 commit 43fa358Copy full SHA for 43fa358
1 file changed
freecad/gridfinity_workbench/check_version.py
@@ -27,6 +27,19 @@ def migrate_object_version(obj: fc.DocumentObject) -> None: # noqa: C901
27
28
### v0.11.9 Changes ###
29
30
+ if (
31
+ hasattr(obj, "Baseplate")
32
+ and hasattr(obj, "MagnetHoles")
33
+ and not hasattr(obj, "MagnetHoleChamfer")
34
+ ):
35
+ # Add property for the magnet hole chamfer.
36
+ obj.addProperty(
37
+ "App::PropertyLength",
38
+ "MagnetHoleChamfer",
39
+ "GridfinityNonStandard",
40
+ "The depth at which magnet hole chamfer starts.",
41
+ ).MagnetHoleChamfer = 0.25
42
+
43
if hasattr(obj, "MagnetHoles"):
44
# Add properties for the crush ribs to hold magnets.
45
if not hasattr(obj, "CrushRibsCount"):
0 commit comments