ID: | 5922 |
From: | Evan Foss <ev...@gmail.com> |
Date: | Sun, 22 Jan 2023 23:45:59 -0500 |
Subject: | Re: [pcb-rnd] Wishlist Import Schematics |
in-reply-to: | 5911 from rn...@igor2.repo.hu |
replies: | 5923 from rn...@igor2.repo.hu |
Hi Igor2, Honestly I prefer to do everything from Makefiles. I want to use sch-rnd and I have installed it but I haven't actually built a project using it yet (I will later). Thanks for adding it to the list all the same. I am sure project files work for some, As a feature multi file selection feels like a thing modern UI's should do here. I know it won't work for other forms of import. Thanks, Evan On Sun, Jan 15, 2023 at 11:16 PM <rnd2@igor2.repo.hu> wrote: > > Hi Evan, > > On Sun, 15 Jan 2023, Evan Foss wrote: > > >Hi Igor2, > > > >In the import schematics file browser it would handy to have the > >ability to select more than one file at once. It feels very 1980s > >being stuck selecting one file at a time. > > Thanks, this one goes to the wishlist as W12. > > It's a major HID/DAD API upgrade: we (pcb-rnd and its predecessor > geda/pcb) never had the ability to deal with multiple files selected from > the FSD at once. > > Meanwhile, there's also a more elegant fix already to the underlying > problem. Which is: project files. > > Geda refused to admit the existence of projects. Their reasoning went well > with a pure, single sheet, "someone else will do the rest of the work from > my netlist export" setup, but in practice anything else is really a > project. And a project is: a bunch of design files and some > project-specific configuration. Of course they figured project-specific > config is really necessary, so you got different project-level config file > options in different tools (gafrc for gschem, then some other thing for > gsch2pcb then your Makefile had to reproduce some knowledge too). > Especially your file names, which are then also listed in the pcb file, as > attributes, once you used import schematics! > > So with this strategy of geda, you really ended up having to list your sch > file names and some project-specific settings multiple times, > store/maintain them multiple places and manually keep them in sync when > they changed. I think the reason for project-file-concept-denial was the > fear of excess integration. > > In Ringdove, this is different: we do have proper project files, that can > really describe your project, storing both project configuration and file > names. The project file is modular enough that any softrware (not only > Ringdove!) can store their idea of the project in it, so there's no risk > of excess integration. > > So the future is this: > > - use sch-rnd (already works) > > - write a project file, list your sheet files in there (already works) > > - when opening your project with sch-rnd, open the project file, not the > sheet files directly; this will load all sheet files listed in the project > file automatically, so you essentially open your project without having to > remember or specify or select all the files all the time (already works) > > - when you import from pcb-rnd, select sch-rnd for method, but instead of > telling pcb-rnd the sheet file names, tell it the project file (always a > single file, project.lht), and it will simple import from all sheets > (already works). The best part is: pcb-rnd does not need to read the > sch-rnd section of the project file, so there's no excess integration and > this method could work with any other sch editor that has its own section > in the project file! > > - later on you will be able to list your board file name(s) in the project > file as well and tell pcb-rnd to open the project file which will mean the > same thing: open all board file(s) specified in the project file (this is > a long term plan) > > > Project file format, sch-rnd specific section: > > http://repo.hu/cgi-bin/pool.cgi?project=sch-rnd-aux&cmd=show&node=prj_syntax > > This already works. I have a 4-sheet sch-rnd+pcb-rnd project with ~100 > symbols and ~100 nets using this method already. > > Best regards, > > Igor2 > > > -- https://github.com/evanfoss -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQENBFYy4RYBCAC183JomLtbdAlcKiaPDoVHq52LDmVmH75aiEc69m7YxDt54/ai VtYCAobbGVIyn3Hlz3uhF6LnPl/6Lm1VdnCfpwu3KQhCO6ds10ow2C30X4ohCqOd hCVg5C+ILmQkEffFrFODy3ji+PYTF4pADvHCWsTMv0hf0llwFOJsBCK6cl02IffE JPqy4PjM1nZ9HpzT84JBaG/4OGvTZ8SQ2yFUl265jagvygPTf88H1xpZHH1r8dB1 stjUHLmPH8AOyDgKxFchgGeDc3p/vJtgDDIXAFfDXG0NSRovLmtaQdGxe47Zf/go bXiEM7YL2WqQe5zfEA919JxkEwlDKYniOSVzABEBAAG0N0V2YW4gRm9zcyAoVGhp cyBpcyBteSBwdWJsaWMga2V5LikgPGV2YW5mb3NzQGdtYWlsLmNvbT6JATkEEwEC ACMFAlYy4RYCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCIpQTcE8nN bbBaCACAm8pU5lG1ev2Fsw68Axtcl57SJrYieqX96c3YuYH9JpqMqJRnd9nDKw9X tQuvuH7tUk0VbOaDqReOYJVI/4c5wb9AaOFp6K2DUcupq6XhgXpvz3HzoPwjAdIj XuQzdRUx5+innTJrSkGuBYW/CZ2zqEx4xfLlq4rO0hoTUMR8QVp2cCrkw6BT0m86 APIw/ZnjoxM8IEzr7MxfRIg3qpzrZk28rmhx+k78Jyk61UhwcCPGIm/pjUopTwYJ 3YBdRB2cYD2aN7A1JVf5cRmSQYooHBGpH0kYvomGk97PKqypVuJ7OpG9xM58wUcC qUVt9hKlePLzP8csYjt8onqI7qIIuQENBFYy4RYBCADlH8spG3WkCx62vB5mr5Z0 SCDd/RcyA4A5y5EOj5KurQkrSWpgi9Ho1yKruMJ6blQR2qkc66KqH9pnXDm/ZI1M K/wdW3ngETxBmXoozzFMT89aEWIVR5/PFodWK1elekE9iJxACuR98Zg2QttTD3x8 A9w8VEyMLOXcDTrPFpHegMKswFBg5iuMulAdXAoGejWTI3n+qKFpabHm2Lfs6wjk 5rjucpTdeFK6UeWF1xAvNxXibuu5BlGwv53930qIXRwO/Gn2Rh5DXWxKU2fEIme/ xgQQmIsDeUoWbfybdjw/x7Q0LW4mINiLDQcGHHRQKFIxbAJCT3USPLGh5xwE9/Er ABEBAAGJAR8EGAECAAkFAlYy4RYCGwwACgkQiKUE3BPJzW0uYAf9Hf30n8tM3mR2 Zo6ESE0ivgdgjaJtAWrBUx7JzAzPjBnBOlNnu5Y9lVEqetvUPH6e3PvaHYUuaUU8 0HwxuKBW9nUprgV6uIu1DZmlcp+SxpbuCy7RDpNocRLNWWFMaYYzznmTgfnTgD4D gCq8Mf1mcfrluTkOAo+QNqbMfl1GISClopRqxVuAo59ewgMnFujwgd8w12BwWl24 CzqOs5HqcUslePj+LzcjSNgVCklYwKl+0dsb/fctMOCtHodwqm2CBJ+zydvNmYkD fxda/J91Z1xrah5ec++FL0L4vs+jCiIWJeupJFKlr1hCMZiiGH7W554loK5l4jv3 EY347EidAw== =Ta4p -----END PGP PUBLIC KEY BLOCK-----
Reply subtree:
5922 Re: [pcb-rnd] Wishlist Import Schematics from Evan Foss <ev...@gmail.com>
5923 Re: [pcb-rnd] Wishlist Import Schematics from rn...@igor2.repo.hu
5930 Re: [pcb-rnd] Wishlist Import Schematics from rn...@igor2.repo.hu
5932 Re: [pcb-rnd] Wishlist Import Schematics from Evan Foss <ev...@gmail.com>
5933 Re: [pcb-rnd] Wishlist Import Schematics from rn...@igor2.repo.hu
5934 Re: [pcb-rnd] Wishlist Import Schematics from Evan Foss <ev...@gmail.com>
5935 Re: [pcb-rnd] Wishlist Import Schematics: project.lht not supported from rn...@igor2.repo.hu
5936 Re: [pcb-rnd] Wishlist Import Schematics: project.lht not supported from rn...@igor2.repo.hu
5937 Re: [pcb-rnd] Wishlist Import Schematics: project.lht not supported from Evan Foss <ev...@gmail.com>
5939 Re: [pcb-rnd] Wishlist Import Schematics: project.lht not supported from rn...@igor2.repo.hu
5940 Re: [pcb-rnd] Wishlist Import Schematics: project.lht not supported from Evan Foss <ev...@gmail.com>
5938 Re: [pcb-rnd] Wishlist Import Schematics: project.lht not supported from Evan Foss <ev...@gmail.com>