Mmm.. when I tested.. On loading kicad complained, then when I continued with the loading it sorted itself out. The libs were all updated. The netlist file I did not worry about, As the required aim was to save the project so that it could be modified and reused, the .net file would be regenerated anyway. (It is, I've just checked) Good point to remeber 'tho It would be better if a copy project was in the main system rather than messing about like this. the process must be there as it's pretty much what the templates do. Andy On Tue, 17 Dec 2019 09:02:12 -0800 send_no_hormel@... wrote: Andy, KiCAD makes reference to other files WITHIN some of the files in a project.? Merely renaming the files in the directory will not work (consistently at least).
Assuming a *nix type system, within a project directory, with say a project named "Simple PWM", you can do something like:
grep -i "Simple PWM" *
README.txt:Simple PWM driver. Simple PWM.net:??? (source "/some_path/proj/kicad/Simple PWM/Simple PWM.sch") Simple PWM.net:??????? (source "Simple PWM.sch") Simple PWM.sch:LIBS:Simple PWM-cache Simple PWM.sch-bak:LIBS:Simple PWM-cache
In a more complex project, there can be a lot more file references.? Note the readme above is a file I create with some notes on a design, it isn't part of KiCAD.
Those references can be fixed with an invocation of sed.
I use git, it's handy for: * making backups * enable access to projects from other workstations (as I push the repo to a server) * revision control (both tracking the changes, but documenting them as well) - this is like uber-undo if you want to do major changes to a design (whereas in-app undo goes away between invocations). * branch (yea, make an alternate version of a project) * visualize what has changed in a design (since the files are text based) * keep custom footprints in sync with the projects that use them. * enabling other people to make changes/contributions to your project * etc.
git is useful for managing server configuration files, journal documents, etc.? It's not just about source code.
Oh, you can also use git to search for parts/references across multiple designs.? 'git grep' is a wondrous thing.? "hrm, what else have I used XYZ in?? I seem to recall some filter/whatever circuit in conjunction..."
|
Andy, KiCAD makes reference to other files WITHIN some of the files in a project.? Merely renaming the files in the directory will not work (consistently at least).
Assuming a *nix type system, within a project directory, with say a project named "Simple PWM", you can do something like:
grep -i "Simple PWM" *
README.txt:Simple PWM driver. Simple PWM.net:??? (source "/some_path/proj/kicad/Simple PWM/Simple PWM.sch") Simple PWM.net:??????? (source "Simple PWM.sch") Simple PWM.sch:LIBS:Simple PWM-cache Simple PWM.sch-bak:LIBS:Simple PWM-cache
In a more complex project, there can be a lot more file references.? Note the readme above is a file I create with some notes on a design, it isn't part of KiCAD.?
Those references can be fixed with an invocation of sed.
I use git, it's handy for: ? * making backups ? * enable access to projects from other workstations (as I push the repo to a server) ? * revision control (both tracking the changes, but documenting them as well) - this is like uber-undo if you want to do major changes to a design (whereas in-app undo goes away between invocations). ? * branch (yea, make an alternate version of a project) ? * visualize what has changed in a design (since the files are text based) ? * keep custom footprints in sync with the projects that use them. ? * enabling other people to make changes/contributions to your project ? * etc.
git is useful for managing server configuration files, journal documents, etc.? It's not just about source code.
Oh, you can also use git to search for parts/references across multiple designs.? 'git grep' is a wondrous thing.? "hrm, what else have I used XYZ in?? I seem to recall some filter/whatever circuit in conjunction..."
|
Thanks Andy. ? I have done this -- I am perhaps over cautious as some products that I use put internal directory trees into the files and this can create problems but apparently-so far-not an issue here. I delete most of the generates files like netlist and just rerun it from the new directory.
thanks fritz
toggle quoted message
Show quoted text
On 12/16/2019 8:55 PM, Andy Eskelson wrote: A one liner will do the job usually.
here is a simple example:
I have a directory containing a project LM386-AFamp I copy this directory to LM386-AFamp2 using the file manager or the shell cd into the directory
ls -al
and you will see something like
(user info removed)
AF-AMP-LM386.bak AF-AMP-LM386-cache.lib AF-AMP-LM386.kicad_pcb AF-AMP-LM386.kicad_pcb-bak AF-AMP-LM386.net AF-AMP-LM386.pro AF-AMP-LM386-rescue.lib AF-AMP-LM386.sch AF-AMP-LM386.sch-bak fp-info-cache rescue-backup sym-lib-table
run the command
find -name "AF-AMP*" -exec rename AF-AMP AF-AMP2 {} \;
ls -al (again)
AF-AMP2-LM386.bak AF-AMP2-LM386-cache.lib AF-AMP2-LM386.kicad_pcb AF-AMP2-LM386.kicad_pcb-bak AF-AMP2-LM386.net AF-AMP2-LM386.pro AF-AMP2-LM386-rescue.lib AF-AMP2-LM386.sch AF-AMP2-LM386.sch-bak fp-info-cache rescue-backup sym-lib-table
and you can see that the names have all been changed to match the rescue-directory can be deleted I think and it will be recreated on the first edit.
obviously you can develop this into a little shell batch command if you want, but I just cut and paste it from my notebook into a shell and edit as needed.
Note that this is NOT error checked, and you need to ensure that you are in the directory that you want to operate on....
Hope this helps
Andy .
On Sun, 15 Dec 2019 17:56:34 +0100 "Pierre-Raymond Rondelle" <pierreraymondrondelle@...> wrote:
Open a command prompt and write a batch that will do it automatically.
On 15.12.19 14:17, fritz wrote: OK and thanks all for your comments on this.
Apparently the final answer is the one cannot just click "save as" to a different name and be done with it.
Fritz
On 12/15/2019 4:29 AM, Lev wrote: I use git and branches.
On Sun, Dec 15, 2019, 08:52 ng10066504jan via Groups.Io <ng10066504jan@...> wrote: Fritz said "I want to make a duplicate of a complete project."
My "answer" has worked fine for me, for many years, using Windows.
I am blessed with the initials "TKB". I say "blessed" because since 1968, those letters do not seem to have been used for other things.
Thus I can create a folder called KiCadTKB, and know that it is "MyKiCad"... and actually MY stuff, not a folder created by the system.
Within that, I create a "meta folder" for every project. (And every project has a short-form name, e.g. "PCB274". The Meta-folder name will usually have some additional hints as to what the project is for, e.g. "PCB274-quad optocoupler for level shifting" because PCB274 was a breakout to provide 4 channels of opto isolation to convert some 12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274. That will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary comes-with-Windows file manager, "File Explorer". (I can do all of the following mid-session, without shutting down KiCad. I need to have saved (from within KiCad) any open files.) I right-click on the PCB274 file. Select "Copy". Right-click on a blank part of "PCB274-quad optocoupler for level shifting"' window. Select "Paste". That gives me my duplicate of my project, named "PCB274-Copy" for the moment. I would change the name to something like "PCB274BU19b22-1405", if the backup were made in 2019, November (a/b/c for Oct/Nov/Dec, so month is always a single character), 5th day, at 2:05pm.
If the backup stores the project in the state it was in when I posted it online, or set it to OSHPark.com who make my PCBs, then that would be indicated in the name after the datestamp.
It Just Works. (And the same approach works in many contexts. A few... Arduino... are fussy about the name of the lowest level "container" folder, but renaming it back to what it was is simple enough, if you need to revert to a backup. Or you can add an extra layer of folders, to have "Ardu 384BU19b22-1405" hold just a folder "Ardu384", with the project in THAT.)
|
A one liner will do the job usually. here is a simple example: I have a directory containing a project LM386-AFamp I copy this directory to LM386-AFamp2 using the file manager or the shell cd into the directory ls -al and you will see something like (user info removed) AF-AMP-LM386.bak AF-AMP-LM386-cache.lib AF-AMP-LM386.kicad_pcb AF-AMP-LM386.kicad_pcb-bak AF-AMP-LM386.net AF-AMP-LM386.pro AF-AMP-LM386-rescue.lib AF-AMP-LM386.sch AF-AMP-LM386.sch-bak fp-info-cache rescue-backup sym-lib-table run the command find -name "AF-AMP*" -exec rename AF-AMP AF-AMP2 {} \; ls -al (again) AF-AMP2-LM386.bak AF-AMP2-LM386-cache.lib AF-AMP2-LM386.kicad_pcb AF-AMP2-LM386.kicad_pcb-bak AF-AMP2-LM386.net AF-AMP2-LM386.pro AF-AMP2-LM386-rescue.lib AF-AMP2-LM386.sch AF-AMP2-LM386.sch-bak fp-info-cache rescue-backup sym-lib-table and you can see that the names have all been changed to match the rescue-directory can be deleted I think and it will be recreated on the first edit. obviously you can develop this into a little shell batch command if you want, but I just cut and paste it from my notebook into a shell and edit as needed. Note that this is NOT error checked, and you need to ensure that you are in the directory that you want to operate on.... Hope this helps Andy . On Sun, 15 Dec 2019 17:56:34 +0100 "Pierre-Raymond Rondelle" <pierreraymondrondelle@...> wrote: Open a command prompt and write a batch that will do it automatically.
On 15.12.19 14:17, fritz wrote: OK and thanks all for your comments on this.
Apparently the final answer is the one cannot just click "save as" to a different name and be done with it.
Fritz
On 12/15/2019 4:29 AM, Lev wrote: I use git and branches.
On Sun, Dec 15, 2019, 08:52 ng10066504jan via Groups.Io <ng10066504jan@...> wrote: Fritz said "I want to make a duplicate of a complete project."
My "answer" has worked fine for me, for many years, using Windows.
I am blessed with the initials "TKB". I say "blessed" because since 1968, those letters do not seem to have been used for other things.
Thus I can create a folder called KiCadTKB, and know that it is "MyKiCad"... and actually MY stuff, not a folder created by the system.
Within that, I create a "meta folder" for every project. (And every project has a short-form name, e.g. "PCB274". The Meta-folder name will usually have some additional hints as to what the project is for, e.g. "PCB274-quad optocoupler for level shifting" because PCB274 was a breakout to provide 4 channels of opto isolation to convert some 12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274. That will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary comes-with-Windows file manager, "File Explorer". (I can do all of the following mid-session, without shutting down KiCad. I need to have saved (from within KiCad) any open files.) I right-click on the PCB274 file. Select "Copy". Right-click on a blank part of "PCB274-quad optocoupler for level shifting"' window. Select "Paste". That gives me my duplicate of my project, named "PCB274-Copy" for the moment. I would change the name to something like "PCB274BU19b22-1405", if the backup were made in 2019, November (a/b/c for Oct/Nov/Dec, so month is always a single character), 5th day, at 2:05pm.
If the backup stores the project in the state it was in when I posted it online, or set it to OSHPark.com who make my PCBs, then that would be indicated in the name after the datestamp.
It Just Works. (And the same approach works in many contexts. A few... Arduino... are fussy about the name of the lowest level "container" folder, but renaming it back to what it was is simple enough, if you need to revert to a backup. Or you can add an extra layer of folders, to have "Ardu 384BU19b22-1405" hold just a folder "Ardu384", with the project in THAT.)
|
I occasionally do this type of thing with jumpers etc.? But it is
just too simple to click "save as", shut down the lab and head for
the local tavern (;->
? ? I am rather surprised that I would need to? invoke some
additional software or add more clutter to my boards just to avoid a
simple "save as" command. Not sure what the philosophy was here but
then I am not a computer guy and my software skills date to the time
of wire boards and the UNIVAC so I am probably just showing my age
and not adopting new ways.?
? At any rate I respect what KiCad developers have accomplished and
will continue to pursue it without the famous "save as" button. The
bigger dragon I am trying to slay is how to move 100 pin parts a few
mm without having to redraft all 100 pin connections. I guess it
cannot be done.
regards-
Fritz (AA2OP)
On 12/16/2019 9:56 AM, ng10066504jan
via Groups.Io wrote:
toggle quoted message
Show quoted text
"Divide and conquer" pays
lots of dividends. Is there no way to modify your design so
that ONE board can serve all of those clients, with just a few
configuration links to set differently? I'd certainly look
hard for an answer along those lines.
When I spoke of "divide", I
meant divide the system up, put the "seams" in places that
allow some modules to be shared by systems which, overall,
have different functions/ behaviors.
Tom
Help for beginners, "Getting
started" recently overhauled...
I will look at git. I thought it was a version
control facility. I am not interested in versions. I
just need to clone a project so I can change certain
features--I often have 2 or 3 almost identical boards
that but using different processors depending on the
research group that I am working with for example--or
maybe each has a different connector depending the
equipment to be interfaced.??? Each of these are named
by the processor that they use and they are in their own
folders--often on different servers planted with the
research group. Not sure if git is meant for this--with
other CADs "save as" does this--very simply.
Thanks
Fritz
On
12/15/2019 5:47 AM, grauseba via Groups.Io wrote:
I can only second the combination of KiCAD and git.
Especially handy with the WireIt 3rd party plug-ins
and submodules!?
I use git and branches.
On Sun, Dec 15, 2019, 08:52
ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to
make a duplicate of a complete project."
My "answer" has worked fine
for me, for many years, using Windows.
I am blessed with the
initials "TKB". I say "blessed" because
since 1968, those letters do not seem to
have been used for other things.
Thus I can create a folder
called KiCadTKB, and know that it is
"MyKiCad"... and actually MY stuff, not a
folder created by the system.
Within that, I create a "meta
folder" for every project. (And every
project has a short-form name, e.g.
"PCB274". The Meta-folder name will
usually have some additional hints as to
what the project is for, e.g. "PCB274-quad
optocoupler for level shifting" because
PCB274 was a breakout to provide 4
channels of opto isolation to convert some
12v digital signals to Arduino-friendly
levels.
Within that, a folder called
PCB274. That will be my "latest, greatest"
version of the board.
From time to time, I go into
the ordinary comes-with-Windows file
manager, "File Explorer". (I can do all of
the following mid-session, without
shutting down KiCad. I need to have saved
(from within KiCad) any open files.) I
right-click on the PCB274 file. Select
"Copy". Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window.
Select "Paste". That gives me my
duplicate of my project, named
"PCB274-Copy" for the
moment. I would change the name
to something like "PCB274BU19b22-1405", if
the backup were made in 2019, November
(a/b/c for Oct/Nov/Dec, so month is always
a single character), 5th day, at 2:05pm.
If the backup stores the
project in the state it was in when I
posted it online, or set it to OSHPark.com
who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same
approach works in many contexts. A few...
Arduino... are fussy about the name of the
lowest level "container" folder, but
renaming it back to what it was is simple
enough, if you need to revert to a backup.
Or you can add an extra layer of folders,
to have "Ardu 384BU19b22-1405"
hold just a folder "Ardu384", with the
project in THAT.)
|
"Divide and conquer" pays lots of dividends. Is there no way to modify your design so that ONE board can serve all of those clients, with just a few configuration links to set differently? I'd certainly look hard for an answer along those lines.
When I spoke of "divide", I meant divide the system up, put the "seams" in places that allow some modules to be shared by systems which, overall, have different functions/ behaviors.
Tom
Help for beginners, "Getting started" recently overhauled... https://KiCadHowTo.org
On Sunday, 15 December 2019, 23:59:17 GMT, fritz <fsonnichsen@...> wrote:
I will look at git. I thought it was a version control facility. I
am not interested in versions. I just need to clone a project so I
can change certain features--I often have 2 or 3 almost identical
boards that but using different processors depending on the research
group that I am working with for example--or maybe each has a
different connector depending the equipment to be interfaced.???
Each of these are named by the processor that they use and they are
in their own folders--often on different servers planted with the
research group. Not sure if git is meant for this--with other CADs
"save as" does this--very simply.
Thanks
Fritz
On 12/15/2019 5:47 AM, grauseba via
Groups.Io wrote:
I can only second the combination of KiCAD and
git. Especially handy with the WireIt 3rd party plug-ins and
submodules!?
toggle quoted message
Show quoted text
I use git and branches.
On Sun, Dec 15, 2019,
08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me, for
many years, using Windows.
I am blessed with the initials "TKB". I
say "blessed" because since 1968, those letters do
not seem to have been used for other things.
Thus I can create a folder called
KiCadTKB, and know that it is "MyKiCad"... and
actually MY stuff, not a folder created by the
system.
Within that, I create a "meta folder"
for every project. (And every project has a
short-form name, e.g. "PCB274". The Meta-folder name
will usually have some additional hints as to what
the project is for, e.g. "PCB274-quad optocoupler
for level shifting" because PCB274 was a breakout to
provide 4 channels of opto isolation to convert some
12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274.
That will be my "latest, greatest" version of the
board.
From time to time, I go into the
ordinary comes-with-Windows file manager, "File
Explorer". (I can do all of the following
mid-session, without shutting down KiCad. I need to
have saved (from within KiCad) any open files.) I
right-click on the PCB274 file. Select "Copy".
Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my project,
named "PCB274-Copy" for
the moment. I would change the name to
something like "PCB274BU19b22-1405", if the backup
were made in 2019, November (a/b/c for Oct/Nov/Dec,
so month is always a single character), 5th day, at
2:05pm.
If the backup stores the project in the
state it was in when I posted it online, or set it
to OSHPark.com who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same approach
works in many contexts. A few... Arduino... are
fussy about the name of the lowest level "container"
folder, but renaming it back to what it was is
simple enough, if you need to revert to a backup. Or
you can add an extra layer of folders, to have "Ardu
384BU19b22-1405" hold just a folder
"Ardu384", with the project in THAT.)
|
Well, this is a typical use case of a version control system.
BR and amrry XMAS, Levente
toggle quoted message
Show quoted text
I will look at git. I thought it was a version control facility. I
am not interested in versions. I just need to clone a project so I
can change certain features--I often have 2 or 3 almost identical
boards that but using different processors depending on the research
group that I am working with for example--or maybe each has a
different connector depending the equipment to be interfaced.???
Each of these are named by the processor that they use and they are
in their own folders--often on different servers planted with the
research group. Not sure if git is meant for this--with other CADs
"save as" does this--very simply.
Thanks
Fritz
On 12/15/2019 5:47 AM, grauseba via
Groups.Io wrote:
I can only second the combination of KiCAD and
git. Especially handy with the WireIt 3rd party plug-ins and
submodules!?
I use git and branches.
On Sun, Dec 15, 2019,
08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me, for
many years, using Windows.
I am blessed with the initials "TKB". I
say "blessed" because since 1968, those letters do
not seem to have been used for other things.
Thus I can create a folder called
KiCadTKB, and know that it is "MyKiCad"... and
actually MY stuff, not a folder created by the
system.
Within that, I create a "meta folder"
for every project. (And every project has a
short-form name, e.g. "PCB274". The Meta-folder name
will usually have some additional hints as to what
the project is for, e.g. "PCB274-quad optocoupler
for level shifting" because PCB274 was a breakout to
provide 4 channels of opto isolation to convert some
12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274.
That will be my "latest, greatest" version of the
board.
From time to time, I go into the
ordinary comes-with-Windows file manager, "File
Explorer". (I can do all of the following
mid-session, without shutting down KiCad. I need to
have saved (from within KiCad) any open files.) I
right-click on the PCB274 file. Select "Copy".
Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my project,
named "PCB274-Copy" for
the moment. I would change the name to
something like "PCB274BU19b22-1405", if the backup
were made in 2019, November (a/b/c for Oct/Nov/Dec,
so month is always a single character), 5th day, at
2:05pm.
If the backup stores the project in the
state it was in when I posted it online, or set it
to OSHPark.com who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same approach
works in many contexts. A few... Arduino... are
fussy about the name of the lowest level "container"
folder, but renaming it back to what it was is
simple enough, if you need to revert to a backup. Or
you can add an extra layer of folders, to have "Ardu
384BU19b22-1405" hold just a folder
"Ardu384", with the project in THAT.)
|
Re: Via Processing Questions
Yep. This not a real project of course but just a test example I set up. I think it all makes sense--I am just getting used to kicad's way of doing things. ??? I worked with other electronics CADs in the past but they have flaws ranging from cost to lack of gerber files. Having the KiCad documents all in a couple of PDFs is great--at least the info is not spread out all over the place like some mechanical drafting packages ive use!
cheers Fritz
toggle quoted message
Show quoted text
On 12/16/2019 4:35 AM, Pedro Mart¨ªn via Groups.Io wrote: Hi Fritz,
It is a very simple project. Even deleting the vias and their connected tracks there are no DRC errors since? all nets are connected and there aren't any clearance or overlap errors.
Cheers, Pedro.
El 15/12/19 a las 15:11, fritz escribi¨®:
Thanks Pedro- ??? the ratsnest indeed disappears. So I think your comments make sense-there is no way for the program to predict if I was assuming a zone. ?? ? I have attached a zip of the design (not a serious design! just for this test) Cheers Fritz
On 12/15/2019 4:52 AM, Pedro Mart¨ªn via Groups.Io wrote:
Hi Fritz,
Do all lines of the ratsnet dissapear?
I think the connecting part of the DRC doesn't mind if the nets are connected by vias, zones or tracks. It just check if all nets are connected. The algorithm doesn't know if you want to connect a via to a zone or you want a via only to change layer and continue the routing on the new layer.
A floating via should raise an error if the net is not fully connected at other part of the layout.
If you want/can share your project I can take a look to it.
Cheers, Pedro.
El 14/12/19 a las 15:36, fritz escribi¨®:
Pedro ??? after pressing "run DRC" I get a 0 in "unconnected items". There is a "list unconnected" button but I assume the aforementioned action already has done this. At any rate if I press it nothing happens. ??? Here is what I have: ??????? some components which have pins associated with 3.3V and GND. ??????? two vias that are associated with 3.3V and GND ??????? connections of the mentioned pins to the appropriate vias ??????? No zones are defined yet. ??????? when I do the DRC check it does not raise and error saying something like "vias not connected to zone".
So I understand your last comment. I guess the vias can be left "floating" after all but this would be an error. I just have to be careful not to do this.
Thank you for your attention here- Fritz
On 12/13/2019 2:26 AM, Pedro Mart¨ªn via Groups.Io wrote:
Hi Fritz,
Have you paid attention to the "List Unconnected" option? If all the pads of the schematic (or of the netlist if you create a netlist witout schematic) are connected, the DRC will not complain. I understood you created the zones and didn't connect them to any track of the circuit.
Maybe you meant you didn't create the zones. The inner zones can be used for normal routing tracks too, or even left void. So the DRC doesn't see a violation of therules.
Regards, Pedro.
El 13/12/19 a las 2:52, fritz escribi¨®:
I am new to KiCad, (I've used other cads in the past). I am trying to set up a 4 layer board with the 2 internal layers set to power and ground and components on the F.Cu and B.Cu layers having some interconnections. ---I noted that when I accidentally forgot to set the copper zone on the inner planes it still passed DRC. Shouldn't this raise a flag? (I am certain to forget again in the future!!)
Thanks Fritz
|
Re: Via Processing Questions
Hi Fritz,
It is a very simple project. Even deleting the vias and their connected tracks there are no DRC errors since all nets are connected and there aren't any clearance or overlap errors.
Cheers, Pedro.
toggle quoted message
Show quoted text
El 15/12/19 a las 15:11, fritz escribi¨®: Thanks Pedro- ?? the ratsnest indeed disappears. So I think your comments make sense-there is no way for the program to predict if I was assuming a zone. ? ? I have attached a zip of the design (not a serious design! just for this test) Cheers Fritz On 12/15/2019 4:52 AM, Pedro Mart¨ªn via Groups.Io wrote:
Hi Fritz,
Do all lines of the ratsnet dissapear?
I think the connecting part of the DRC doesn't mind if the nets are connected by vias, zones or tracks. It just check if all nets are connected. The algorithm doesn't know if you want to connect a via to a zone or you want a via only to change layer and continue the routing on the new layer.
A floating via should raise an error if the net is not fully connected at other part of the layout.
If you want/can share your project I can take a look to it.
Cheers, Pedro.
El 14/12/19 a las 15:36, fritz escribi¨®:
Pedro ??? after pressing "run DRC" I get a 0 in "unconnected items". There is a "list unconnected" button but I assume the aforementioned action already has done this. At any rate if I press it nothing happens. ??? Here is what I have: ??????? some components which have pins associated with 3.3V and GND. ??????? two vias that are associated with 3.3V and GND ??????? connections of the mentioned pins to the appropriate vias ??????? No zones are defined yet. ??????? when I do the DRC check it does not raise and error saying something like "vias not connected to zone".
So I understand your last comment. I guess the vias can be left "floating" after all but this would be an error. I just have to be careful not to do this.
Thank you for your attention here- Fritz
On 12/13/2019 2:26 AM, Pedro Mart¨ªn via Groups.Io wrote:
Hi Fritz,
Have you paid attention to the "List Unconnected" option? If all the pads of the schematic (or of the netlist if you create a netlist witout schematic) are connected, the DRC will not complain. I understood you created the zones and didn't connect them to any track of the circuit.
Maybe you meant you didn't create the zones. The inner zones can be used for normal routing tracks too, or even left void. So the DRC doesn't see a violation of therules.
Regards, Pedro.
El 13/12/19 a las 2:52, fritz escribi¨®:
I am new to KiCad, (I've used other cads in the past). I am trying to set up a 4 layer board with the 2 internal layers set to power and ground and components on the F.Cu and B.Cu layers having some interconnections. ---I noted that when I accidentally forgot to set the copper zone on the inner planes it still passed DRC. Shouldn't this raise a flag? (I am certain to forget again in the future!!)
Thanks Fritz
|
well it as already been said, but with kicad you just have to
copy the whole project directory with your file browser, and it's
done...
Le 16/12/2019 ¨¤ 00:59, fritz a ¨¦crit?:
toggle quoted message
Show quoted text
I will look at git. I thought it was a version control facility. I
am not interested in versions. I just need to clone a project so I
can change certain features--I often have 2 or 3 almost identical
boards that but using different processors depending on the
research group that I am working with for example--or maybe each
has a different connector depending the equipment to be
interfaced.??? Each of these are named by the processor that they
use and they are in their own folders--often on different servers
planted with the research group. Not sure if git is meant for
this--with other CADs "save as" does this--very simply.
Thanks
Fritz
On 12/15/2019 5:47 AM, grauseba via
Groups.Io wrote:
I can only second the combination of KiCAD and
git. Especially handy with the WireIt 3rd party plug-ins and
submodules!?
I use git and branches.
On Sun, Dec 15, 2019,
08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me,
for many years, using Windows.
I am blessed with the initials "TKB".
I say "blessed" because since 1968, those letters
do not seem to have been used for other things.
Thus I can create a folder called
KiCadTKB, and know that it is "MyKiCad"... and
actually MY stuff, not a folder created by the
system.
Within that, I create a "meta folder"
for every project. (And every project has a
short-form name, e.g. "PCB274". The Meta-folder
name will usually have some additional hints as to
what the project is for, e.g. "PCB274-quad
optocoupler for level shifting" because PCB274 was
a breakout to provide 4 channels of opto isolation
to convert some 12v digital signals to
Arduino-friendly levels.
Within that, a folder called PCB274.
That will be my "latest, greatest" version of the
board.
From time to time, I go into the
ordinary comes-with-Windows file manager, "File
Explorer". (I can do all of the following
mid-session, without shutting down KiCad. I need
to have saved (from within KiCad) any open files.)
I right-click on the PCB274 file. Select "Copy".
Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my
project, named "PCB274-Copy"
for the moment. I would change the name
to something like "PCB274BU19b22-1405", if the
backup were made in 2019, November (a/b/c for
Oct/Nov/Dec, so month is always a single
character), 5th day, at 2:05pm.
If the backup stores the project in
the state it was in when I posted it online, or
set it to OSHPark.com who make my PCBs, then that
would be indicated in the name after the
datestamp.
It Just Works. (And the same approach
works in many contexts. A few... Arduino... are
fussy about the name of the lowest level
"container" folder, but renaming it back to what
it was is simple enough, if you need to revert to
a backup. Or you can add an extra layer of
folders, to have "Ardu 384BU19b22-1405"
hold just a folder "Ardu384", with the project in
THAT.)
|
I will look at git. I thought it was a version control facility. I
am not interested in versions. I just need to clone a project so I
can change certain features--I often have 2 or 3 almost identical
boards that but using different processors depending on the research
group that I am working with for example--or maybe each has a
different connector depending the equipment to be interfaced.???
Each of these are named by the processor that they use and they are
in their own folders--often on different servers planted with the
research group. Not sure if git is meant for this--with other CADs
"save as" does this--very simply.
Thanks
Fritz
On 12/15/2019 5:47 AM, grauseba via
Groups.Io wrote:
toggle quoted message
Show quoted text
I can only second the combination of KiCAD and
git. Especially handy with the WireIt 3rd party plug-ins and
submodules!?
I use git and branches.
On Sun, Dec 15, 2019,
08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me, for
many years, using Windows.
I am blessed with the initials "TKB". I
say "blessed" because since 1968, those letters do
not seem to have been used for other things.
Thus I can create a folder called
KiCadTKB, and know that it is "MyKiCad"... and
actually MY stuff, not a folder created by the
system.
Within that, I create a "meta folder"
for every project. (And every project has a
short-form name, e.g. "PCB274". The Meta-folder name
will usually have some additional hints as to what
the project is for, e.g. "PCB274-quad optocoupler
for level shifting" because PCB274 was a breakout to
provide 4 channels of opto isolation to convert some
12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274.
That will be my "latest, greatest" version of the
board.
From time to time, I go into the
ordinary comes-with-Windows file manager, "File
Explorer". (I can do all of the following
mid-session, without shutting down KiCad. I need to
have saved (from within KiCad) any open files.) I
right-click on the PCB274 file. Select "Copy".
Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my project,
named "PCB274-Copy" for
the moment. I would change the name to
something like "PCB274BU19b22-1405", if the backup
were made in 2019, November (a/b/c for Oct/Nov/Dec,
so month is always a single character), 5th day, at
2:05pm.
If the backup stores the project in the
state it was in when I posted it online, or set it
to OSHPark.com who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same approach
works in many contexts. A few... Arduino... are
fussy about the name of the lowest level "container"
folder, but renaming it back to what it was is
simple enough, if you need to revert to a backup. Or
you can add an extra layer of folders, to have "Ardu
384BU19b22-1405" hold just a folder
"Ardu384", with the project in THAT.)
|
I can only second the combination of KiCAD and git. Especially handy with the WireIt 3rd party plug-ins and submodules!?
toggle quoted message
Show quoted text
I use git and branches.
On Sun, Dec 15, 2019, 08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]> wrote: Fritz said "I want to make a duplicate of a complete project."
My "answer" has worked fine for me, for many years, using Windows.
I am blessed with the initials "TKB". I say "blessed" because since 1968, those letters do not seem to have been used for other things.
Thus I can create a folder called KiCadTKB, and know that it is "MyKiCad"... and actually MY stuff, not a folder created by the system.
Within that, I create a "meta folder" for every project. (And every project has a short-form name, e.g. "PCB274". The Meta-folder name will usually have some additional hints as to what the project is for, e.g. "PCB274-quad optocoupler for level shifting" because PCB274 was a breakout to provide 4 channels of opto isolation to convert some 12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274. That will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary comes-with-Windows file manager, "File Explorer". (I can do all of the following mid-session, without shutting down KiCad. I need to have saved (from within KiCad) any open files.) I right-click on the PCB274 file. Select "Copy". Right-click on a blank part of "PCB274-quad optocoupler for level shifting"' window. Select "Paste". That gives me my duplicate of my project, named "PCB274-Copy" for the moment. I would change the name to something like "PCB274BU19b22-1405", if the backup were made in 2019, November (a/b/c for Oct/Nov/Dec, so month is always a single character), 5th day, at 2:05pm.
If the backup stores the project in the state it was in when I posted it online, or set it to OSHPark.com who make my PCBs, then that would be indicated in the name after the datestamp.
It Just Works. (And the same approach works in many contexts. A few... Arduino... are fussy about the name of the lowest level "container" folder, but renaming it back to what it was is simple enough, if you need to revert to a backup. Or you can add an extra layer of folders, to have "Ardu 384BU19b22-1405" hold just a folder "Ardu384", with the project in THAT.)
|
Of course I could but the fact that the developers omit this obvious
and standard command found in almost any software indicates to me
that perhaps there are future plans that might create a problem
later on, such as embedding the file tree information into the
project files, integrating the program into some type of name
dependent release management system etc etc.
? I fell into this trap with Microchip MPLAB and Zemax a while a
back and learned not to tamper.
thanks
fritz
On 12/15/2019 11:56 AM, Pierre-Raymond
Rondelle wrote:
toggle quoted message
Show quoted text
Open a command prompt and write a batch that will do it
automatically.
On 15.12.19 14:17, fritz wrote:
OK and thanks all for your comments on this.
Apparently the final answer is the one cannot just click "save
as" to a different name and be done with it.
Fritz
On 12/15/2019 4:29 AM, Lev wrote:
I use git and branches.
On Sun, Dec 15, 2019,
08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me, for
many years, using Windows.
I am blessed with the initials "TKB". I
say "blessed" because since 1968, those letters do
not seem to have been used for other things.
Thus I can create a folder called
KiCadTKB, and know that it is "MyKiCad"... and
actually MY stuff, not a folder created by the
system.
Within that, I create a "meta folder"
for every project. (And every project has a
short-form name, e.g. "PCB274". The Meta-folder name
will usually have some additional hints as to what
the project is for, e.g. "PCB274-quad optocoupler
for level shifting" because PCB274 was a breakout to
provide 4 channels of opto isolation to convert some
12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274.
That will be my "latest, greatest" version of the
board.
From time to time, I go into the
ordinary comes-with-Windows file manager, "File
Explorer". (I can do all of the following
mid-session, without shutting down KiCad. I need to
have saved (from within KiCad) any open files.) I
right-click on the PCB274 file. Select "Copy".
Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my project,
named "PCB274-Copy" for
the moment. I would change the name to
something like "PCB274BU19b22-1405", if the backup
were made in 2019, November (a/b/c for Oct/Nov/Dec,
so month is always a single character), 5th day, at
2:05pm.
If the backup stores the project in the
state it was in when I posted it online, or set it
to OSHPark.com who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same approach
works in many contexts. A few... Arduino... are
fussy about the name of the lowest level "container"
folder, but renaming it back to what it was is
simple enough, if you need to revert to a backup. Or
you can add an extra layer of folders, to have "Ardu
384BU19b22-1405" hold just a folder
"Ardu384", with the project in THAT.)
|
Open a command prompt and write a batch that will do it
automatically.
On 15.12.19 14:17, fritz wrote:
toggle quoted message
Show quoted text
OK and thanks all for your comments on this.
Apparently the final answer is the one cannot just click "save as"
to a different name and be done with it.
Fritz
On 12/15/2019 4:29 AM, Lev wrote:
I use git and branches.
On Sun, Dec 15, 2019, 08:52
ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me, for
many years, using Windows.
I am blessed with the initials "TKB". I
say "blessed" because since 1968, those letters do not
seem to have been used for other things.
Thus I can create a folder called
KiCadTKB, and know that it is "MyKiCad"... and
actually MY stuff, not a folder created by the system.
Within that, I create a "meta folder" for
every project. (And every project has a short-form
name, e.g. "PCB274". The Meta-folder name will usually
have some additional hints as to what the project is
for, e.g. "PCB274-quad optocoupler for level shifting"
because PCB274 was a breakout to provide 4 channels of
opto isolation to convert some 12v digital signals to
Arduino-friendly levels.
Within that, a folder called PCB274. That
will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary
comes-with-Windows file manager, "File Explorer". (I
can do all of the following mid-session, without
shutting down KiCad. I need to have saved (from within
KiCad) any open files.) I right-click on the PCB274
file. Select "Copy". Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my project,
named "PCB274-Copy" for
the moment. I would change the name to
something like "PCB274BU19b22-1405", if the backup
were made in 2019, November (a/b/c for Oct/Nov/Dec, so
month is always a single character), 5th day, at
2:05pm.
If the backup stores the project in the
state it was in when I posted it online, or set it to
OSHPark.com who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same approach
works in many contexts. A few... Arduino... are fussy
about the name of the lowest level "container" folder,
but renaming it back to what it was is simple enough,
if you need to revert to a backup. Or you can add an
extra layer of folders, to have "Ardu
384BU19b22-1405" hold just a folder
"Ardu384", with the project in THAT.)
|
Re: Via Processing Questions
Thanks Pedro- ?? the ratsnest indeed disappears. So I think your comments make sense-there is no way for the program to predict if I was assuming a zone. ? ? I have attached a zip of the design (not a serious design! just for this test) Cheers Fritz
toggle quoted message
Show quoted text
On 12/15/2019 4:52 AM, Pedro Mart¨ªn via Groups.Io wrote: Hi Fritz,
Do all lines of the ratsnet dissapear?
I think the connecting part of the DRC doesn't mind if the nets are connected by vias, zones or tracks. It just check if all nets are connected. The algorithm doesn't know if you want to connect a via to a zone or you want a via only to change layer and continue the routing on the new layer.
A floating via should raise an error if the net is not fully connected at other part of the layout.
If you want/can share your project I can take a look to it.
Cheers, Pedro.
El 14/12/19 a las 15:36, fritz escribi¨®:
Pedro ??? after pressing "run DRC" I get a 0 in "unconnected items". There is a "list unconnected" button but I assume the aforementioned action already has done this. At any rate if I press it nothing happens. ??? Here is what I have: ??????? some components which have pins associated with 3.3V and GND. ??????? two vias that are associated with 3.3V and GND ??????? connections of the mentioned pins to the appropriate vias ??????? No zones are defined yet. ??????? when I do the DRC check it does not raise and error saying something like "vias not connected to zone".
So I understand your last comment. I guess the vias can be left "floating" after all but this would be an error. I just have to be careful not to do this.
Thank you for your attention here- Fritz
On 12/13/2019 2:26 AM, Pedro Mart¨ªn via Groups.Io wrote:
Hi Fritz,
Have you paid attention to the "List Unconnected" option? If all the pads of the schematic (or of the netlist if you create a netlist witout schematic) are connected, the DRC will not complain. I understood you created the zones and didn't connect them to any track of the circuit.
Maybe you meant you didn't create the zones. The inner zones can be used for normal routing tracks too, or even left void. So the DRC doesn't see a violation of therules.
Regards, Pedro.
El 13/12/19 a las 2:52, fritz escribi¨®:
I am new to KiCad, (I've used other cads in the past). I am trying to set up a 4 layer board with the 2 internal layers set to power and ground and components on the F.Cu and B.Cu layers having some interconnections. ---I noted that when I accidentally forgot to set the copper zone on the inner planes it still passed DRC. Shouldn't this raise a flag? (I am certain to forget again in the future!!)
Thanks Fritz
|
OK and thanks all for your comments on this.
Apparently the final answer is the one cannot just click "save as"
to a different name and be done with it.
Fritz
On 12/15/2019 4:29 AM, Lev wrote:
toggle quoted message
Show quoted text
I use git and branches.
On Sun, Dec 15, 2019, 08:52
ng10066504jan via Groups.Io <ng10066504jan= [email protected]>
wrote:
Fritz said "I want to make a
duplicate of a complete project."
My "answer" has worked fine for me, for
many years, using Windows.
I am blessed with the initials "TKB". I say
"blessed" because since 1968, those letters do not seem
to have been used for other things.
Thus I can create a folder called KiCadTKB,
and know that it is "MyKiCad"... and actually MY stuff,
not a folder created by the system.
Within that, I create a "meta folder" for
every project. (And every project has a short-form name,
e.g. "PCB274". The Meta-folder name will usually have
some additional hints as to what the project is for,
e.g. "PCB274-quad optocoupler for level shifting"
because PCB274 was a breakout to provide 4 channels of
opto isolation to convert some 12v digital signals to
Arduino-friendly levels.
Within that, a folder called PCB274. That
will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary
comes-with-Windows file manager, "File Explorer". (I can
do all of the following mid-session, without shutting
down KiCad. I need to have saved (from within KiCad) any
open files.) I right-click on the PCB274 file. Select
"Copy". Right-click on a blank part of "PCB274-quad
optocoupler for level shifting"' window. Select
"Paste". That gives me my duplicate of my project,
named "PCB274-Copy" for the
moment. I would change the name to something
like "PCB274BU19b22-1405", if the backup were made in
2019, November (a/b/c for Oct/Nov/Dec, so month is
always a single character), 5th day, at 2:05pm.
If the backup stores the project in the
state it was in when I posted it online, or set it to
OSHPark.com who make my PCBs, then that would be
indicated in the name after the datestamp.
It Just Works. (And the same approach works
in many contexts. A few... Arduino... are fussy about
the name of the lowest level "container" folder, but
renaming it back to what it was is simple enough, if you
need to revert to a backup. Or you can add an extra
layer of folders, to have "Ardu 384BU19b22-1405"
hold just a folder "Ardu384", with the project in THAT.)
|
Re: Sharing a KiCad project with a friend
If you use 7zip, and the 7zip format, you can encrypt the filenames (along with the files). That should hide them from Gmail. Regards, Robert On 15/12/2019 03:42, Ken KM4NFQ wrote: Renaming the zip file to bip does not work.
bip.png
It still requires renaming one file. Might as well be *-cache.lib to *-cache.lib.txt
The main thing is that these are the essential files needed to share a project with a friend: *-cache.lib *.kicad_pcb *.pro *.sch
The *-cache.lib file seems to be the one that causes a Gmail attachment block. So it is the only one that needs to be renamed.
Regards, Ken, KM4NFQ "Not Fully Qualified" /g/w8bhMorseTutor
Regards, Ken, KM4NFQ "Not Fully Qualified" /g/w8bhMorseTutor
On Sat, Dec 14, 2019 at 9:53 PM abchin486 <gibson486@... <mailto:gibson486@...>> wrote:
I had this issue before. We got around it by just renaming the .zip to something else like file.bip
On Sat, Dec 14, 2019, 9:33 PM Ken KM4NFQ <km4nfq@... <mailto:km4nfq@...>> wrote:
Thanks to everyone who replied to my question.
I am able to share my KiCad project with my friend via Gmail with a zip file attachment by renaming the project-cache.lib file to project-cache.lib.txt The other essential files needed are project.kicad_pcb project.pro <> project.sch which do not need a .txt extension. (Thanks Sergey.)
Renaming one file is not as bad as having to rename all of them. So I think I can live with a small inconvenience.
Regards, Ken, KM4NFQ "Not Fully Qualified" /g/w8bhMorseTutor
-- () Plain text email - safe, readable, inclusive. /\
|
Re: Via Processing Questions
Hi Fritz,
Do all lines of the ratsnet dissapear?
I think the connecting part of the DRC doesn't mind if the nets are connected by vias, zones or tracks. It just check if all nets are connected. The algorithm doesn't know if you want to connect a via to a zone or you want a via only to change layer and continue the routing on the new layer.
A floating via should raise an error if the net is not fully connected at other part of the layout.
If you want/can share your project I can take a look to it.
Cheers, Pedro.
toggle quoted message
Show quoted text
El 14/12/19 a las 15:36, fritz escribi¨®: Pedro ?? after pressing "run DRC" I get a 0 in "unconnected items". There is a "list unconnected" button but I assume the aforementioned action already has done this. At any rate if I press it nothing happens. ?? Here is what I have: ?????? some components which have pins associated with 3.3V and GND. ?????? two vias that are associated with 3.3V and GND ?????? connections of the mentioned pins to the appropriate vias ?????? No zones are defined yet. ?????? when I do the DRC check it does not raise and error saying something like "vias not connected to zone". So I understand your last comment. I guess the vias can be left "floating" after all but this would be an error. I just have to be careful not to do this. Thank you for your attention here- Fritz On 12/13/2019 2:26 AM, Pedro Mart¨ªn via Groups.Io wrote:
Hi Fritz,
Have you paid attention to the "List Unconnected" option? If all the pads of the schematic (or of the netlist if you create a netlist witout schematic) are connected, the DRC will not complain. I understood you created the zones and didn't connect them to any track of the circuit.
Maybe you meant you didn't create the zones. The inner zones can be used for normal routing tracks too, or even left void. So the DRC doesn't see a violation of therules.
Regards, Pedro.
El 13/12/19 a las 2:52, fritz escribi¨®:
I am new to KiCad, (I've used other cads in the past). I am trying to set up a 4 layer board with the 2 internal layers set to power and ground and components on the F.Cu and B.Cu layers having some interconnections. ---I noted that when I accidentally forgot to set the copper zone on the inner planes it still passed DRC. Shouldn't this raise a flag? (I am certain to forget again in the future!!)
Thanks Fritz
|
toggle quoted message
Show quoted text
On Sun, Dec 15, 2019, 08:52 ng10066504jan via Groups.Io <ng10066504jan= [email protected]> wrote: Fritz said "I want to make a duplicate of a complete project."
My "answer" has worked fine for me, for many years, using Windows.
I am blessed with the initials "TKB". I say "blessed" because since 1968, those letters do not seem to have been used for other things.
Thus I can create a folder called KiCadTKB, and know that it is "MyKiCad"... and actually MY stuff, not a folder created by the system.
Within that, I create a "meta folder" for every project. (And every project has a short-form name, e.g. "PCB274". The Meta-folder name will usually have some additional hints as to what the project is for, e.g. "PCB274-quad optocoupler for level shifting" because PCB274 was a breakout to provide 4 channels of opto isolation to convert some 12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274. That will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary comes-with-Windows file manager, "File Explorer". (I can do all of the following mid-session, without shutting down KiCad. I need to have saved (from within KiCad) any open files.) I right-click on the PCB274 file. Select "Copy". Right-click on a blank part of "PCB274-quad optocoupler for level shifting"' window. Select "Paste". That gives me my duplicate of my project, named "PCB274-Copy" for the moment. I would change the name to something like "PCB274BU19b22-1405", if the backup were made in 2019, November (a/b/c for Oct/Nov/Dec, so month is always a single character), 5th day, at 2:05pm.
If the backup stores the project in the state it was in when I posted it online, or set it to OSHPark.com who make my PCBs, then that would be indicated in the name after the datestamp.
It Just Works. (And the same approach works in many contexts. A few... Arduino... are fussy about the name of the lowest level "container" folder, but renaming it back to what it was is simple enough, if you need to revert to a backup. Or you can add an extra layer of folders, to have "Ardu 384BU19b22-1405" hold just a folder "Ardu384", with the project in THAT.)
|
Fritz said "I want to make a duplicate of a complete project."
My "answer" has worked fine for me, for many years, using Windows.
I am blessed with the initials "TKB". I say "blessed" because since 1968, those letters do not seem to have been used for other things.
Thus I can create a folder called KiCadTKB, and know that it is "MyKiCad"... and actually MY stuff, not a folder created by the system.
Within that, I create a "meta folder" for every project. (And every project has a short-form name, e.g. "PCB274". The Meta-folder name will usually have some additional hints as to what the project is for, e.g. "PCB274-quad optocoupler for level shifting" because PCB274 was a breakout to provide 4 channels of opto isolation to convert some 12v digital signals to Arduino-friendly levels.
Within that, a folder called PCB274. That will be my "latest, greatest" version of the board.
From time to time, I go into the ordinary comes-with-Windows file manager, "File Explorer". (I can do all of the following mid-session, without shutting down KiCad. I need to have saved (from within KiCad) any open files.) I right-click on the PCB274 file. Select "Copy". Right-click on a blank part of "PCB274-quad optocoupler for level shifting"' window. Select "Paste". That gives me my duplicate of my project, named "PCB274-Copy" for the moment. I would change the name to something like "PCB274BU19b22-1405", if the backup were made in 2019, November (a/b/c for Oct/Nov/Dec, so month is always a single character), 5th day, at 2:05pm.
If the backup stores the project in the state it was in when I posted it online, or set it to OSHPark.com who make my PCBs, then that would be indicated in the name after the datestamp.
It Just Works. (And the same approach works in many contexts. A few... Arduino... are fussy about the name of the lowest level "container" folder, but renaming it back to what it was is simple enough, if you need to revert to a backup. Or you can add an extra layer of folders, to have "Ardu 384BU19b22-1405" hold just a folder "Ardu384", with the project in THAT.)
|