utils: add missing 'Origin' for App::Placement

This commit is contained in:
Zheng, Lei 2019-05-29 13:03:57 +08:00
parent 43dd351c83
commit 253b67fb83

View File

@ -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),