Recent

Author Topic: LazCAD – First Release!  (Read 8041 times)

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #30 on: September 25, 2024, 12:49:48 pm »
@amir.eng
Quote
I downloaded it for win64.
it gives this error and menus doesn't work.

Please adjust the INI file. Regards, Mustafa
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #31 on: September 25, 2024, 01:37:41 pm »
Hello,

To avoid issues with the INI file, I embedded minimal configuration files as resources within the executable. Previously, users were expected to configure the INI file before the first run, but often didn't, causing the program to malfunction. Now, if the "data" directory doesn't exist on first startup, it will be automatically created along with subdirectories and minimal configuration. An initial INI file will also be generated when the application closes. Additionally, I've integrated LazTTF2Vector, a simple TrueType Font to Vector converter. Here's a short video explaining the download and LazTTF2Vector integration: https://www.hackcad.com/maindownloads/LazCAD_Download.mkv

Regards,
Mustafa.
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

LBox

  • New Member
  • *
  • Posts: 49
Re: LazCAD – First Release!
« Reply #32 on: September 28, 2024, 03:25:24 pm »
Hello everyone,

I am excited to introduce the first version of LazCAD, a CAD project based on FPC/Lazarus and CADSys4.2.
It’s still a work in progress, but I wanted to share this milestone with you and am eager to hear your feedback!

Current Status:
The basic functionality of LazCAD is in place, and you can already create simple models.
There are still many things to address and open questions – for example, the RuntimeScripter is completely missing.
I’m unsure whether to integrate PascalScripter, Python, or maybe both as scripting languages.
The Undo/Redo engine is also still on the to-do list.

What’s Next?
In future versions, I will work on grouping the properties of entities in the Object Inspector to improve clarity.
Additionally, I will develop the script integration and Undo/Redo functionality further.
...
Best regards,
Maurog.

OMG!!! WOW!!!  8)
This is incredible work and it is very inspiring. I wish good luck to your product  :)
I hope LazCAD will become very popular among users of CAD programs  ::)

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #33 on: September 29, 2024, 02:51:18 pm »
@LBox

Quote
OMG!!! WOW!!! 
This is incredible work and it is very inspiring. I wish good luck to your product 
I hope LazCAD will become very popular among users of CAD programs

Hello LBox,

Thank you for your motivating words! Today, I added an Undo/Redo engine (from Stellasoft) as well as several primitives (segment, sector, symbols). Additionally, I revised the block manager.

Here’s a short video showcasing the new features.
Video-Link: https://www.hackcad.com/maindownloads/LazCAD_Update_1.mp4
By the way, if you'd like to collaborate, feel free!

Best regards,
Mustafa.
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #34 on: September 29, 2024, 03:10:36 pm »
Hello,

Next, I would like to group object properties in the Object Inspector (e.g., Position.Top, Position.Left, Position.Bottom, etc.). Is there perhaps an example or guide that I could refer to for this?

Thank you in advance for your support.

Best regards,
Mustafa

And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

zamtmn

  • Hero Member
  • *****
  • Posts: 640
Re: LazCAD – First Release!
« Reply #35 on: September 29, 2024, 05:11:04 pm »
You plan multiselect in object inspector and undo\redo for changes from object inspector?

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #36 on: September 29, 2024, 06:28:46 pm »
Quote
You plan multiselect in object inspector and undo\redo for changes from object inspector?

Thank you for your feedback. After changes in the Object Inspector, Undo/Redo events are already triggered. However, I do not plan to handle multiple objects in the Object Inspector at this time.

I need a simple example of how to group the properties of a single object in the inspector.
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

zamtmn

  • Hero Member
  • *****
  • Posts: 640
Re: LazCAD – First Release!
« Reply #37 on: September 29, 2024, 06:47:02 pm »
I don't use standard inspector, and can't give an example

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #38 on: September 29, 2024, 09:02:45 pm »
@zamtmn

Thanks anyway.
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

bobby100

  • Sr. Member
  • ****
  • Posts: 260
    • Malzilla
Re: LazCAD – First Release!
« Reply #39 on: September 29, 2024, 10:09:34 pm »
Hello,

Next, I would like to group object properties in the Object Inspector (e.g., Position.Top, Position.Left, Position.Bottom, etc.). Is there perhaps an example or guide that I could refer to for this?

Thank you in advance for your support.

Best regards,
Mustafa
In Lazarus, if a class contains a published variable that is also a class with published properties, these will be grouped together in Object Inspector.
In your example, if Position were a class with published Top, Left etc. and you have a class that contains a published variable of the type Position, this would give your desired grouping in Object inspector.

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #40 on: September 30, 2024, 03:07:39 am »
Thank you bobby.
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #41 on: October 26, 2024, 04:23:26 pm »
There is a new version. New features include:

Properties in the inspector are now grouped.
Entities now have their own Pen and Brush properties.
Entity angles can be entered precisely via the inspector.
And the cheetah in splash finally runs! :D

Video: https://www.hackcad.com/maindownloads/inspector_colors.mp4

What I will implement next:
--Runtime scripter and runtime form designer for script integration.
--The PropertyGrid will be replaced by the ObjectInspector to edit multiple objects simultaneously
--Command-line integration.

P.S. The links from the initial posts have been updated.
There are two new components: TPenStyleComboBox and TBrushStyleComboBox. The package is also available in the src/components directory.
« Last Edit: October 26, 2024, 05:31:44 pm by maurog »
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

staratel20

  • Full Member
  • ***
  • Posts: 213
Re: LazCAD – First Release!
« Reply #42 on: November 06, 2024, 04:53:38 pm »
GREAT JOB!

I like loading speed and size! Some minor things - the ruler is blinking for some reason(can you use double buffering or something...) ,  hints are not quite intuitive (see attachment)

UPD: no scrolling while MMB holding
« Last Edit: November 06, 2024, 07:11:48 pm by staratel20 »
Windows 7 SP1 x64, FPC 3.0.0, Lazarus from trunk: http://svn.freepascal.org/svn/lazarus/trunk

CountIdentity, ModeClassName - good property naming
IdentityCount,  ClassNameMode  - bad property naming

maurog

  • New Member
  • *
  • Posts: 36
Re: LazCAD – First Release!
« Reply #43 on: November 07, 2024, 07:28:06 pm »
@starate120
Quote
GREAT JOB!

I like loading speed and size! Some minor things - the ruler is blinking for some reason(can you use double buffering or something...) ,  hints are not quite intuitive (see attachment)

UPD: no scrolling while MMB holding


Hello,

First of all, thank you for your kind words and professional feedback! The points you mentioned have already been added to the to-do list. I have integrated PascalScript as the runtime scripter. Currently, I am working on the interface between PascalScript and the CAD system. Once the interface is complete, I will address the points you mentioned.

Yes, the CADSys4 library is indeed very lightweight and clean (OOP). That's why I am not giving up, even though the author (Piero Valagussa) almost did. I contacted him, and at my request, he immediately switched the library to the MIT license. This library also has a 3D version. By the way, Piero was very impressed with LazCAD! If I can present a professional product, he might even release the source code for the 3D version. Then we would have a complete 2D/3D CAD system in FPC/Lazarus.

Once again, thank you for your valuable feedback! Below is a preview of the new version with the RuntimeScripter/Debugger.
https://www.hackcad.com/maindownloads/LazCAD_PascalScrip.mp4

Best regards,
Mustafa
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

maurog

  • New Member
  • *
  • Posts: 36
Implementation of TCircularArc2D.SetCenterPoint: Move or Reshape?
« Reply #44 on: November 14, 2024, 08:08:08 pm »
Hello everyone,

I’m currently working on implementing a SetCenterPoint method for a TCircularArc2D object, and I’m uncertain about which behavior would be the most intuitive. I’d really appreciate any insights or suggestions from those with similar experience.

There are two possible approaches, and I’d like to know which one you think makes more sense:

Moving the Arc: The method would simply move the entire arc to a new center position, preserving the radius, start, and end angles. The arc would essentially shift as a whole to the new location.

Reshaping the Arc: The method would set a new center point but retain the start and end points, adjusting the radius and arc shape accordingly. The arc would then be recalculated to incorporate the new center point.

What would you intuitively expect from a SetCenterPoint method? Is there a standard approach for this type of functionality that you’ve found works well?

Thanks so much for your help!

PS. @staratel20
Quote
the ruler is blinking for some reason(can you use double buffering or something...)
Double buffering done; once I finish with the scripting interface, I will upload it.
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

 

TinyPortal © 2005-2018