- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
vocx-fc | yorik | master | 2020-06-23 13:38:23 | master 94b0fe15 |
Changeset | Draft: move units functions outside DraftGui.py The functions `getDefaultUnit`, `makeFormatSpec`, `displayExternal` are used to get the default unit schema for lengths and angles, and display a string with a particular format. They aren't used in `DraftGui.py`, but are used by the viewprovider of the Dimension objects. Therefore, they are moved into a separate module, so that they can be imported without using the entire `DraftGui` module. |
|||
mod - src/Mod/Draft/CMakeLists.txt | Diff File | |||
mod - src/Mod/Draft/DraftGui.py | Diff File | |||
add - src/Mod/Draft/draftutils/units.py | Diff File |