Recent

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

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #255 on: October 21, 2022, 02:31:55 pm »
try run with "updatepo" command line swith
>>zcad.exe updatepo
if work then problem in localization subsystem. what locale in your system?

vertnik

  • New Member
  • *
  • Posts: 31
Re: CAD program written in Lazarus / FPC
« Reply #256 on: October 21, 2022, 02:48:36 pm »
Yes, it works.
My system locale is: slovenščina (Slovenija)

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #257 on: October 21, 2022, 04:11:00 pm »
ok. Last release work if run as
>>zcad.exe updatepo
?

vertnik

  • New Member
  • *
  • Posts: 31
Re: CAD program written in Lazarus / FPC
« Reply #258 on: October 23, 2022, 03:30:30 pm »
Yes.

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #259 on: October 26, 2022, 02:44:09 pm »
Bug fix release
https://github.com/zamtmn/zcad/releases/tag/0.9.10.0

Fixed a localization issue and a few more minor ones problems

Delphi100

  • Newbie
  • Posts: 5
Re: CAD program written in Lazarus / FPC
« Reply #260 on: November 16, 2022, 08:31:04 am »
Very nice. Please check:
1、Chinese Fonts Garbled code
2、Missing fill details

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #261 on: November 16, 2022, 10:39:52 am »
Unfortunately, there is currently no support for curved contours (circles, ellipses, arcs, splines). Hatching works correctly only in contours made of straight lines. The solution to this issue is difficult((

There is also no support for internal formatting of the autocad text. Try to remove formatting and tell zcad where to look for fonts

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #262 on: March 30, 2023, 01:02:54 am »
New release
https://github.com/zamtmn/zcad/releases/tag/0.9.11.0

- Dark theme for windows
- "extdrSmartTextEnt" extender for text entities inside devices
- A few fixes and as usual a lot of new bugs))

Linux binaries are also included. Building zcad from sources still causes many problems for those interested

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #263 on: September 26, 2023, 07:21:24 am »
Hi!
It became possible to draw electrical diagrams, or others where you need to get information about what is connected to what. Of course, it was possible to draw earlier, but there was no information about the connections

RPRI

  • Newbie
  • Posts: 2
Re: CAD program written in Lazarus / FPC
« Reply #264 on: February 13, 2024, 03:11:32 pm »
Hello,

i have installed the sources but i have a problem to comile the project.
It look's that the installation goes wrong.

This is the Output from the console:
Microsoft Windows [Version 10.0.19045.3930]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

d:\Data\Lazarus\Projekte_LazV2\zcad>D:\Programme\LazarusV2\fpc\3.2.2\bin\x86_64-win64\make cleanzcadelectrotech LP=D:\Programme\LazarusV2 PCP=D:\Programme\LazarusV2
process_begin: CreateProcess((null), git describe --tags, ...) failed.
rm -rf  cad_source/autogenerated/*
rm -rf  cad_source/autogenerated
rm -rf  cad/*
rm -rf cad
rm -rf lib/*
rm -rf errors/*.bak
rm -rf errors/*.dbpas
PCP=D:\Programme\LazarusV2
LP=D:\Programme\LazarusV2
ZP=\cad\bin\i386-win32
mkdir cad
mkdir cad_source\\autogenerated
cp -r environment/runtimefiles/common/* cad
cp -r environment/runtimefiles/zcadelectrotech/* cad
cp: environment/runtimefiles/zcadelectrotech/preload/xlsxtemplates/devinxlsx/???????.xlsx: No such file or directory
D:\Programme\LazarusV2\fpc\3.2.2\bin\x86_64-win64\make: *** [zcadelectrotechenv] Error 1

d:\Data\Lazarus\Projekte_LazV2\zcad>

When i try to compile it in the IDE ksome include files are not found.
{$INCLUDE buildmode.inc}

//if missing see https://github.com/zamtmn/zcad/blob/master/BUILD_FROM_SOURCES.md
In that document i can not find a solution.

Have you any idea?

Thank you and BR
Rainer

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #265 on: February 13, 2024, 11:28:41 pm »
Please delete environment/runtimefiles/zcadelectrotech/preload/xlsxtemplates folder

One of the developers added a file with cyrillic in the name, I'll ask he to fix it. The temporary solution is to delete these files, it will not interfere with the work

Update:
Fixed, just git pull
« Last Edit: February 14, 2024, 11:21:35 am by zamtmn »

terco

  • Newbie
  • Posts: 1
Re: CAD program written in Lazarus / FPC
« Reply #266 on: February 20, 2024, 08:40:34 pm »
Great job!

A friend and I we are doing a CAD in Gambas3, now starting to port it to Lazarus FPC. Maybe we can join forces!


zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #267 on: February 20, 2024, 08:47:59 pm »
Thanks! I'm for it

veb86

  • New member
  • *
  • Posts: 8
Re: CAD program written in Lazarus / FPC
« Reply #268 on: February 21, 2024, 08:42:09 am »
Maybe we can join forces!

ZCAD is a very large project that allows you to solve complex design problems. Now ZCAD has partially implemented BIM design ideas, which improves the quality of the product. ZCAD works stably and at high speed.
It would be very cool to join forces to create a cross-platform CAD/BIM program with open source code.

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: CAD program written in Lazarus / FPC
« Reply #269 on: March 07, 2024, 12:18:26 pm »
In fact, if you count by the number of lines, this is a small project, only ~160 thousand lines, excluding packages. ZCAD is very lacking in basic editing tools, I have not been able to do anything in this direction for many years((

 

TinyPortal © 2005-2018