[Bug] Representation errors on imported components
Hi togehter,
just got around to the first board imports.
some components loose their Altium color designations and others are losing their housings.
any idea what could be the culprit?
best,
Rene
Altium native board overview
OnShape MCAD import, missing packages for opamps in center, maisonette housing and connector colors.
Comments
-
Hi Rene.
This is being caused by a slightly annoying quirk in Onshape where Onshape assigns a seemingly random color to composite parts.
PCB Studio gets Parasolid data from Altium for the detailed component models. This Parasolid data does have the correct colors defined when it's first imported into Onshape. However, the Altium components are sometimes defined as multiple bodies, so PCB Studio combines them into one body by making them a composite part, and it's this process which is changing the colors.
The reason we do this conversion to composite parts is because currently PCB Studio only supports the concept of "One ECAD component = one Part in one Part Studio". If there are multiple bodies in the Parasolid data, then that converts into an Onshape part studio containing multiple parts. These multiple parts would insert into the assembly correctly (as PCB Studio just inserts everything in the part studio). However we'd currently have problems with the reverse "Onshape to PCB Studio" flow - as each part of what's effectively the same component could be moved separately in Onshape, so on reimport to PCB Studio effectively one component could end up in multiple positions. Hence the "One ECAD component = one Onshape body" rule we have currently.
I'll check we've got this issue logged, as I can't see why Onshape's conversion process is losing the colors. I'm not familiar with that area of code though, so it could well be there are technical reasons for this. I'll certainly investigate however, as it's annoying to lose the colors. One thing we could do to improve matters would be to only convert to a composite part when needed (e.g. if Altium gives us multiple bodies). That way the issue would only affect some components coming from Altium rather than all of them.
1
Categories
- All Categories
- 10.2K Community Support
- 4.6K General
- 194 Account and subscriptions
- 353 Data management
- 1.6K Product Feedback
- 215 New in Onshape
- 14 Onshape Labs
- 75 CAM Studio
- 35 PCB Studio
- 107 Simulation
- 209 Onshape Mobile
- 315 App Store & Partners Apps
- 8.2K Using Onshape
- 1.8K Drawings
- 2.3K FeatureScript
- 324 Learning Center
- 253 Education Community



