(SOLVED) Component parameter not preserved

Post Reply
-Tom-Tom-
Posts: 17
Joined: Fri Apr 29, 2022 6:46 am

(SOLVED) Component parameter not preserved

Post by -Tom-Tom- »

I modeled this connector. All seems good.

Image

If I save this project as *.zofzproj, close ZofzPCB, and open this file, „Left180“ was not saved. (I have sent the file via email as VISION_AMP3251_v3.8.zofzproj )

Image
User avatar
Zofz
Site Admin
Posts: 87
Joined: Wed Apr 20, 2022 10:13 pm
Location: Cologne, Germany

Re: Component parameter not preserved

Post by Zofz »

OK, done (version above 2.0.0.12)
But it has consequences;
The problem was a simple bug, also affecting the .camset file.
In testing, I have discovered that some component model rotation was done by rotating pins (and body elements) instead of rotating the whole component. This was due to keeping the pin numbers/names in place.
In other words, if you are using a body-builder and rotate the component later, the body could be rotated differently (e.g., not rotated).
Now, the model is joined before rotation.
Affected components are of symmetrical shapes, like headers and IDC connectors. Those components have a rotation model parameter.
(I still need to do some testing, checking other possible component models.)
The consequence of this fix is that, in some cases, you will need to change the sign of body elements' coordinates.
Post Reply