View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001379 | Arch | Patch | public | 2014-01-31 23:50 | 2014-04-16 20:38 |
Reporter | galou_breizh | Assigned To | yorik | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | All | ||||
Product Version | 0.13 | ||||
Summary | 0001379: Collada output in millimeters instead of meters | ||||
Description | If I understood correctly, the default unit for collada is meter. I wrote a patch against Luke Parry's repository to correct the problem. Works for output and input. Please consider for merging. Please note that I preferred this solution over the equally trivial solution of setting the unit with unitmeter in the asset metadata because the ROS collada importer (the one in rviz at least) doesn't support it. | ||||
Steps To Reproduce | - Output a part into collada (dae) format - The values in the exported file are in FreeCAD unit, i.e. millimeter, should be in meter | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
|
|
This is a good idea, but I don't like doing this automatically by default, as we are guaranteed to get users who want specific freecad units to be kept, and will complain of this conversion. I'd rather add an option for that in the preferences. I'll do that ASAP. |
|
If you prefer to do it yourself (I might not have time to do it before a couple of days/weeks), it basically involves: - Compile the freecad widgets for qt designer - Edit the archprefs-import.ui with Qt designer and add an option, for example a number field to set the conversion factor (default 1, but could be set to 1000, or .001) - Instead of using "unit = unitmeter / 0.001", use your preference value |
FreeCAD: master 5d5ed949 2014-04-16 22:21:21 Details Diff |
Arch: Added pref options for window transparency and collada export scaling - fixes 0001379 |
Affected Issues 0001379 |
|
mod - src/Mod/Arch/ArchWindow.py | Diff File | ||
mod - src/Mod/Arch/Arch_rc.py | Diff File | ||
mod - src/Mod/Arch/Resources/ui/archprefs-defaults.ui | Diff File | ||
mod - src/Mod/Arch/Resources/ui/archprefs-import.ui | Diff File | ||
mod - src/Mod/Arch/importDAE.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-31 23:50 | galou_breizh | New Issue | |
2014-01-31 23:50 | galou_breizh | File Added: collada_unit.patch | |
2014-02-01 12:37 | yorik | Assigned To | => yorik |
2014-02-01 12:37 | yorik | Status | new => assigned |
2014-02-01 12:41 | yorik | Note Added: 0004132 | |
2014-02-01 12:46 | yorik | Note Added: 0004133 | |
2014-02-04 15:08 | yorik | Project | FreeCAD => Arch |
2014-04-16 20:38 | yorik | Changeset attached | => FreeCAD Master master 5d5ed949 |
2014-04-16 20:38 | yorik | Status | assigned => closed |
2014-04-16 20:38 | yorik | Resolution | open => fixed |