When trying to calculate an area I get the following error.
12:23:18 <Exception> CmdTechDrawAreaAnnotation - forbidden border element found
Feature #7317: Calculate Area of Arbitrary Faces (was Techdraw Problem Calculating Area)
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 21
- Joined: Wed May 25, 2022 5:42 am
Feature #7317: Calculate Area of Arbitrary Faces (was Techdraw Problem Calculating Area)
Last edited by Kunda1 on Tue Apr 18, 2023 2:28 pm, edited 1 time in total.
Reason: Renamed topic with github issue number and title
Reason: Renamed topic with github issue number and title
Re: Techdraw Problem Calculating Area
So maybe, just maybe there is a forbidden border element somewhere? Like a zero length line, self intersecting spline, ...? How could anyone guess without a file, FC version info, steps to reproduce? Seen the IMPORTANT banner and link on top of the page?
-
- Posts: 21
- Joined: Wed May 25, 2022 5:42 am
Re: Techdraw Problem Calculating Area
Thanks for letting me know that my poest was not specific.
Original File was too large for uploading.
That is why I left it out.
I have small Drawing that has the same problem.
I upload this one.
Original File was too large for uploading.
That is why I left it out.
I have small Drawing that has the same problem.
I upload this one.
Code: Select all
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods:
* parts_library
Re: Techdraw Problem Calculating Area
Faces with curved edges are not supported: TechDraw ExtensionAreaAnnotation and in your case there are such edges (doors).
-
- Posts: 21
- Joined: Wed May 25, 2022 5:42 am
Re: Techdraw Problem Calculating Area
Thanks for th info.
So I deleted the door and it works.
But now my question ist the sample also contains doors but only the opening lines are shown, how do I go about to make it work like the example on the link?
So I deleted the door and it works.
But now my question ist the sample also contains doors but only the opening lines are shown, how do I go about to make it work like the example on the link?
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Techdraw Problem Calculating Area
AreaAnnotation is only smart enough to handle polygons at the moment. The curved arc of the door opening confuses it.Creative25 wrote: ↑Fri Aug 05, 2022 12:30 pm But now my question ist the sample also contains doors but only the opening lines are shown, how do I go about to make it work like the example on the link?
AreaAnnotation should be smart enough to take a list of any faces and return the area. There might still be an issue with the door.
I've created issue #7317 so this doesn't get forgotten.
-
- Posts: 21
- Joined: Wed May 25, 2022 5:42 am
Re: Techdraw Problem Calculating Area
So at the moment it is a limitation?
A nice simple feature would be if you could select the corners of an area and then press calculate.
A nice simple feature would be if you could select the corners of an area and then press calculate.
Re: Feature #7317: Calculate Area of Arbitrary Faces (was Techdraw Problem Calculating Area)
Anyone interested implementing this before v0.21 feature freeze ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs