From 45e803402d401016c732e3f1de5ba74aa1944a72 Mon Sep 17 00:00:00 2001 From: Zoe Forbes Date: Sun, 8 Feb 2026 10:35:54 -0600 Subject: [PATCH] fix: use absolute import in silo_origin.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The freecad/ directory is not a Python package (no __init__.py) — it is added directly to sys.path by FreeCAD. The relative import 'from .silo_commands import ...' fails when silo_origin is imported as a top-level module, causing Silo origin registration to silently fail. Change to absolute import 'from silo_commands import ...' to match the import style used everywhere else in the directory. --- freecad/silo_origin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freecad/silo_origin.py b/freecad/silo_origin.py index fd186e5..071c772 100644 --- a/freecad/silo_origin.py +++ b/freecad/silo_origin.py @@ -11,8 +11,7 @@ providing the standardized origin interface. import FreeCAD import FreeCADGui - -from .silo_commands import ( +from silo_commands import ( _client, _sync, collect_document_properties,