Is there a way to get the area of a hatch?

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
zilmosantos
Active Member
Posts: 28
Joined: Fri Aug 13, 2021 9:55 am

Is there a way to get the area of a hatch?

Post by zilmosantos » Mon Oct 18, 2021 2:00 pm

Friends, on my projects I always need to insert the weight of the parts in the parts list.

I work with QCAD at my part time job at my home.

If I have a piece with a lot of holes or a complex geometry, the way I'm used to get the area in my main job software (AutoCAD) is make a hatch and the area of it and in an excel sheet I insert the area, the depth and get the weight of the part.

Is there a way to get the area of a complex geometry in qcad without need to take the area of every little part and make calculations by hand?

The images show an example of what I'm saying.
Attachments
20211018_095659.jpg
The area is shown in the properties tab
20211018_095659.jpg (7.51 MiB) Viewed 3780 times
20211018_095627.jpg
Complex geometry with hatch to get the area
20211018_095627.jpg (4.12 MiB) Viewed 3781 times

User avatar
ryancousins
Premier Member
Posts: 367
Joined: Thu Mar 19, 2020 3:47 am
Location: Michigan, USA

Re: Is there a way to get the area of a hatch?

Post by ryancousins » Mon Oct 18, 2021 2:15 pm

I do not believe the area of a hatch is currently a value that is automatically generated or that can easily be generated except with the method you describe where you would subtract the value of each cutout manually. Someone with a little scripting ability could probably automate that. I wish that were something I knew how to do!

CVH
Premier Member
Posts: 3467
Joined: Wed Sep 27, 2017 4:17 pm

Re: Is there a way to get the area of a hatch?

Post by CVH » Mon Oct 18, 2021 3:09 pm


CVH
Premier Member
Posts: 3467
Joined: Wed Sep 27, 2017 4:17 pm

Re: Is there a way to get the area of a hatch?

Post by CVH » Fri Oct 29, 2021 12:05 pm

Please refer to:
viewtopic.php?t=8846

Regards,
CVH

zilmosantos
Active Member
Posts: 28
Joined: Fri Aug 13, 2021 9:55 am

Re: Is there a way to get the area of a hatch?

Post by zilmosantos » Fri Oct 29, 2021 1:59 pm

CVH wrote:
Fri Oct 29, 2021 12:05 pm
Please refer to:
viewtopic.php?t=8846

Regards,
CVH

Thank you so much and congratulations for your great efforts to help the community, CHV!! I'll test it ASAP.

Post Reply

Return to “QCAD 'How Do I' Questions”