From 253b67fb83c6ff9008d0c9728869889092ae02aa Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 29 May 2019 13:03:57 +0800 Subject: [PATCH] utils: add missing 'Origin' for App::Placement --- utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.py b/utils.py index 15e9323..9eb6fef 100644 --- a/utils.py +++ b/utils.py @@ -119,6 +119,7 @@ def getElementShape(obj,tp=None,transform=False,noElementMap=True): elif sobj.isDerivedFrom('App::Placement'): sub = sub.split('.')[-1] dmap = {'':(0,0,1), + 'Origin':(0,0,1), 'Z-Axis':(0,0,1), 'XY-Plane':(0,0,-1), 'X-Axis':(1,0,0),