Recent

Author Topic: "SuperCAD" translation from Delphi6+G32  (Read 9169 times)

emjtech

  • New Member
  • *
  • Posts: 28
    • Global R&D ltd
"SuperCAD" translation from Delphi6+G32
« on: January 17, 2019, 08:41:05 am »
Hi
Even I am an hardware engineer I write some software.
On 2007 I write the basics of a good Electronics CAD, and I completed it over the years while I work till now.
Now is the Best CAD, incomparable to smaller CADs (like OrCAD) I called it CAEdraw.
I wrote that using Delphi 6 + other libraries : G32 for fast graphics , Hipergrid , DragDrop , ExColorGrip , Thtml , JEDI and some mine.

I want to move the code to Lazarus, at least I will need a Fast graphics library since the CAD displays images limited in size only by the available memory.
Currently because of the limitations of Delphi 6 +G32 is 3Gby , one motivation for the translation is overcome that limitation and be able to display up to 60Gby of graphics, however to move such big canvas the interface should be fast and he should use the GPU.

Can someone recommend me a Fast graphics unit?
Any tips are welcome, this translation will be a BIG task.

Thanks
Thanks
Eli Jacob

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: "SuperCAD" translation from Delphi6+G32
« Reply #1 on: January 17, 2019, 08:59:18 am »
Here is a list of graphics libraries available for Lazarus/FPC:
http://wiki.freepascal.org/Graphics_libraries

Try BGRABitmap first, it has tutorials that can help beginners to learn it easily:
http://wiki.freepascal.org/BGRABitmap_tutorial

If BGRABitmap is not what you're looking for, maybe you want to use OpenGL:
http://wiki.freepascal.org/OpenGL
http://wiki.freepascal.org/OpenGL_Tutorial

But I recommend you look ZCAD first. It is written using Lazarus and the developer is active in this forum. And don't forget to check TitoCAD.
http://forum.lazarus.freepascal.org/index.php/topic,16665.msg90879.html#msg90879
http://forum.lazarus.freepascal.org/index.php/topic,16665.msg284091.html#msg284091

emjtech

  • New Member
  • *
  • Posts: 28
    • Global R&D ltd
Re: "SuperCAD" translation from Delphi6+G32
« Reply #2 on: January 17, 2019, 09:13:40 am »
Thank you very much
Thanks
Eli Jacob

emjtech

  • New Member
  • *
  • Posts: 28
    • Global R&D ltd
Re: "SuperCAD" translation from Delphi6+G32
« Reply #3 on: January 17, 2019, 09:27:53 am »
Thanks but the CADs you post are not for electronics.
My CAD is for Electronics, it includes
Schematics design,
Board layout
FPGA design
Logic Simulations
Thermal analysis
MTBF calculations
BOM (Components list) including actual cost from the Interrnet
Stock components management
Hours spent on design layout analysis simulations etc.
and more
Hopefully it will be also here on Lazarus
Thanks
Eli Jacob

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: "SuperCAD" translation from Delphi6+G32
« Reply #4 on: January 17, 2019, 09:32:53 am »
As far as I know ZCAD originally is for Electronic, but it now becomes general purposes.

I heard ZCAD now has a fork for Electronic:
http://forum.lazarus.freepascal.org/index.php/topic,16665.msg296303.html#msg296303

You can contact ZCAD author @zamtmn for more detail. Maybe you can work together.

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: "SuperCAD" translation from Delphi6+G32
« Reply #5 on: January 17, 2019, 10:05:23 am »
I wrote that using Delphi 6 + other libraries : G32 for fast graphics , Hipergrid , DragDrop , ExColorGrip , Thtml , JEDI and some mine.
  • Graphics32: There was a recent discussion here (https://forum.lazarus.freepascal.org/index.php/topic,43903.msg308049.html): the Lazarus port on the author's github currently cannot be installed, and the other Lazarus port by PilotLogic (pl_graphics32) available via OnlinePackageManager has memory leaks.
  • Hypergrid: I don't know what that is. Please specify where it comes from. Are you aware that the lazarus grids are much more powerfull than the Delphi grids? If you still need a third-party grid you could have a look at KGrid available through the KControls on OnlinePackageManager
  • ExColorGrid: Again, i don't know what that is... If you mean advanced color selection components you can have a look at mbColorLib (http://wiki.lazarus.freepascal.org/mbColorLib) which is in Online Package Manager as well
  • THtml: Is this the HtmlViewer? That is available through Online Package Manager
  • JEDI: A limited selection of JVCL components has been ported to Lazarus (http://wiki.freepascal.org/JVCL_Components); the others often are not needed because their features are available in the LCL directly.

zamtmn

  • Hero Member
  • *****
  • Posts: 593
Re: "SuperCAD" translation from Delphi6+G32
« Reply #6 on: February 07, 2019, 03:54:52 pm »
emjtech
I missed an interesting topic(( Where can I see your program?

 

TinyPortal © 2005-2018