|
For modern applications, HttpClient[^] is probably a better choice.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You are right of course, and thank you, something else for me to study. But given the question, I would guess that is the least of the OPs concerns.
|
|
|
|
|
|
Noting of course that I would suspect that you will find that there are already a number of libraries out there that do most of that.
So deciding what features you need, both for the scanner and for the rest of your application, and THEN go look for a library and other technologies to match that would be best.
And in general this sort of question is almost always answered by "the one you have the most familarity with." Because creating a brand new system with all brand new technologies might be fun but it is not the best way successfully create such a system nor to create one that actually makes money.
|
|
|
|
|
Dear all,
I would like to develop a CAD-like GUI for microelectronics.
My first problem is how to design the main screen. Like any software of this kind, you have simply a background where you can put objects. Usually, this background is black or white, it has a grid and you can zoom in/out. (Please check any spice simulator)
Initially, I thought of using some kind of language from Microsoft Visual Studio suite. It allows to do forms, menus, buttons, etc, but it would be slow after adding all the functionalities (I guess).
What's the best programming language and graphical engine to do this?
Appreciate your help.
Best regards,
Pedro
|
|
|
|
|
pcardoso73 wrote: What's the best It depends on your knowledge and experience. Which languages and frameworks do you know, and how much experience do you have working in this field?
|
|
|
|
|
Hi,
Well I am an old guy and have been programming for ages. The language is not really my problem. What I don't know is how to do graphics programming using an engine and which are the languages that will result in a fast piece of software.
Thanks,
Pedro
|
|
|
|
|
|
Thanks for your suggestions.
If I could do everything with Unity and C#, it would be perfect
|
|
|
|
|
Unity, if it is a game. If it is something CAD like Revit or AutoCAD, then it will run fine in WinForms.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Hi,
Eddy Vluggen wrote: Unity, if it is a game. If it is something CAD like Revit or AutoCAD, then it will run fine in WinForms.
Honestly, I didn't know about Winforms, it looks great but it is super expensive. I didn't write that, but I would like a free/open-source solution.
I thought of using unity2D with C# as I saw a video of a Microsoft paint like program being made in unity2d. Of course, that's not what I want, but it serves as a starting point.
Cheers,
Pedro
|
|
|
|
|
Ummm... Winforms is "Windows Forms Application", in Visual Studio projects. It's zero cost as it comes with Visual Studio.
|
|
|
|
|
|
pcardoso73 wrote: Honestly, I didn't know about Winforms, it looks great but it is super expensive. It is already present on any modern computer. Its usage is free.
pcardoso73 wrote: I thought of using unity2D with C# as I saw a video of a Microsoft paint like program being made in unity2d. Of course, that's not what I want, but it serves as a starting point. Good starting point for a game
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
pcardoso73 wrote: I would like to develop a CAD-like GUI for microelectronics....but it would be slow after adding all the functionalities (I guess).
If you really mean that then no it is not going to be slow. There are hundreds if not thousands of specialized IDEs that are developed in a variety of languages.
If you want examples in one specific category google for "UML design tools".
Note that if you want to simulate, which is not the same as design, then that has nothing to do with the UI but has to do with creating a simulation engine. That could be slow depending on what you want to do. But that is design/requirements problem not a language problem.
|
|
|
|
|
I just want to do a new graphical interface. All the circuit simulation is done by spice.
|
|
|
|
|
Visio has electrical engineering shape templates: semiconductors; tubes; IC's; etc.
Easier than rolling your own (IMO); can be automated; multiple output formats. License or subscription.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Gerry Schmitz wrote: Visio has electrical engineering shape templates: semiconductors; tubes; IC's; etc.
Yes, I did my own library with Visio. But then, is it possible to export the symbols to be usable in Unity? That is, the shapes cannot be images.
|
|
|
|
|
You can use "images" in unity. They're just another "asset".
The point is, if you're trying to "model" a circuit, Visio is an option.
Your "requirements" are rather vague as to what you want to "automate" in relation to what you may already have (or not have).
(You had to build 2D circuits in BioShock to get into a safe, for example. Just animated "squares". )
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
modified 15-Apr-18 14:16pm.
|
|
|
|
|
Hi,
What I want to do is simple (at least in concept ).
I would like to have a background (canvas) where I could draw lines only ( I just need lines), just like in any drawing program, but the lines will be only either horizontal or vertical.
In visio, for example, you can have objects and connect them with lines to their vertices. This is a very important feature to me and that I would like to have.
Based on my requirements I have narrowed down the development to be done either in Visual C# or C++ and Qt.
What do you think ?
Best regards,
Pedro
|
|
|
|
|
I would use C# because I know C# (and WPF).
WPF has a Canvas control for absolute positioning.
WPF can create lines that can be rotated.
Sounds like you're ready to go.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
By the end I guess I will use PyQt since it is cross-platforms.
Many thanks,
Pedro
|
|
|
|
|
C is "cross platform" too; if that's your only criteria.
If there's a compiler / interpreter, it's "cross platform".
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
When I design software I like to set it up to be able to work with meaning in code. How do you work with meaning in code? To get the discussion started, here are some definitions for the word 'Meaning' as defined by various organizations:
Meaning Definition 1- Oxford 1
- what is meant by a word, text, concept, or action.
- Cambridge UK1/US2
- The meaning of something is what it expresses or represents.
- Dictionary.com 1
- what is intended to be, or actually is, expressed or indicated; signification; import.
- Wiktionary 1
- The symbolic value of something.
Meaning Definition 2 - Cambridge US1/UK2
- importance or value.
- Free Dictionary 1b
- Something that is conveyed or intended, especially by language; sense or significance.
- Collins BR3
- the inner, symbolic, or true interpretation, value, or message.
- Dictionary.com 2
- the end, purpose, or significance of something.
- Wiktionary 2
- The significance of a thing.
The first group is focused on the simpler definition. The second group is the deeper definition. I am interested in your experiences in dealing with meaning in code for either.
|
|
|
|
|
jonrgrover wrote:
The first group is focused on the simpler definition. The second group is the deeper definition. Semantics. What is meant by a word determines its value.
jonrgrover wrote: I am interested in your experiences in dealing with meaning in code for either. I ignore Cambridge and Oxford, as they are academics.
jonrgrover wrote: How do you work with meaning in code? Code does not explain my intentions, only my actions. It does not convey meaning, it conveys what is happening, and sometimes why I made those decisions.
Comments aren't meant to be a spec; they're meant to explain what the code does.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|