-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Partial fix Freeze #12856
base: main
Are you sure you want to change the base?
Partial fix Freeze #12856
Conversation
@FlachyJoe another approach which was brought up by @obelisk79 was to remove the additional snowflake icon and instead desaturate the original icon of the object and color it slightly blue/icy. Maybe the label text of the object could be greyed out as well. |
@maxwxyz I've currently no idea how to do this but if no one is in a hurry, I'll learn. |
@FlachyJoe did you change something else with the context menu? It renders always on the top edge of the screen, not on mouse location. Only in PD (own context menu) its at the cursor location. |
@FlachyJoe also here the heads up for the upcoming feature freeze. As there are a lot of open points, are you considering this a post 1.0 PR? |
@maxwxyz this is a bug fix not concerned by feature freeze but should be done before release, right? |
Yes |
@FlachyJoe Will some of those fixes make it 1.0? It would be good to have the Freeze option available in Part Design, for instance. |
I'm not available to end this before release date. The current state with partial fix can be merged. |
Sure, no need to fix all the issues at once. If this PR is good to go and fixes some of the issues, please undraft it so that it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter cleanup (no need to manually make these changes, I will merge them into the PR).
Linter cleanup
Fix #12829
Ping @maxwxyz
Frozen state does not persist on save and opening a file. If I freeze an object, alter it and save it, the alteration is not displayed. When reopening, the modified object is visible and the object is not frozen anymore (recompute at opening). The last modification before closing is now irreversible and lost, although the object was frozen and shouln't be altered.
a 'freezed' object now prevent the document to be saved.
If a PartDesign body is frozen, all nested features can be changed and alter the frozen body.
linked objects are 'freezed' / 'unfreezed' when the state changes
A frozen body can be chamfered in the PartWB. After that it cannot be unfrozen again.
Part_Chamfer create a new ('unfreezed') object, the nested Body is still 'freezed' and 'unfreezable'
A frozen sketch can be activated but is displayed empty in the Sketcher WB
The visibility eye icon does not change its state when clicked but the visibillity in the 3D view is toggled (reproduced with a nested sketch in a PartDesign Pad feature)
Also reproduceable with nested object which are frozen inside of a group (e.g. walls in an arch group)
Frozen command does not register with undo/redo
It acts on the object state not on a property. The object is not modified. Not sure it's needed
If you use a part of a frozen object to create a new feature it throws an error (tried to pad a face of the frozen feature: Index out of bound)
Can not reproduce
If you undo and redo and the body is frozen, all redone features are now outside of the body and cannot be moved inside of the body
You can edit frozen features (e.g. draft objects). They wont change but the edit is permanent. On unfreezing, the edit will be applied.
Transform commands move the object, even when frozen. When using Draft WB move, they don't move
Placement command moves the frozen object.
Non-reversable operations could be applied to frozen objects (e.g. smooth a frozen mesh). If this is done by accident it is not noticed, as there is no feedback to the user. If the mesh is later unfrozen, the smoothed, decimated shape is visible.
The freeze icon is not optimal. It covers the entire icon of the feature, body or object. It is not clear if you want to unfreeze something if this is a body or part container, a spreadsheet or PartDesign features. Maybe it can also be combined with the eye icon as the appearance of the object is frozen
![image](https://private-user-images.githubusercontent.com/10371513/311550092-256785a8-7ea0-4cca-ab63-0c7f072b4ec3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NjE3MzQsIm5iZiI6MTcyMDU2MTQzNCwicGF0aCI6Ii8xMDM3MTUxMy8zMTE1NTAwOTItMjU2Nzg1YTgtN2VhMC00Y2NhLWFiNjMtMGM3ZjA3MmI0ZWMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDIxNDM1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmNDFhNzFkYzVhNTFlMDA0ZmU4NGI0NWUwYjhiNjA0MjFiZWM3YjFlNThkY2Y5OWYwOWU1MzRhN2FiYzBlYzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NAeFOskMe6GXEImSWyQkOTyir1s6cRPi3iFTY01j438)
Fixed
Could it be placed in the context menu section at the bottom, where "Mark to recompute" and "Recompute" is located, as I understand it's related to that?
Could it be renamed? I did not figure out what this is doing and had to look through the PRs.
Proposals: Exclude from recompute, Lock current state,
Could it have a checkbox like "Active body" (at the top of the context menu), like: [ x ] Locked to see the current state in the context menu