Comments (6)
Fixed on devel branch. 2019-02-15
from a2plus.
This is not completely fixed:
- convert a part to an a2plus part
- undo
- redo
result
Traceback (most recent call last): File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_observers.py", line 33, in slotRedoDocument a2p_importpart.a2p_repairTreeView() File "C:\Users\USti\AppData\Roaming\FreeCAD\Mod\A2plus\a2p_importpart.py", line 1100, in a2p_repairTreeView parent.Label = parent.Label # trigger an update... <class 'AttributeError'>: 'NoneType' object has no attribute 'Label'
from a2plus.
I only got this error when the converted part was already constrained. With the undo function these existing constraints loose their object reference.
I added a function to remove constraints related to non existing objects. For me it works now without error message.
Fixed within devel branch 2019-02-16
from a2plus.
This is still not completely fixed or new issues have been introduced:
- open this simple assembly:
testass3.zip
- select the part "Pumpen-Kupplung_001"
- convert to A2plus part
- undo
- redo
result: info dialog stating "b_Pumpen_Kupplung_001_"
I see there 3 issues:
- the first conversion to the a2plus part changes the name of the part (which makes sense) but the existing constraint is detached from the part and placed elsewhere to the model tree. Can't the constraint be kept?
- the redo tries to restore the part with the original name, but since the conversion renamed the part, this fails
- the info dialog outputs a part name that never existed.
from a2plus.
The test file does only contain A2p parts. What should be converted ?
from a2plus.
The test file does only contain A2p parts.
Not here on my PC. Both parts are simple imported parts.
What should be converted ?
As I wrote the part "Pumpen-Kupplung_001".
from a2plus.
Related Issues (20)
- New constraint validation with enter key
- Does not load base object of linked array o copies HOT 1
- Tracking migration to updated metadata schema HOT 2
- Failed to import part (object has no attribute 'Placement')
- CD_A2plusupdater.py has xe2 errors on lines 683 and 684 HOT 7
- A2plus assumes access to `$HOME/icons/` HOT 2
- ModuleNotFoundError: No module named 'A2plus' HOT 2
- transparency can not be modified HOT 2
- PlaneCoincident not working in A2Plus 0.4.55 & 0.4.56 HOT 4
- Negative offset crashes FreeCad HOT 5
- Conflict finder + Could not move some parts -dialog HOT 14
- Bug[?] when modifying constraints Objects in Python HOT 2
- Allow to manipulate Suppressed field via the data view in the combo view (AKA enable/disable visibility) - currently greyed out - not just using spacebar HOT 4
- Can't enter decimal offset when constraining parts
- Issue importing step files wrt:colors HOT 2
- Part import window is empty HOT 3
- Generated parts list contain HTML codes HOT 3
- A2plus - when changing transparency of objects imported from STEP models, the color of the model is set to default (gray).
- JSON serialisation error HOT 5
- a2plus assembly exporting to stl of parts in individual files 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 a2plus.