Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom part with family "Generic IC" doesn't flip correctly in schematic view #4127

Open
vanepp opened this issue Mar 9, 2024 · 0 comments
Milestone

Comments

@vanepp
Copy link
Contributor

vanepp commented Mar 9, 2024

Current Behaviour

Load part (after removing the trailing .zip) in to Fritzing

5V RELAY 2.0-fixed.fzpz.zip

schematic view of loaded part is correct

bug

save the sketch as bug1.fzz.zip

bug1.fzz.zip

then exit fritzing without saving the loaded parts then reload the saved sketch, schematic is still correct.

bug1

now in schematic view select the part and flip horizontal then save the sketch to

bug2.fzz.zip

then exit fritzing and reload bug2.fzz. In schematic and the part is corrupted. The text appears to have moved 0.1in right in relation to the part.

bug2

It will now stay this way when the part is flipped horizontal again or saved to the .fzz file again which appears to be a bug.

bug3

If the family in the .fzp file is changed from

<properties>
  <property name="family">Generic IC</property>
  <property name="package">DIP (Dual Inline) [THT]</property>
  <property name="pins">6</property>
  <property name="pin spacing">300mil</property>
  <property name="chip label">5V RELAY</property>
  <property name="hole size"></property>
  <property name="editable pin labels">false</property>
  <property name="layer"></property>
  <property name="part number"></property>
  <property name="variant">variant 9</property>
 </properties>

to

<properties>
    <property name="family">5V relay</property>
    <property name="package">DIP (Dual Inline) [THT]</property>
    <property name="pins">6</property>
    <property name="pin spacing">300mil</property>
    <property name="chip label">5V RELAY</property>
    <property name="hole size"/>
    <property name="editable pin labels">false</property>
    <property name="layer"/>
    <property name="part number"/>
    <property name="variant">variant 9</property>
  </properties>

as in this part

5V RELAY 2.0-fixed-better.fzpz.zip

the part works correctly, indicating the parts factory code is probably causing the problem when it processes the family name.

Build:

Version 1.0.2
(bCD-1901-0-dbdbe34c 2023-12-20) 64 [Qt 6.5.3]

Operating System:
Windows 10

Steps to reproduce:

see Current Behaviour

Expected Behaviour

The part should flip horizontal correctly even if the family is Generic IC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants