Source code for Schematic drawing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EddieT
    New Member
    • Nov 2009
    • 13

    Source code for Schematic drawing

    Does anyone know where I can find source codes implementing a schematic editor for electroincs?
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    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.

    Comment

    • EddieT
      New Member
      • Nov 2009
      • 13

      #3
      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

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        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

        • EddieT
          New Member
          • Nov 2009
          • 13

          #5
          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

          • JonathanS
            New Member
            • Jan 2008
            • 37

            #6
            Open source and I think it's along the lines (thought I'm not totally clear on your requirements) of what you are looking for:
            ngspice - the open source spice simulator for electronic circuits

            Comment

            • EddieT
              New Member
              • Nov 2009
              • 13

              #7
              Is the source code written in C# and can be compiled in Visual Studio?

              Comment

              • JonathanS
                New Member
                • Jan 2008
                • 37

                #8
                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

                • RedSon
                  Recognized Expert Expert
                  • Jan 2007
                  • 4980

                  #9
                  Originally posted by EddieT
                  Is the source code written in C# and can be compiled in Visual Studio?
                  I don't understand why this is a requirement. Why is it necessary to be written in c#? If you are just looking for a tool to use why does it matter what language it is written in?

                  Comment

                  Working...