Does anyone know where I can find source codes implementing a schematic editor for electroincs?
Source code for Schematic drawing
Collapse
X
-
-
I assume you mean some kind of CAD software for layout and routing PCBs?
Why in the world would you want to punish yourself by writing one yourself?
Try http://www.cadsoft.de/ or http://www.gpleda.org/index.html or something like http://www.freerouting.net/ might be more to your liking. -
No actually I am not trying to route PCBs. I just need the schematic editor and want to do some calculations based on the components which are not actually R,L,C but power blocks that integrate in system. Between these blocks I need to do check for input/output requirements and finally to evaluate the entire interconnected power blocks as a system.
I need the editor which looks professional which can interconnect the blocks. I did one but as you said the amount of work is tremendous and seem endless.
Any suggestion where I can buy a package software with excess to source code in C# would be appreciated.Comment
-
If you are trying to evaluate some kind of hardware based circuit why don't you use an open source solution, instead of writing it yourself.
Perhaps I don't get what you are talking about because it sounds like you need a schematic editor that can do some basic calculations but you want to write it yourself using some kind of library in c#?Comment
-
I need a schematic editor which draws the objects that has attributes that I can change do some basic calculation (eg thermal calculation of a power supply given some input parameters).
This software will not evaluate any hardware based circuit. It is standalone as a simple calculator based on a system configuration drawn by the user.
Eg. I draw a power supply (maybe a rectangle shape) with attributes like Vout. Then I connect it to a load (maybe a square shape) with attributes like Iout. Then I calculate how much power is drawn from the power supply (ie Vout x Iout). I can get more complicated like caluclating the temperate given more parameters like efficiency, fan speed ...Comment
-
Apologies I didn't understand that C# was an absolute necessity. I double checked and it looks like ngspice is pure C. I did find this which looks like people are trying to port it (or at least make wrapper classes for it):
It may cost, though. It looks like they are talking about using ngspice as a DLL called from C#Comment
-
Comment
Comment