-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Problem] Assembly: Parts created in context can’t be saved in a separate file #12708
Comments
Stated clearly and concisely, that's exactly what FreeCAD lacks. Congratulations! |
So this issue is also rather a App::Part issue. It's all revolving around the idea of single file per document it seems. |
@PaddleStroke Yes it will enable single component per file. I understand that the project isn’t currently willing to go this way by default (even single root per file) but that workflow must be possible with FreeCAD. @maxwxyz Could you add the core label? It’s still an assembly issue because assemblies container are going to require this as well when the follow-up PR is merged. |
If we use Std_Part, then we are modifying the behavior for all parts. Maybe the Std_Part should prompt the user 'Create part in a new document?' yes no always yes always no. |
Modifying I like your dialog but I would transform the always buttons by a single checkbox “never ask again”. The label could say that it can be changed in the settings. |
Is there an existing issue for this?
Problem description
When parts are created with
Std_Part
directly in an existing Assembly container, they are stored in the document containing the assembly (the document can be on the disk or in memory before being saved). It is not possible to tell FreeCAD that it needs to be in a separate document. To store parts in independent documents, they need to be created separately and not in context.This limits the ability to work with several files. While it is understandable to allow for the whole project to be in a single file, this is not the most common in the industry. Even then, it may be desired to extract one part of a project to reuse it elsewhere more easily.
When the part is detached, it must be transformed into a link in the assembly and all other links to existing geometry must be replaced as well so the process is as seamless as possible.
There should be a program option to automatically detach parts (and later sub-assemblies) from their parent, for those who prefer to work with one component per file.
Full version info
Subproject(s) affected?
Assembly
Anything else?
See discussion #11742
Code of Conduct
The text was updated successfully, but these errors were encountered: