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

I cannot export assembly4 'linear array' Using FreeCAD without GUI #484

Open
3xxx opened this issue Mar 21, 2024 · 2 comments
Open

I cannot export assembly4 'linear array' Using FreeCAD without GUI #484

3xxx opened this issue Mar 21, 2024 · 2 comments

Comments

@3xxx
Copy link

3xxx commented Mar 21, 2024

Hi zolko!
I made the model using the linear array of A4 and export the model in the python code of headless modeand only got the first part, not the arrayed part.
some python code like this:

......
doc = FreeCAD.open(inputfile)
.....
ss = doc.getObject('Spreadsheet')
......
ss.set('E'+str(index+2), str(parameter[index]))
......
FreeCAD.ActiveDocument.recompute()

Import.export(__objs__, outputfile)

Does linear array not support headless mode?
Thanks you!

@Zolko-123
Copy link
Owner

I have never tried

@3xxx
Copy link
Author

3xxx commented Mar 23, 2024

I solved it by running python code in freecadcmd, thanks you.

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

2 participants