Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Eeli Kaikkonen
On Sun, Feb 16, 2020 at 1:47 AM Jeff Young wrote: > Pasting creates new timestamps. So copy/paste works fine, there’s just no > way to do a unified copy/paste between eeschema *and* pcbnew. > Yes, copy/paste in pcbnew works, there's no bug there. But the question is: is it really useful that

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Wayne Stambaugh
On 2/15/20 6:40 PM, Brian Piccioni wrote: > I guess I'd wonder then why provide Copy and Paste/Duplicate if the > result is not usable? We should be ensuring unique time stamps when pasting footprints to ensure any back annotation to the schematic is not corrupt. > > It seems like a sort of

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Brian Piccioni
I'd like a head's up when UUID is implemented as a lot of my code is based on timestamps as unique IDs. On 2020-02-15 6:47 p.m., Jeff Young wrote: Pasting creates new timestamps.  So copy/paste works fine, there’s just no way to do a unified copy/paste between eeschema *and* pcbnew. The

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Brian Piccioni
I see. So the approach to duplicating a section would be 1) Copy the design in eeschema 2) in eeSchema push to PCBNew 3) Layout a single section. 4) Copy and paste that section 5) Re-annotate the PCB section (this works now!) without pushing to schematic so the references correspond to the

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Jeff Young
Pasting creates new timestamps. So copy/paste works fine, there’s just no way to do a unified copy/paste between eeschema *and* pcbnew. The timestamps are moving to UUIDs as we speak. The links are reset/updated when you do an Update PCB from Schematic and chose the “re-associate by

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Brian Piccioni
I guess I'd wonder then why provide Copy and Paste/Duplicate if the result is not usable? It seems like a sort of honey pot. On 2020-02-15 6:34 p.m., Eeli Kaikkonen wrote: On Sun, Feb 16, 2020 at 1:20 AM Brian Piccioni mailto:br...@documenteddesigns.com>> wrote: I think optionally

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Eeli Kaikkonen
On Sun, Feb 16, 2020 at 1:20 AM Brian Piccioni wrote: > I think optionally removing the path might be a good idea - or, simply > removing it from duplicated/pasted footprints. Of course I am probably > missing something. > > Brian > You can't backannotate something which doesn't have the "path".

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Brian Piccioni
Eeli Thanks for the explanation. I suspect it will need a re-think - or at least some modification. I am almost finished the "to do" list for geographic re-annotation. One thing that occurred to me is that the "re-annotate selected" would be very useful for duplicating design elements. For

Re: [Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Eeli Kaikkonen
It's the symbol ID from the schematic. This defines the connection between the symbol in the schematic file and the footprint in the layout file. Indeed I have intended to ask about copying this in pcbnew. There's no way to change (remove) it in pcbnew. Once a footprint is pasted or duplicated

[Kicad-developers] What does /path do in PCBNew files?

2020-02-15 Thread Brian Piccioni
Hello In the "Kicad File Formats" PDF (and in KicadPCB files) there is (path /5127A011)  where the number after the slash usually changes. I don't see any where this field is described in the documentation. It seems that if I copy and past a symbol in PCBNew the "(path /" field is

Re: [Kicad-developers] Internal units in the KiCAD source code

2020-02-15 Thread Wayne Stambaugh
The plotting dimensions can be an option in the plot dialog. I don't want to force the plot units one way or the other. On 2/14/20 6:30 AM, Johannes Pfister wrote: > What about changing the plotter and page_info classes to metric? Like > changing GetSizeMils() to GetSizeUM(), m_IUsPerDecimil to