cg: update pipeline to lcs property WIP
This commit is contained in:
parent
c27b99ff52
commit
6c7e8c46d6
3 changed files with 11 additions and 2 deletions
|
@ -54,6 +54,10 @@ def freecad_to_json(**kwargs):
|
|||
|
||||
if obj.isDerivedFrom('PartDesign::CoordinateSystem'):
|
||||
js_obj['type'] = 'LCS'
|
||||
for attr in dir(obj):
|
||||
if 'Robossembler' not in attr:
|
||||
continue
|
||||
js_obj[attr] = getattr(obj, attr)
|
||||
|
||||
elif obj.isDerivedFrom('Part::Feature'):
|
||||
js_obj['type'] = 'PART'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue