Commit Graph

95 Commits

Author SHA1 Message Date
vocx-fc
696cbeca49 Draft: importSVG.py, improved Pythonic style, 4 space indentation instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
822327ca04 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
dec7bd91bc Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
59eb93a708 Draft: importSVG.py, improved Pythonic style, spaces and comments 2019-08-09 18:46:46 -03:00
vocx-fc
330746d125 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
e180d28eae Draft: importSVG.py, fixed indentation that causes an error 2019-08-09 18:46:46 -03:00
vocx-fc
96046379be Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
3d7995da71 Draft: importSVG.py, improved Pythonic style, 4 space indentations 2019-08-09 18:46:46 -03:00
vocx-fc
2068c0346c Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
80ebb72c90 Draft: importSVG.py, improved Pythonic style, spacing around mathematical operators and commas 2019-08-09 18:46:46 -03:00
vocx-fc
c9440078a7 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
023b28803a Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
dacb262f6f Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
945eee8f86 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
0e2c288137 Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
a7b305056c Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
3f653bf9f2 Draft: importSVG.py, improved Python style, spacing and indentation 2019-08-09 18:46:46 -03:00
vocx-fc
227dfc8a32 Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
fe409d5d84 Draft: importSVG.py, improved docstrings, and comments in the svgHandler class 2019-08-09 18:46:46 -03:00
vocx-fc
22e0a19f11 Draft: importSVG.py, improved docstrings, and comments in the functions 2019-08-09 18:46:46 -03:00
vocx-fc
6c2a0cc55e Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
d4d3e7fd26 Draft: importSVG.py, improve the docstrings, and indentations 2019-08-09 18:46:46 -03:00
Syres916
7674502063 [Draft] ImportSVG apply suggested changes
along with two bug fixes subsequently detected in testing
2019-07-25 23:36:34 -03:00
Syres916
3db7496ebf [Draft] ImportSVG - Set DPI automatically where possible
...otherwise request user input
2019-07-25 23:36:34 -03:00
Yorik van Havre
60d6a21493 Draft: better handling of non-closing paths in SVG import - issue #2488 2019-02-18 23:22:31 -03:00
donovaly
ae3b57be3b export Flattened SVG fixes for python 3
To be able to export as flattened SVG with the Conda build of FC one needs these fixes.
2019-02-09 20:01:44 -02:00
easyw
fdb855e366 minor fix on SVG import 2019-01-07 12:26:34 -02:00
looooo
1476caf281 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Yorik van Havre
024540dbbe Fixed coverity issues
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
luz.paz
e0161f4652 [For v0.18]Draft: add translation() + move \n out of translation strings 2018-04-11 10:51:13 -03:00
luz.paz
6031223ebe Weekly misc. typo fixes 2018-03-05 09:25:48 -05:00
easyw
095bc78627 avoid stop loading on coincident points
reference at the forum:
https://forum.freecadweb.org/viewtopic.php?f=3&t=25146&p=197699#p197607
2017-11-02 10:24:25 +01:00
microelly2
571aab7849 import svg with colors 2017-10-19 13:18:02 +02:00
Markus Lampert
c2f5b0ad5f Fixed SVG import of rectangles with rounded corners. 2017-07-18 22:07:37 -07:00
Kunda
dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Yorik van Havre
8ad2c699f8 py3: open function is in module 'io' in py3 instead of __builtin__ 2017-01-17 09:24:59 +01:00
wmayer
1855c80f36 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
ee07ff6231 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
wmayer
e05d2d5de3 switch off dtd validation when reading svg files 2016-09-16 23:09:56 +02:00
Yorik van Havre
3665b77827 Draft: Added a pref option to disable SVG page scaling on import - fixes #2062 2015-09-05 23:35:52 -03:00
Yorik van Havre
91b2506ccc Changed all references to DraftGeomUtils.sortEdges to Part.__sortEdges__ 2015-09-04 11:54:57 -03:00
Yorik van Havre
38fffd8218 Draft: Enabled importing of SVG's symbol and use elements 2015-06-26 17:01:43 -03:00
Sebastian Hoogen
d4f3cb7277 use transformGeometry in importSVG
partly reverts f045df1ef3 as workaround
for issue #2062
2015-05-09 19:57:36 +02:00
Sebastian Hoogen
2509e59b51 catch non-orthogonal transformation matrix
bugfix for f045df1ef3
2015-01-20 11:26:39 +01:00
Yorik van Havre
8fbe631046 Draft: Fixed svg export view box - fixes #1810 2015-01-17 12:51:09 -02:00
Sebastian Hoogen
f045df1ef3 avoid using transformGeometry in importSVG 2015-01-14 11:56:45 -02:00
Sebastian Hoogen
ca3ad00da8 SVG export: minor improvements and bugfixes
export Names as "id" attributes and Lables to "title" elements.
avoid duplicate path names in SVG export
handle faces with holes in SVG export
sort the edges in given wires using fixWire()
2014-12-23 15:57:57 +01:00
Yorik van Havre
daedcf4f1c Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
Sebastian Hoogen
d537fc9b53 try to use Execptions in Draft module 2014-09-17 12:52:36 +02:00