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

Material: Material editor enhancements #11138

Merged
merged 15 commits into from Nov 1, 2023

Conversation

davesrocketshop
Copy link
Contributor

Continues the work of the material subsystem improvements.

This merge covers the continued development of the material editor.
The primary improvements are in the handling of 2D and 3D array properties.
These properties are now fully editable, and can be saved and restored.

The cards now separate the author and license. These were previously saved
as a single item. Future support will be provided for standard open source licenses.

Saving operations validate the cards to ensure UUIDs of materials are considered.
Warnings are given when a save could potentially impact the models, such as
saving over a material instead of creating a new instance.

The editor is still not complete. There are a number of functional elements, such as
drag/drop operations, folder creation, and deletion operations that need to be added
to the main tree. State needs to be saved and restored to improve the user experience.
The appearance preview also needs significant work. This will be handled in a future
PR.

@github-actions github-actions bot added the WB FEM Related to the FEM Workbench label Oct 21, 2023
@luzpaz
Copy link
Contributor

luzpaz commented Oct 22, 2023

Are the .vscode/ files included in this PR relevant to the PR too ?

@davesrocketshop
Copy link
Contributor Author

Are the .vscode/ files included in this PR relevant to the PR too ?

No. That's .gitignore not .gitignoring. I'll fix that.

Copy link
Member

@chennes chennes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good to merge as soon as the .vscode stuff gets removed.

Continues the work of the material subsystem improvements.

This merge covers the continued development of the material editor. The
primary improvements are in the handling of 2D and 3D array properties.
These properties are now fully editable, and can be saved and restored.

The cards now separate the author and license. These were previously
saved as a single item. Future support will be provided for standard
open source licenses.

Saving operations validate the cards to ensure UUIDs of materials are
considered. Warnings are given when a save could potentially impact the
models, such as saving over a material instead of creating a new
instance.

The editor is still not complete. There are a number of functional
elements, such as drag/drop operations, folder creation, and deletion
operations that need to be added to the main tree. State needs to be
saved and restored to improve the user experience. The appearance
preview also needs significant work. This will be handled in a future
PR.
pre-commit-ci bot and others added 10 commits October 23, 2023 19:22
Continues the work of the material subsystem improvements.

This merge covers the continued development of the material editor. The
primary improvements are in the handling of 2D and 3D array properties.
These properties are now fully editable, and can be saved and restored.

The cards now separate the author and license. These were previously
saved as a single item. Future support will be provided for standard
open source licenses.

Saving operations validate the cards to ensure UUIDs of materials are
considered. Warnings are given when a save could potentially impact the
models, such as saving over a material instead of creating a new
instance.

The editor is still not complete. There are a number of functional
elements, such as drag/drop operations, folder creation, and deletion
operations that need to be added to the main tree. State needs to be
saved and restored to improve the user experience. The appearance
preview also needs significant work. This will be handled in a future
PR.
…direction

Path: fix Profile open edges not respecting selected cutting direction
#include <Inventor/draggers/SoDirectionalLightDragger.h> to PreCompiled.
…-was-not-correctly-finished-in-case-of-a-pre-selection

Draft: Draft_SelectPlane was not correctly finished in case of a pre-selection
…setHeadlightEnabled() & isHeadlightEnabled()
@davesrocketshop
Copy link
Contributor Author

I think this is good to merge as soon as the .vscode stuff gets removed.

Done

davesrocketshop and others added 3 commits October 24, 2023 12:36
Continues the work of the material subsystem improvements.

This merge covers the continued development of the material editor. The
primary improvements are in the handling of 2D and 3D array properties.
These properties are now fully editable, and can be saved and restored.

The cards now separate the author and license. These were previously
saved as a single item. Future support will be provided for standard
open source licenses.

Saving operations validate the cards to ensure UUIDs of materials are
considered. Warnings are given when a save could potentially impact the
models, such as saving over a material instead of creating a new
instance.

The editor is still not complete. There are a number of functional
elements, such as drag/drop operations, folder creation, and deletion
operations that need to be added to the main tree. State needs to be
saved and restored to improve the user experience. The appearance
preview also needs significant work. This will be handled in a future
PR.
@chennes chennes merged commit 2c7638b into FreeCAD:main Nov 1, 2023
7 checks passed
@luzpaz luzpaz added the Materials Materials related label Nov 1, 2023
@wwmayer
Copy link
Contributor

wwmayer commented Nov 2, 2023

There is one thing I would like to know:
Why are all changes reverted that fixed various compiler warnings, fixed build failures, removed deprecated code, ...?

@davesrocketshop
Copy link
Contributor Author

I'm not sure. This was an odd merge for me... automatic merge wasn't automatic at all. I'll go back and review

@davesrocketshop
Copy link
Contributor Author

Were there problems outside of src/Mod/Material?

@davesrocketshop
Copy link
Contributor Author

I don't know how those were missed in the merge, but they were automatically merged over. I'll prepare a regression PR

@luzpaz
Copy link
Contributor

luzpaz commented Nov 2, 2023

automatic merge meaning using the github ui merge functionality ?

@davesrocketshop
Copy link
Contributor Author

No. Standard git merge. Things that should have been automatic showed as merge conflict, requiring me to manually resolve over 200 files worth. None of the previous changes were shown as options.

@davesrocketshop davesrocketshop deleted the material_editor_pr branch November 2, 2023 12:53
@wwmayer
Copy link
Contributor

wwmayer commented Nov 2, 2023

#11256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Materials Materials related WB FEM Related to the FEM Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants