wrong unit for Arch defaults
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
wrong unit for Arch defaults
-----------------------------------------------------------------------------------------------------------------------
EDIT: see thread viewtopic.php?f=23&t=13581 and two workarounds to solve the issue temporary viewtopic.php?f=23&t=13581&start=10#p117644
-----------------------------------------------------------------------------------------------------------------------
I seams to have wrong units for Arch defaults, and I do not know how to fix.
- start FreeCAD
- change to arch wb
- check units --> mm
- check Arch defaults --> screen
- new file
- new wall --> default values are
-- l = 0 millimeter
-- w = 20 meter
-- h = 300 meter
- change w to 0.2 m and h to 3.0 m
- make a 10 meter long wall
- select the wall
- add a window
-- same problem all defaults are in meter not in millimeter
screens attached
EDIT: see thread viewtopic.php?f=23&t=13581 and two workarounds to solve the issue temporary viewtopic.php?f=23&t=13581&start=10#p117644
-----------------------------------------------------------------------------------------------------------------------
I seams to have wrong units for Arch defaults, and I do not know how to fix.
- start FreeCAD
- change to arch wb
- check units --> mm
- check Arch defaults --> screen
- new file
- new wall --> default values are
-- l = 0 millimeter
-- w = 20 meter
-- h = 300 meter
- change w to 0.2 m and h to 3.0 m
- make a 10 meter long wall
- select the wall
- add a window
-- same problem all defaults are in meter not in millimeter
screens attached
- Attachments
-
- screen1.jpg (19.9 KiB) Viewed 5063 times
-
- screen.jpg (74.42 KiB) Viewed 5063 times
Last edited by bernd on Tue Mar 22, 2016 5:43 am, edited 2 times in total.
Re: wrong unit for Arch defaults
Might be the comma is the problem 100 meters are 10000 millimeters. I have changed the FreeCAD languarge to english but I'm on German local and comma is dezimal separator in Germany ?!?
Re: wrong unit for Arch defaults
Hola:
Yes. I have the same problem.
I always have the English language as default, and I have the same problem with defaults measurements.
I've not reported a bug because I haven't got time to study the issue (Also, I'm seeing a little problem with the normal extrusion in structures, but I need to find time to analyze it)
Gracias
Adios.
Yes. I have the same problem.
I always have the English language as default, and I have the same problem with defaults measurements.
I've not reported a bug because I haven't got time to study the issue (Also, I'm seeing a little problem with the normal extrusion in structures, but I need to find time to analyze it)
Gracias
Adios.
Re: wrong unit for Arch defaults
It seams a problem of the TaskViewWidget.
If a wall or structure is created by python the values from FreeCAD --> Pref --> Arch --> Defaults are used
If a wall or structure is created by python the values from FreeCAD --> Pref --> Arch --> Defaults are used
Code: Select all
import FreeCAD, Draft, Arch
baseline = Draft.makeLine(FreeCAD.Vector(500,0,0),FreeCAD.Vector(5000,0,0))
Arch.makeWall(baseline,None)
Arch.makeStructure()
App.ActiveDocument.recompute()
# take the values FreeCAD, Prefs, Arch, Defaults
Re: wrong unit for Arch defaults
Hm the comma/period problem again.. We definitely need to have a better look at that at some point
Re: wrong unit for Arch defaults
Can confirm this....
I have km in the window-options menu . See the attached screenshot.
BR
I have km in the window-options menu . See the attached screenshot.
BR
- Attachments
-
- screenshot with km in window-options.
- Screenshot km.png (156.23 KiB) Viewed 4965 times
Re: wrong unit for Arch defaults
this is working much better
Also, the attach between window and wall works fine, allowing to turn the wall with the window
Thanks
Also, the attach between window and wall works fine, allowing to turn the wall with the window
Thanks
Re: wrong unit for Arch defaults
I am in the process of replacing the way draft and arch are working with units, and a the proper way instead of the workaround we've been using until now, I believe the comma problem has good chances to disappear now
Re: wrong unit for Arch defaults
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Hi there,
the problem still occurs.
Regards
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Hi there,
the problem still occurs.
Regards
FreeCAD 0.20.1 64 bit
Windows 10
29410 (Git)
Windows 10
29410 (Git)
Re: wrong unit for Arch defaults
See links in first posts.Fernet wrote:the problem still occurs.Regards