Comments (6)
A few more details, trying to delete external edge after such "Undo" results in this:
15:06:41 pyException: Traceback (most recent call last):
File "<string>", line 1, in <module>
<class 'ValueError'>: Not able to delete an external geometry with the given index: 0
15:06:41 Core#PcieSlotPanelMount: App.getDocument('Core').getObject('Sketch004').delExternal(0)
15:06:41 ViewProviderSketch: Not able to delete an external geometry with the given index: 0
Looks like UI is not synced with some internal data structures or something.
File "<string>", line 1, in <module>
is also not particularly helpful for debugging purposes 🙃
from freecad.
is this also happening in the stable 0.21.2 version?
@PaddleStroke @FlachyJoe FYI
from freecad.
Honestly never used stable before and this project created with dev build fails to load in it 🙈
from freecad.
Wanted to test on stable, but couldn't due to FreeCAD/FreeCAD-Bundle#270
from freecad.
I can reproduce.
I have just tested on 0.20 and the bug is already there.
My guess is that there is a problem in the commands opening/closing.
Probably the creation of external opens a command. Then the linking opens another command before the first is commited. So the first command is not on the undo stack. So when you undo it will undo the linking, then undo again will undo whatever you have done before.
from freecad.
I had a quick look, it appears that I was wrong. The command is actually reverted correctly.
If you undo, the external geo is still in the list, but if you click on recompute it disappear.
So my new guess is that the Undo does not call rebuildExternalGeometry()
but only removes the external geo from the ExternalGeometry
list.
from freecad.
Related Issues (20)
- Sketcher: array, rotate, scale fails for certain geometries HOT 1
- CAM Simulation of a cutting move is too fast HOT 1
- Sketcher: Crash when box-selecting normal and external geometry HOT 3
- PartDesign: TNP for same edge - works in 0.21 HOT 6
- VarSet: Cannot enter exisiting prop name as prefix for new prop name
- VarSet: Qt warning when using the "Show variable sets" option in the Expression editor
- VarSet: Cannot enter allowed cases for enumeration property
- VarSet: Cannot enter allowed cases for enumeration property HOT 1
- VarSet: confusing input handling in "Show variable sets" option in the Expression editor
- VarSet: Value input should show units for properties that have units
- Expression: Cannot use boolean value directly in conditional HOT 1
- VarSet: Suggested UX improvements HOT 1
- VarSet: Cannot delete entries directly and menu inconsistency HOT 1
- UX: Acknowledge copies to clipboard
- Moving link to a group into another document moves original group as well HOT 3
- Spreadsheet cell can't reference value of another cell by alias HOT 3
- Measurement: No option for diameter? HOT 2
- Hole operation only goes one direction though configured as midplane+through all
- materials-editor.ui and libFreeCAD_widgets.so installed to the wrong directory HOT 2
- Part Design - 3D View/Task dialog issue in Pad/Pocket with Up to face Type
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.