-
Notifications
You must be signed in to change notification settings - Fork 869
Suppression of views in New Parts 8000 Editor #4214
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
Comments
What do you mean by "suppress view" ? |
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 |
Breadboards have a specific implementation in Fritzing. For regular parts, this is not intended. |
Yes but there are some parts that need pcb view to be suppressed (as they cannot be mounted on a pcb board…) |
What do you mean by "Breadboard Image" part. |
There is a core part called breadboard image. |
OK! Also sorry for unclear info earlier. So like for this part here 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 |
He is basically asking for a parts editor option to reuse breadboard view as the pcb view renderer like this
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.) |
While I'm not really sure, I think what he is asking for an option to do this in the fzp file from the parts editor with a tick box. Basically suppress the pcb view by replacing it with the breadboard view (which has the effect of creating a blank pcb view and is something I often do by editing the fzp file.) That is what I did for him in this case to suppress the pcb view and I think what he is requesting. Fritzing appears to need a renderer for pcb view so you can't just delete the pcb section, but it recognizes that it shouldn't render the breadboard view in pcb and thus leaves it blank without complaining as it does when pcb view is deleted.
replaced by this
which will produce a blank pcb view for the part. |
Yes that’s what I need. I’ll attach an illustration later once I get home |
@KjellMorgenstern So basically ticking this checkbox it'll change the .fzp file from <views>
<iconView>
<layers image="icon/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_icon.svg">
<layer layerId="icon"/>
</layers>
</iconView>
<breadboardView>
<layers image="breadboard/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_breadboard.svg">
<layer layerId="breadboard"/>
</layers>
</breadboardView>
<schematicView>
<layers image="schematic/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_schematic.svg">
<layer layerId="schematic"/>
</layers>
</schematicView>
<pcbView>
<layers image="pcb/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_pcb.svg">
<layer layerId="silkscreen"/>
<layer layerId="copper0"/>
<layer layerId="copper1"/>
</layers>
</pcbView>
</views> to <views>
<iconView>
<layers image="icon/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_icon.svg">
<layer layerId="icon"/>
</layers>
</iconView>
<breadboardView>
<layers image="breadboard/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_breadboard.svg">
<layer layerId="breadboard"/>
</layers>
</breadboardView>
<schematicView>
<layers image="schematic/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_schematic.svg">
<layer layerId="schematic"/>
</layers>
</schematicView>
<pcbView>
<layers image="breadboard/prefix0000_0d35483fbd5d2862c6e9d1474958a60c_1_breadboard.svg">
<layer layerId="breadboard"/>
</layers>
</pcbView>
</views> and when this checkbox is ticked, it changes the .fzp file from <connector id="connector0" name="pin1" type="male">
<description>pin 1</description>
<views>
<breadboardView>
<p layer="breadboard" svgId="connector0pin" terminalId="connector0terminal"/>
</breadboardView>
<schematicView>
<p layer="schematic" svgId="connector0pin" terminalId="connector0terminal"/>
</schematicView>
<pcbView>
<p layer="copper0" svgId="connector0pin"/>
<p layer="copper1" svgId="connector0pin"/>
</pcbView>
</views>
</connector> to <connector id="connector0" name="pin1" type="m
8325
ale">
<description>pin 1</description>
<views>
<breadboardView>
<p layer="breadboard" svgId="connector0pin" terminalId="connector0terminal"/>
</breadboardView>
<schematicView>
<p layer="schematic" svgId="connector0pin" terminalId="connector0terminal"/>
</schematicView>
<pcbView>
</pcbView>
</views>
</connector> |
@KjellMorgenstern Any updates? |
Uh oh!
There was an error while loading. Please reload this page.
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”
The text was updated successfully, but these errors were encountered: