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)
- UI: Confusing and hard to find Tree View settings.
- [TechDraw] Regression from PR15935, some curved geometry becomes distorted HOT 8
- BIM: Crash when using box selection with Arch Survey
- TeΡhDraw: When creating views and sections, doors and windows in the main object are not taken into account (automatically).
- TechDraw: Views and sections do not automatically include mirror objects. HOT 3
- Regression: Undocked panels don't yield when other apps are selected in latest build HOT 2
- CAM: MillFace, line pattern, does not respect climb cut mode
- CAM: MillFace Min Travel selected reverses the Cut Mode with Offset Pattern (Climb to Conventional) HOT 2
- Assembly: Cannot constrain to the assembly origin planes/axes HOT 5
- SVG import to Sketch broken HOT 4
- Duplicated Import options shown (caused by Design456 WB) HOT 6
- constrain symmetric shows error "Recompute failed!" HOT 4
- Building: Boost dependency errors HOT 14
- DXF import stopped working altogether in the last two dev versions HOT 6
- Cant run Freecad from last nvidia driver update (workaround: downgrade driver) HOT 9
- OSX build broken HOT 1
- User macro directory getting set/reset to Desktop on Windows 11 HOT 7
- CAM: Sub-objects not hidden when Job hidden in "Model" outliner HOT 11
- Sketcher: Overconstrain dimensions should be automatically referenced HOT 8
- Forbidden cursor of selection gate blocks area of interest
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.