buixuanan / fritzing

Automatically exported from code.google.com/p/fritzing
0 stars 0 forks source link

Crash: Parts Editor can't deal with separate copper0 and copper1 layers in my (new created) USB-ISS device #2827

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fritzing version 2013.12.15.pc on windows7 system.
2. Opening of the new part editor with my current designed part.
3. Saving makes fritzing chrashing.

See my new created file. There is a problem with the PCB version of the device. 
I don't know how to correct this.

When I open the file and right-click on the USB-ISS and try to edit the PCB I 
get a SVG problem: "This version of the new Parts Editor can not deal with 
separate copper0 and copper1 layers in 
'C:/Users/Casper/AppData/Roaming/Fritzing/parts/svg/user/pcb/USB-ISS_2773e765ed9
15925cfe202f827134152_2_pcb.svg'. So editing may produce an invalid PCB view 
image"

The component can be opened in the new part editor but then I cannot replace 
the SVG file without fritzing stops working.

The next message is that Fritzing may have crashed. And I can select a file to 
recover. (I don't know what to do with this)

How can I modify the footprint to see the direction of the USB-connector 
whitout these errors? (I'm new with fritzing and trying to construct my own 
components)

Regards,
Casper

Original issue reported on code.google.com by cvds...@gmail.com on 17 Dec 2013 at 2:43

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for the belated response--I was on holiday. 

I don't have the original pcb image, but looking at the one included in the 
fzpz file I would guess the origin files looks something like:

        <g id="copper0">
            <circle fill="none" .../>
            ...
        </g>
        <g id="copper1">
            <circle fill="none" .../>
            ...
        </g>

If you open the original file in a text editor, you can combine those two 
sections together like so:

        <g id="copper0">
            <g id="copper1">
                <circle fill="none" .../>
                 ...
            </g>
        </g>

That all being said, this looks like a pin header with 6 pins. Since you are a 
newbie, perhaps you didn't realize that you can drag a pin header part from the 
Core Parts Bin onto your sketch, then use the Inspector to give it 6 pins, 
change the spacing, etc. No need to make a custom part. Later on, you might 
look at the generic IC part, which gives you similar kinds of flexibility for 
DIPs, etc.

Bumping up the priority, since there is a crash involved. 

Original comment by irasc...@gmail.com on 1 Jan 2014 at 5:04

GoogleCodeExporter commented 9 years ago
Issue has moved to new issue tracker at github. Please continue the discussion 
at https://github.com/fritzing/fritzing-app/issues

Original comment by andre.knoerig@gmail.com on 23 Sep 2014 at 3:42