Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openDocument of Assembly3 document with freecadcmd results in Aborted #1319

Open
khimaros opened this issue Sep 4, 2023 · 1 comment
Open

Comments

@khimaros
Copy link

khimaros commented Sep 4, 2023

FreeCAD version: 0.20.2
A3 Version: 0.12.0

this happens even with an empty assembly: empty-assembly.FCStd.gz

i'm trying to set up CI/CD for my FreeCAD workflow. all of my parts individually can be opened and exported in headless mode using freecadcmd and a bit of python code.

however, when trying to open an Assembly3 document, freecadcmd aborts prematurely without any explanation as to why.

reproducible consistently with this bit of code:

#!/usr/bin/env freecadcmd

import sys

import FreeCAD

path, dest = sys.argv[1:]

print('### opening document', path)

FreeCAD.openDocument(path)

the output is as follows:

FreeCAD 0.20.2, Libs: 0.20.2R
(c) Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

### opening document cad/atom/atom-assembly.FCStd
Aborted
@khimaros khimaros changed the title openDocument of Assembly3 document with freecadcmd: Aborted openDocument of Assembly3 document with freecadcmd results in Aborted Sep 4, 2023
@khimaros
Copy link
Author

khimaros commented Sep 6, 2023

there is some helpful discussion and hint provided in the referenced FreeCAD issue: FreeCAD/FreeCAD#10526

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant