Comments (11)
I would suggest even more: Let's add some cool UI stuff to the property editor to do that. For ex:
- A "+" button somewhere, for ex here:
-
That button opens the "add dynamic property" dialog
-
That dialog maybe needs some rework, some options are IMHO a but unclear for new users
-
Dynamic (removable) properties should be somehow marked in the properties view, and indeed an easy way, but less obvious than a "-" button, to remove them (right-click?) offered.
-
But there are dynamic properties added by workbenches, which should not be removed by the user (although they in theory are), and user-added properties, which should be easy to remove. How to differentiate them?
from freecad.
I would suggest even more: Let's add some cool UI stuff to the property editor to do that. For ex:
- A "+" button somewhere, for ex here:
Cool idea, I'm not sure whether that is possible/wanted because of the fact that that space is reserved for tabs.
from freecad.
- That dialog maybe needs some rework, some options are IMHO a but unclear for new users
Yes, I agree.
- Dynamic (removable) properties should be somehow marked in the properties view, and indeed an easy way, but less obvious than a "-" button, to remove them (right-click?) offered.
Yes, I think a right-click makes sense.
- But there are dynamic properties added by workbenches, which should not be removed by the user (although they in theory are), and user-added properties, which should be easy to remove. How to differentiate them?
Hm, good question. @yorikvanhavre, do you have a concrete example of a dynamic property added by a workbench that shouldn't be removed? @FlachyJoe figured out something with property status in this comment.
By the way, I in my humble opinion, the name "dynamic" for properties is not so useful for users. Doesn't it simply come from the fact that dynamic properties are added to objects at run-time, meaning that statically (in the code, at compile-time) no information is available about them. If this is the real differentiator between dynamic properties and non-dynamic properties, then I think we shouldn't bother users with this term. I think we don't even have to make a distinction in that case. For a user it is enough that some properties are hardcoded and cannot be removed and some can.
from freecad.
@pieterhijma unfortunately getPropertyStatus
returns 21
for all dynamically added properties, user and python ones.
My user property list displays FEM objects 😢
from freecad.
Right, that is a pity...
from freecad.
Found the LockDynamic
status to prevent the dynamically added property to be removed.
I'm making a PR to add this status to FEM object's.
EDIT: #13687
from freecad.
Expression... (I would be totally ok to remove this one altoghether)
Not OK, it's the only way to set an expression to non-numeric properties.
from freecad.
Found the
LockDynamic
status to prevent the dynamically added property to be removed. I'm making a PR to add this status to FEM object's. EDIT: #13687
Great! @yorikvanhavre and @FlachyJoe, what do you think? Should it become a convention for workbenches to distinct the properties that they deem important to mark them as such?
from freecad.
Expression... (I would be totally ok to remove this one altoghether)
Not OK, it's the only way to set an expression to non-numeric properties.
Yes, you're right. I figured that out myself as well. I never used it, so if you want to use an expression to set a boolean for example, you have to use this. It's a bit of a pity that the expression system only supports numeric values and strings.
from freecad.
I've submitted draft PR #13691 that rearranges the menu, keeping the "Expression..." item. For me, this would totally suffice, but an add button that @yorikvanhavre suggests, would be nice too.
from freecad.
an add button that @yorikvanhavre suggests, would be nice too.
This would of course be matter for another PR. No need to do all at once :)
from freecad.
Related Issues (20)
- BIM - Icon updates task
- Fit all and Fit selection use the same icon HOT 7
- Memory leaks due to PySequence_GetItem
- A problem about FreeCADcmd to import dxf format file HOT 3
- Material: Hatches are displayed in FEM_MaterialSolid
- UI: Overlay settings show no icon
- Can't deactivate or delete constraints in Sketcher WB HOT 2
- [Problem] V0.22dev Sketcher: CreatePoint causes crash of FreeCAD HOT 2
- [Feature Request/Structural change] "Splitting" of TD HOT 2
- [Feature Request] Grouping of pages and Automatically adjusting things like page number HOT 1
- [Problem] Arch: crash when creating a structure object HOT 1
- TechDraw: Export layered PDF
- FEM: Some constraint descriptions regarding geometry selection are misleading
- Disabling BUILD_MATERIAL in CMake breaks FreeCAD build HOT 1
- Sketcher generates faulty constraint when double-clicking arc HOT 2
- Sketcher/Polyline create null-length line if double-clicking end of tangent arc HOT 9
- Sketcher/EllipseByCenter creates an ellipse when exited under certain conditions
- Sketcher/B-SplineByKnot goes into a weird behavior in case of double-click HOT 1
- "[Sketcher]" toolbar isn't correctly hidden on first sketch editing (empty config)
- Different messages for the same set of constraints
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.