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

Suppression of views in New Parts Editor #4214

Open
RAPTOR7762 opened this issue Jan 12, 2025 · 9 comments
Open

Suppression of views in New Parts Editor #4214

RAPTOR7762 opened this issue Jan 12, 2025 · 9 comments

Comments

@RAPTOR7762
Copy link

RAPTOR7762 commented Jan 12, 2025

Problem
To me it is a bit troublesome to edit the .fzp file to suppress a view and zip the .fzp file and .svg files back into the .fzpz file

Proposed Solution
Can put checkboxes in individual views that says “suppress view”

@KjellMorgenstern
Copy link
Member

What do you mean by "suppress view" ?

@RAPTOR7762
Copy link
Author

RAPTOR7762 commented Jan 12, 2025

So taking a breadboard for example, the part will not appear in schematic and pcb views

Linking back to the “suppress view” checkbox function, the part will not appear in that specific view (e.g. pcb view) when checked

@KjellMorgenstern
Copy link
Member

Breadboards have a specific implementation in Fritzing. For regular parts, this is not intended.

@RAPTOR7762
Copy link
Author

RAPTOR7762 commented Jan 12, 2025

Yes but there are some parts that need pcb view to be suppressed (as they cannot be mounted on a pcb board…)

@KjellMorgenstern
Copy link
Member

KjellMorgenstern commented Jan 12, 2025

If it doesn't have an electric connection, you can simply use the "Breadboard Image" part.

If it does have an electric connection, you should choose a typical connector, even if the part is not directly mounted to the PCB. Examples:

The parts is heat sensitive, and should be not directly soldiered on. Therefore it comes with a M40-1100300 connector.
To integrate it in Fritzing (and because Fritzing doesn't yet have a "cable" feature), it has a standard 3 pin header footprint.
image
image

@RAPTOR7762
Copy link
Author

What do you mean by "Breadboard Image" part.

@KjellMorgenstern
Copy link
Member

There is a core part called breadboard image.

@RAPTOR7762
Copy link
Author

RAPTOR7762 commented Jan 29, 2025

OK! Also sorry for unclear info earlier. So like for this part here
https://forum.fritzing.org/t/433mhz-wireless-remote-control-switch-dc-12v-10a-rf/26354/7

After much difficulty, I gave up in suppressing the pcb view. With the help of @vanepp I suppressed PCB view (as you can't possibly mount it on a pcb board). So it may be easier to just have a checkbox to suppress a view

@vanepp
Copy link
Contributor

vanepp commented Feb 1, 2025

He is basically asking for a parts editor option to reuse breadboard view as the pcb view renderer like this

<pcbView> <layers image="breadboard/fc-51_breadboard.svg"> <layer layerId="breadboard"/> </layers> </pcbView>

because you need a renderer in pcb (Fritzing will error if you just delete the pcbView field in the .fzp file.) This creates a part with a blank pcb view (as the breadboard view won't render in pcb) which creates the desired effect. Basically he is asking for this to be a select box in parts editor (editing the fzp file is the only current way I know to do this.)

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

No branches or pull requests

3 participants