utils: add missing 'Origin' for App::Placement
This commit is contained in:
parent
43dd351c83
commit
253b67fb83
1
utils.py
1
utils.py
|
@ -119,6 +119,7 @@ def getElementShape(obj,tp=None,transform=False,noElementMap=True):
|
||||||
elif sobj.isDerivedFrom('App::Placement'):
|
elif sobj.isDerivedFrom('App::Placement'):
|
||||||
sub = sub.split('.')[-1]
|
sub = sub.split('.')[-1]
|
||||||
dmap = {'':(0,0,1),
|
dmap = {'':(0,0,1),
|
||||||
|
'Origin':(0,0,1),
|
||||||
'Z-Axis':(0,0,1),
|
'Z-Axis':(0,0,1),
|
||||||
'XY-Plane':(0,0,-1),
|
'XY-Plane':(0,0,-1),
|
||||||
'X-Axis':(1,0,0),
|
'X-Axis':(1,0,0),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user