Forum > Third party

LazCAD – First Release!

<< < (11/12) > >>

maurog:
You’re absolutely right – it’s often only through practical use that it becomes clear which functions are truly needed. The idea of using scripts later for generating reports in drawings sounds promising and could definitely be useful in the future.

maurog:
Because we mentioned scripting, on the other hand, a clearly defined scripting interface or a simple plug-in mechanism for a large project like ZCAD, which is naturally associated with a certain level of complexity, could be a valuable way to attract new developers. Such an interface would allow the application to be broken down into smaller, more manageable parts, making it easier for developers to get started. They could then focus on specific extensions or customizations without needing to engage with the entire structure of the project. This could help open up the project further and expand the community.

zamtmn:
  I am not a programmer and have no experience developing CAD programs. ZCAD is big and complex, but it is still an experiment. There is a lot of code when I try to do something in different ways, gradually settling on the best one.
  I added LAPE scripting language integration, got the ability to draw simple primitives on the drawing, and stopped there for now. I don't think it's necessary right now and doed just for a check mark - means to redo it later.
  I'm interested in interactivity, for example to have a script-generated report automatically change with changes in the drawing or smart primitives that are a cable or a device, not just a line or a square.
  Also the speed of the program with huge drawings is very important to me, I spend a lot of effort to improve it.
Bringing in developers is certainly interesting, but I won't be able to provide a fixed API right now, some fundamental stuff hasn't been finalized yet. Another thing is to attract users. Users don't need APIs and scripts, they need stability, speed and compatibility with autocad

maurog:
Thanks for the explanation! I understand and find it exciting to see how it will develop. Wishing you lots of success with your work on ZCAD.

maurog:
Hello everyone,

I’ve uploaded a new version of LazCAD. Here are the main updates:

RuntimeScripter: The scripter is now integrated and fully functional.
Limitation:
The ScripterIDE currently does not support multi-line comments in the {...} format. When importing code from Delphi, issues may occur. However, single-line comments in the // format are supported without any issues.


Simple Help: A basic HTML help system with multiple pages has been added.
It’s not complete yet but includes an overview of the RuntimeScripter functions,
so you can see what has been imported into the scripter.
Additionally, the help supports switching between English and German,
which can be configured via the inifile (use the option language=en or language=ger).

Other Changes:

--Ruler flickering fixed: Thanks to feedback from staratel20,
I’ve resolved the flickering issue by implementing double buffering.
New property for Ruler: The Ruler component now has a new property called ShowMarker (boolean),
allowing you to enable or disable markers via the Object Inspector.
--Pan functionality using the middle mouse button: This feature has been implemented,
but it’s still slightly inaccurate. I’ll fix this once I get a mouse with three buttons for testing.
--Hints: These will be improved once the application becomes multilingual.

Bugs:
There are probably still several bugs. I wasn’t able to test the entire application step by step,
as it’s very time-consuming. If you find any issues, please report them, and I’ll fix them.

Examples:
In the directory data/PascalScripts/interactive, you’ll find some example scripts.
These demonstrate basic functionalities like dialogs (e.g., OpenFile),
creating and manipulating GraphicObjects, and more.

Here’s a short video showing the updates:
https://www.hackcad.com/maindownloads/LazCAD_Scripter_Help.mp4

Thank you all for your support and feedback!

Best regards,
Maurog.

PS: The download links from the first post are still up to date.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version