I am trying to create an assembly hardware using .stp files I downloaded from a vendors site. Some items import in with no problems and I am able to create constraints. Others however give me the attached error message.
I do notice that if I import the files through the file menu the files that work have a blue box icon in treeview and the ones that don't have a part icon.
Could somebody explain to me what I need to do to get these parts usable in an assembly?
Thanks
Problem Importing Part into Assembly
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Problem Importing Part into Assembly
- Attachments
-
- InputMessage.JPG (19.19 KiB) Viewed 2037 times
Re: Problem Importing Part into Assembly
Welcome to the forum! Please read the IMPORTANT: Please click here and read this first, before asking for help post (top of the page). Also can you share the step file or link to the vendor page?
Re: Problem Importing Part into Assembly
My apologies.
Here is my FreeCAD info
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
Below is the link to a file that is giving me troubles;
https://drive.google.com/file/d/1lX3vqu ... sp=sharing
Below is a link to a file that works;
https://drive.google.com/file/d/1ezZkBO ... sp=sharing
Thanks
Here is my FreeCAD info
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
Below is the link to a file that is giving me troubles;
https://drive.google.com/file/d/1lX3vqu ... sp=sharing
Below is a link to a file that works;
https://drive.google.com/file/d/1ezZkBO ... sp=sharing
Thanks
Re: Problem Importing Part into Assembly
Try a newer FreeCAD. I tested the first file and that's what I got:
Does it work the same for you? I see the Part icons in the tree, but there are blue blocks inside
The "good" file has a flat structure in the tree. Almost for sure there was a change in step import since v0.17. My version is:
OS: "Fedora release 28 (Twenty Eight)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15263 (Git)
Build type: Unknown
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: Polish/Poland (pl_PL)
P.S. I don't remember anyone using FreeCAD to put together I/O panels - would be great if you could share some details of your work (no pressure, I understand not everything can be shared).
Does it work the same for you? I see the Part icons in the tree, but there are blue blocks inside
The "good" file has a flat structure in the tree. Almost for sure there was a change in step import since v0.17. My version is:
OS: "Fedora release 28 (Twenty Eight)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15263 (Git)
Build type: Unknown
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: Polish/Poland (pl_PL)
P.S. I don't remember anyone using FreeCAD to put together I/O panels - would be great if you could share some details of your work (no pressure, I understand not everything can be shared).
Re: Problem Importing Part into Assembly
The error is self explanatory, Przemov's video shows the problem file contains more than one visible part.
You can do one of two things, make all but one part invisible, and make visible and import each part in turn.
Or create a sub-Assembly using the method above and import that.
Not sure if it is possible to create a part compound for import into assembly, you could try!
HTH Steve.
You can do one of two things, make all but one part invisible, and make visible and import each part in turn.
Or create a sub-Assembly using the method above and import that.
Not sure if it is possible to create a part compound for import into assembly, you could try!
HTH Steve.
Re: Problem Importing Part into Assembly
Actually, the real issue here is not with FreeCAD, it's with the Assembly2 add-on which AFAIK has not been updated to recognize the Part container (yellow step icon) introduced in v0.17. This container is used to organize STEP assemblies.
Assembly2 is no longer actively developed, you should have a look at A2Plus, a fork which is in active development. I believe it supports the Part container, but I'm not 100% certain.
Assembly2 is no longer actively developed, you should have a look at A2Plus, a fork which is in active development. I believe it supports the Part container, but I'm not 100% certain.
Re: Problem Importing Part into Assembly
Hi @NormandC,
A2plus supports Part- and Body-Containers. Edit: During importing parts /Edit Also it is able to import more than one visible object.
@tsopkow: It is worth to try A2plus. But it is unfortunately not compatible anymore with Assembly2. So your assemblies have to be done completely new, starting with an empty file and new imports.
KBWBE
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Re: Problem Importing Part into Assembly
Thanks for the confirmation kbwbe! I've briefly tested your workbench some time ago but my time was limited. I hope to spend more time testing it over the coming Holidays.