Closed ChrisOfBristol closed 3 years ago
well I thought about it, but it's just too complex at this point...the biggest questions are
Either way, if I were to add it, it should be SPICE format, because I export to SPICE format :)
how do you place those component on the layout?
In a column to the right of the canvas or a row underneath it.
how do you know which resistors/capacitors to put?
The netlist file specifies component name, type and value and 2 other factors.
do they want to draw a schematic or a pedal layout or an amp layout?
I don't understand this - I just use DIYLC to draw stripboard layouts.
The example below shows components imported from the netlist file to the right of the canvas ready to be manually placed.
It also shows a panel which has been loaded from the imported netlist file with a list of nets that haven't yet been connected. As components are manually connected, nets are removed from this list. The existence of the option Config>Highlight Connected Areas suggests that related functionality already exists in DIYLC.
Automation of component placement and connection. IMHO In the applications that I have seen, automatic placement of components makes a mess. It's better to start by manually placing the components, before attempting to link them automatically. However even this is dubious, resulting in a rats-nest, at least some manual placement is necessary. For the type and size of circuit that DIYLC users create, automation of component placement and connection is messy and more trouble than it's worth for the user - let alone the author of the software.
It's relatively easy to import components while ignoring the connections between them.
My question about component types is - say you need to import a capacitor. Which one do you pick? Ceramic, Electrolytic, Axial/Radial Film...
On Thu, Apr 2, 2020 at 12:56 PM ChrisOfBristol notifications@github.com wrote:
Automation of component placement and connection. Opinion:In the applications that I have seen, automatic placement of components makes a mess. It's better to start by manually placing the components, before attempting to link them automatically. However even this is dubious, resulting in a rats-nest, at least some manual placement is necessary.
IMHO For the type and size of circuit that DIYLC users create, automation of component placement and connection is messy and more trouble than it's worth for the user - let alone the author of the software.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/505#issuecomment-607774066, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCJDY6GCY2KAWB3DLFLRKRVOPANCNFSM4LXDMGAA .
-- Branislav Stojkovic www.diy-fever.com
Here is a list from gEDA, it shows film, electrolytic and ceramic capacitor types.
[ C3 CAP_FILM 82n
] [ C2 CAP_ELECTRO_200 1u
] [ C1 CAP_CERAMIC1 820p
] It would be necessary be able to relate the schematic component type stated by the schematic software to a DIYLC component type.
I'm toying around this idea. Do you have a list of commonly used components that could be mapped to DIYLC components? I thought that for starters it would have some predefined mappings in the code, but it can also learn through usage when user changes default behavior or maps additional types
(See email too) QUCS component name/qucs field no of component detail/component detail/veroroute name
Now it's live it will be very interesting to see the feedback. I do think it will be an extremely useful function, you may need to offer different file formats, but the feedback should suggest those. On the other hand it might turn out that most people designing small to medium sized circuits for their own use have either got the schematic (as an image) from somewhere else, or just use pen and paper🙁
Using the net information in the netlist. A function which the program uses with the nets information to automatically place the components is a far more complex problem, in fact I suspect it has a lot in common with the Travelling Salesman Problem I have tried VeroRoute and a long time ago when I had Windows I used a program called Stripboard Magic.
There are better approaches. To start with the user should be able to set some parameters - like closeness of soldered holes etc. Options:
All very complicated and a lot of work, and perhaps not of very great utility, so I really don't think it would be likely to become a high priority.
There is now a Python package available from PyPI called qucs-netlist which can take a QUCS schematic and simulation file (or create the latter if necessary) and convert them into a netlist suitable for loading into DIY Layout Creator (or any other PCB layout software that can load a standard netlist). Available from here https://pypi.org/project/qucs-netlist/ Also on GitHub here https://github.com/PopoutApps/qucs_netlist
It's possible to export a netlist from DIYLC. This is part way towards importing a netlist from a schematic, which would be a useful feature. (This is mentioned, but lost among many other issues in Issue #171.) Just importing the components would be good, doing anything with the connections might be complicated and not really necessary. I'm aware of Tango/Protel and orCAD netlist formats. This is an example of the Tango format: