FreeCAD: master 4b8ebccc

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-07-16 03:47:47 master 4bf665a6
Changeset Draft: improve style and indentation of getSVG function

Also rename `getSVG` to `get_svg`.

Instead of testing `obj.isDerivedFrom('Part::Feature')`
we test for a Shape, `hasattr(obj, 'Shape')`.
This is to support the SVG generation of `App::Links`.
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/getSVG.py Diff File
mod - src/Mod/Draft/importSVG.py Diff File