* * *

Author Topic: CAD program written in Lazarus / FPC  (Read 83062 times)

zamtmn

  • Sr. Member
  • ****
  • Posts: 293
Re: CAD program written in Lazarus / FPC
« Reply #150 on: August 06, 2017, 03:01:58 pm »
Hi all!
Start reworking program interface for toolbars support http://imgur.com/a/V2jAK
Since rev 2290 zcad can be compiled only with patched AnchorDocking https://bugs.freepascal.org/view.php?id=24703

zamtmn

  • Sr. Member
  • ****
  • Posts: 293
Re: CAD program written in Lazarus / FPC
« Reply #151 on: August 26, 2017, 12:13:41 am »
Hi all!
Finish new interface. New "stable" build 2338 https://sourceforge.net/projects/zcad/files/Windows%20x86/

JanRoza

  • Sr. Member
  • ****
  • Posts: 447
    • http://www.silentwings.nl
Re: CAD program written in Lazarus / FPC
« Reply #152 on: August 26, 2017, 12:26:27 am »
Beautiful piece of work!
Any chance of an English version of Userguide.pdf, my Russian is limited to 4 or 5 words?  :D
OS: Windows 10 (64 bit)
Laz: Lazarus 1.9 FPC 3.1.1 i386-win32-win32/win64

zamtmn

  • Sr. Member
  • ****
  • Posts: 293
Re: CAD program written in Lazarus / FPC
« Reply #153 on: August 26, 2017, 12:41:55 am »
>>Any chance of an English version of Userguide.pdf
One in a million((
Only if it undertakes to do by someone who knows English. I don't know English at the level.
A "complex" commands are very specific to the projects according to Russian norms, it makes no sense to translate them.

But it makes sense to make a version without the Russian specifics, just the basic drawing features. In fact, the basic drawing features of the program is very simple and I think need no explanation

>>my Russian is limited to 4 or 5 words?
Водка, баня, папиросы, девченки ))
« Last Edit: August 26, 2017, 12:45:27 am by zamtmn »

wp

  • Hero Member
  • *****
  • Posts: 3731
Re: CAD program written in Lazarus / FPC
« Reply #154 on: August 26, 2017, 01:34:03 am »
I just tried the exe, loaded the teapot.dxf, did see it, but when I moved the mouse into the drawing area the drawing goes away and the drawing area is black. When I resize the window or click on some of the main toolbar buttons, the teapot comes back

I'm on Windows 10, no high-end graphics card, just the built-in intel graphic. Any special requirements for the OpenGL?
Lazarus trunk / fpc 3.0.0 / Win32

zamtmn

  • Sr. Member
  • ****
  • Posts: 293
Re: CAD program written in Lazarus / FPC
« Reply #155 on: August 26, 2017, 12:06:22 pm »
>>Any special requirements for the OpenGL?
No, only vendor drivers, not MS default drivers.
Check Render\RD_CurrentWAParam\Vendor in Object inspector with loaded drawings.

With 3D drawings are now present bugs, but not described by you

wp

  • Hero Member
  • *****
  • Posts: 3731
Re: CAD program written in Lazarus / FPC
« Reply #156 on: August 26, 2017, 12:11:24 pm »
Vendor is Microsoft.
Lazarus trunk / fpc 3.0.0 / Win32

zamtmn

  • Sr. Member
  • ****
  • Posts: 293
Re: CAD program written in Lazarus / FPC
« Reply #157 on: August 26, 2017, 12:27:37 pm »
Setup Intel drivers and test.

wp

  • Hero Member
  • *****
  • Posts: 3731
Re: CAD program written in Lazarus / FPC
« Reply #158 on: August 26, 2017, 12:55:50 pm »
No, I was wrong. While your program says it is a Microsoft driver I see in the Control Panel that the driver is by Intel, version 9.17.10.4459, dated May 19, 2016. Hmmh... Maybe it did not make it into Win10 correctly from Win 7? (see below) I tried "Update driver" in the same dialog --> "You already have the latest driver". I'll have to investigate...

[EDIT]
No - Win 10 was introduced in 2015. How time flies by!
There is no newer driver on the Intel site.
« Last Edit: August 26, 2017, 01:12:10 pm by wp »
Lazarus trunk / fpc 3.0.0 / Win32

zamtmn

  • Sr. Member
  • ****
  • Posts: 293
Re: CAD program written in Lazarus / FPC
« Reply #159 on: August 26, 2017, 01:09:26 pm »
You using the driver included in Windows, they support a limited opengl, just for show.
Download from the laptop manufacturer website normal Intel video driver...
Or use GDI render backend (set "Render\Render backend" to "GDI" before create or loading drawing) and 2D drawings
« Last Edit: August 26, 2017, 01:18:06 pm by zamtmn »

wp

  • Hero Member
  • *****
  • Posts: 3731
Re: CAD program written in Lazarus / FPC
« Reply #160 on: August 26, 2017, 01:15:59 pm »
"GDI" is working. Thank you.
Lazarus trunk / fpc 3.0.0 / Win32

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus