Start FreeCAD
Switch to A2plus Workbench (mine shows V0.4.54b)
Create new empty document
Press Add a Part from an External file
Save current drawing per instructed pop-up
Press Add a Part from an External file
Navigate to file and select
Report View shows a number of errors:
Running the Python command 'a2p_ImportPart' failed:
Traceback (most recent call last):
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 736, in Activated
importedObject = importPartFromFile(doc, filename)
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 372, in importPartFromFile
topoMapper.createTopoNames()
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_topomapper.py", line 599, in createTopoNames
tempShape = self.makePlacedShape(ob)
File "/home/ruchg/.FreeCAD/Mod/A2plus/a2p_topomapper.py", line 369, in makePlacedShape
plmGlobal = obj.Placement
'App.DocumentObjectGroup' object has no attribute 'Placement'
A part is visible in the drawing view, however there has been a second drawing tab started and made current
When I switch back to the assembly drawing there is nothing visible, even after pressing Fit Whole Content on Screen
When I look in the Model Tree I see the added part
I don't understand why the part in the Model Tree uses an Sketch Icon instead of the Body Icon a similar assembly of mine uses. The only differrence is that I have used a cutting plane and sliced the foot part and did not on the other assembly parts.
How do I clear the ImportPart Errors?
Thanks.
Import Part Errors when using A2plus Workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Import Part Errors when using A2plus Workbench
- Attachments
-
- ShortFoot.FCStd
- (39.99 KiB) Downloaded 84 times
-
- MidFoot.FCStd
- (100.8 KiB) Downloaded 91 times
-
- ModelTree.png (25.22 KiB) Viewed 3106 times
Re: Import Part Errors when using A2plus Workbench
Hello,
I have the same problem :
I am trying to assemble three sub-assemblies: the first has 40 components, the second 9 and the third 12. See images.
The assembly of the first two is going well. The third does not join the general assembly window and is displayed in a different window. In the combined view, the third component of the general assembly shows a sketch icon ?? The report view informs of an index outside of a range. See picture.
Are there too many components?
I have the same problem :
I am trying to assemble three sub-assemblies: the first has 40 components, the second 9 and the third 12. See images.
The assembly of the first two is going well. The third does not join the general assembly window and is displayed in a different window. In the combined view, the third component of the general assembly shows a sketch icon ?? The report view informs of an index outside of a range. See picture.
Are there too many components?
Code: Select all
OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.28810
Build type: Release
Branch: master
Hash: 30b0efe02557da6438f9d8dc914b1e2acf5f0d9a
Python 3.6.9, Qt 5.9.5, Coin 4.0.0a, OCC 7.5.2
Locale: French/France (fr_FR)
Installed mods:
* Curves 0.4.3
* CurvedShapes 0.4.56
* fasteners 0.3.41
* ThreadProfile 1.81.0
* A2plus 0.4.56
- Attachments
-
- Capture du 2022-05-11 16-47-32.png (150.99 KiB) Viewed 1463 times
-
- Capture du 2022-05-11 16-48-10.png (69.07 KiB) Viewed 1463 times
-
- Capture du 2022-05-11 16-49-30.png (67.02 KiB) Viewed 1463 times
-
- Capture du 2022-05-11 16-51-49.png (115.94 KiB) Viewed 1463 times
-
- Capture du 2022-05-11 16-58-35.png (34.88 KiB) Viewed 1463 times
Fada de 3D.
Linux Mint
Linux Mint
-
- Posts: 1
- Joined: Thu May 18, 2023 10:13 pm
- Location: Minga
- Contact:
Re: Import Part Errors when using A2plus Workbench
Dear all, dear @ruchg
In case this still occurs to somebody, the following workaround might help.
Background:
I was experiencing the same issue in FreeCAD 0.20.2 installed on Ubuntu 20 (snap installation) using A2plus workbench. When importing multiple objects from different FCStd1 files, the files that contain type "body" work perfectly, while "Exploded Slice" import returns the above error with:
Workaround:
1. Go to file with "Exploded Slice"
2. Select slice to be imported in assembly file
3. Use Part workbench and go to Pieza -> Crear una copia -> refinar la forma
(I have spanish version, might be Part -> Create copy -> Refine form)
4. Above steps created new object within that file, so save it
5. Go to assembly file, in a2plus workbench and import again
In case you speak German, this video https://www.youtube.com/watch?v=6hnfwbvQflk also explains from minute 12:00 to 14:00 those steps from 1 to 4.
In case this still occurs to somebody, the following workaround might help.
Background:
I was experiencing the same issue in FreeCAD 0.20.2 installed on Ubuntu 20 (snap installation) using A2plus workbench. When importing multiple objects from different FCStd1 files, the files that contain type "body" work perfectly, while "Exploded Slice" import returns the above error with:
20:39:27 Running the Python command 'a2p_ImportShapeReferenceCommand' failed:
Traceback (most recent call last):
File "/home/paul/snap/freecad/common/Mod/A2plus/./a2p_importpart.py", line 565, in Activated
importedObject = importPartFromFile(doc, filename, extractSingleShape=True, desiredShapeLabel = so)
File "/home/paul/snap/freecad/common/Mod/A2plus/./a2p_importpart.py", line 369, in importPartFromFile
topoMapper.createTopoNames(desiredShapeLabel = dc.tx)
File "/home/paul/snap/freecad/common/Mod/A2plus/./a2p_topomapper.py", line 599, in createTopoNames
tempShape = self.makePlacedShape(ob)
File "/home/paul/snap/freecad/common/Mod/A2plus/./a2p_topomapper.py", line 369, in makePlacedShape
plmGlobal = obj.Placement
'App.DocumentObjectGroup' object has no attribute 'Placement'Importar forma invisible ignorada: 'Sketch'
Workaround:
1. Go to file with "Exploded Slice"
2. Select slice to be imported in assembly file
3. Use Part workbench and go to Pieza -> Crear una copia -> refinar la forma
(I have spanish version, might be Part -> Create copy -> Refine form)
4. Above steps created new object within that file, so save it
5. Go to assembly file, in a2plus workbench and import again
In case you speak German, this video https://www.youtube.com/watch?v=6hnfwbvQflk also explains from minute 12:00 to 14:00 those steps from 1 to 4.