Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch_Schedule accepts m^3 but not m^2 as units #13796

Closed
2 tasks done
furgo16 opened this issue May 2, 2024 · 0 comments · Fixed by #13803
Closed
2 tasks done

Arch_Schedule accepts m^3 but not m^2 as units #13796

furgo16 opened this issue May 2, 2024 · 0 comments · Fixed by #13803
Labels
Feature FR for improvements or new features UI/UX WB BIM Related to the BIM/Arch Workbench

Comments

@furgo16
Copy link
Contributor

furgo16 commented May 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

When using the Arch_Schedule tool, the Unit column does not accept m^2 as an area unit. or m2 need to be specified instead. This is not consistent with the ability to specify e.g. m^3 as a volume unit, which works.

Whenever specifying m^2 in the Unit column of the schedule definition dialog and updating the associated spreadsheet, the following error appears:

17:34:33  Wall008 (Insulation, separate baseline):pyException: Traceback (most recent call last):
  File "/snap/freecad/1005/usr/Mod/Arch/ArchSchedule.py", line 366, in execute
    v = fs.format(FreeCAD.Units.Quantity(d,tp).getValueAs(unit).Value)
<class 'Base.ParserError'>: syntax error
17:34:33  Test schedule: syntax error

Full version info

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37085 (Git) Snap 1005
Build type: Release
Branch: main
Hash: c7c07f28c639e82a6d2c58f4aaef5b42cddcc83c
Python 3.10.12, Qt 5.15.10, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Installed mods: 
  * OpenTheme 2024.4.20
  * BIM 2021.12.0
  * Curves 0.6.35
  * ezydxf
  * ExplodedAssembly
  * BillOfMaterials 0.0.8.2
  * Ondsel-Lens 2024.4.16.01
  * Assembly4 0.50.12

Subproject(s) affected?

Arch

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added WB BIM Related to the BIM/Arch Workbench UI/UX Feature FR for improvements or new features labels May 2, 2024
Roy-043 added a commit to Roy-043/FreeCAD that referenced this issue May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature FR for improvements or new features UI/UX WB BIM Related to the BIM/Arch Workbench
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants