Comments (3)
I this relevant? I think this use case is now covered well by the simple copy command, consider closing this issue
from freecad.
@wwmayer you tell me about this issue, do you think a Freezed state is needed for DocumentObject in order to prevent re-computation?
I had a look on the code and I think it's easy to implement.
A freezed object will always return false to mustRecompute()
and it's properties will be readonly.
from freecad.
you tell me about this issue, do you think a Freezed state is needed for DocumentObject in order to prevent re-computation?
Unlike to my suggestion at that time I wouldn't use a PropertyBool any more because this has an extra cost of additional memory for every object type which is unused in 99% of all cases. I prefer to extend the ObjectStatus enum with a further value e.g. "NonParametric" or "Frozen" or whatever.
A frozen object will always return false to mustRecompute()
Yes.
and it's properties will be readonly
This will be a bit tricky because the flag can be reverted and there is no easy way to restore the original status of all properties. I would just leave the properties untouched. It should be checked if doing nothing inside DocumentObject::onChanged
is sufficient.
from freecad.
Related Issues (20)
- TechDraw: Cosmetic Eraser should not be a tool. HOT 3
- TechDraw 'Change appearance of lines' should not need a tool in toolbar.
- Actual mesh display in the Surface with Edges mode of the FEM results pipeline HOT 1
- FEM 2D element thickness shouldn't be 20 by default
- STL exports complex object as separate parts in the STL file in version 0.21.2 HOT 2
- Orientation Vertical/Horizontal actually “aligns” in function “Add Centerline Between 2 Points”
- Explode/Break/Destroy an array (any type of array draft/arch/bim)
- Sketcher: Tool Parameter widget spinboxes show decimals when not needed
- Sketcher: Tool parameters: use of up/down arrows is undefined
- Loss of already entered data due to mouse movement. HOT 5
- Setting the Draft grid can be confusing
- Positive hole/shaft fit limits lack the plus (+) sign if positive
- Drill file with grbl postprocessor ignores rapid speed HOT 5
- [Python] No widget available to edit any property with expression
- Raspberry Pi half black screen HOT 2
- [Feature Request] CAM: add G73 peck drilling variant to grbl post processor HOT 13
- part design: additive loft crash HOT 1
- name 'Gui' is not defined HOT 1
- FEM Tie constraint should have separate face selectors for master and slave face
- FEM Contact and tie constraint icons are too similar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad.