Commit Graph

88 Commits

Author SHA1 Message Date
vocx-fc
4198bd4bc9 Draft: importSVG.py, improved Pythonic style, 4 space indentations 2019-08-09 18:46:46 -03:00
vocx-fc
a526701fe8 Draft: importSVG.py, improved Pythonic style, 4 space indentation 2019-08-09 18:46:46 -03:00
vocx-fc
3d7b20fb93 Draft: importSVG.py, improved Pythonic style, spacing around mathematical operators and commas 2019-08-09 18:46:46 -03:00
vocx-fc
18a7d534d9 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
b3e37fff32 Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
6571ce7f2f Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
8968a58d9b Draft: importSVG.py, improved Pythonic style, 4 spaces instead of 8 2019-08-09 18:46:46 -03:00
vocx-fc
5666854a94 Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
07caacd4ca Draft: importSVG.py, improved Python style, spacing around commas 2019-08-09 18:46:46 -03:00
vocx-fc
4c19b5a398 Draft: importSVG.py, improved Python style, spacing and indentation 2019-08-09 18:46:46 -03:00
vocx-fc
d85d9e18e6 Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
0d12cad0d3 Draft: importSVG.py, improved docstrings, and comments in the svgHandler class 2019-08-09 18:46:46 -03:00
vocx-fc
3266a55a27 Draft: importSVG.py, improved docstrings, and comments in the functions 2019-08-09 18:46:46 -03:00
vocx-fc
97a648ba3c Draft: importSVG.py, improved docstrings, and comments 2019-08-09 18:46:46 -03:00
vocx-fc
f58858c478 Draft: importSVG.py, improve the docstrings, and indentations 2019-08-09 18:46:46 -03:00
Syres916
9ccd2e4762 [Draft] ImportSVG apply suggested changes
along with two bug fixes subsequently detected in testing
2019-07-25 23:36:34 -03:00
Syres916
e7ce5fcd1a [Draft] ImportSVG - Set DPI automatically where possible
...otherwise request user input
2019-07-25 23:36:34 -03:00
Yorik van Havre
d9c765eba5 Draft: better handling of non-closing paths in SVG import - issue #2488 2019-02-18 23:22:31 -03:00
donovaly
d0008e6756 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
2da5a78d86 minor fix on SVG import 2019-01-07 12:26:34 -02:00
looooo
c2be67e812 py3: iteritems -> items, iterkeys -> keys 2018-12-08 11:27:22 -03:00
Yorik van Havre
88f47ee725 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
19bd7a8f4c [For v0.18]Draft: add translation() + move \n out of translation strings 2018-04-11 10:51:13 -03:00
luz.paz
bb9d49dd18 Weekly misc. typo fixes 2018-03-05 09:25:48 -05:00
easyw
a1c5b2a4bd 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
a43e709dcb import svg with colors 2017-10-19 13:18:02 +02:00
Markus Lampert
56b3c19a0e Fixed SVG import of rectangles with rounded corners. 2017-07-18 22:07:37 -07:00
Kunda
a7414e5789 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Yorik van Havre
876b3595dc py3: open function is in module 'io' in py3 instead of __builtin__ 2017-01-17 09:24:59 +01:00
wmayer
c3fe2de155 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
9a4b4695e2 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
wmayer
574e85be9d switch off dtd validation when reading svg files 2016-09-16 23:09:56 +02:00
Yorik van Havre
dd87a93bbe 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
f8571fb2a4 Changed all references to DraftGeomUtils.sortEdges to Part.__sortEdges__ 2015-09-04 11:54:57 -03:00
Yorik van Havre
323cede7ce Draft: Enabled importing of SVG's symbol and use elements 2015-06-26 17:01:43 -03:00
Sebastian Hoogen
80056b0f4d use transformGeometry in importSVG
partly reverts f045df1ef3 as workaround
for issue #2062
2015-05-09 19:57:36 +02:00
Sebastian Hoogen
dc09f5af29 catch non-orthogonal transformation matrix
bugfix for f045df1ef3
2015-01-20 11:26:39 +01:00
Yorik van Havre
8eaba7d22c Draft: Fixed svg export view box - fixes #1810 2015-01-17 12:51:09 -02:00
Sebastian Hoogen
827e6e5fd5 avoid using transformGeometry in importSVG 2015-01-14 11:56:45 -02:00
Sebastian Hoogen
997392e2e5 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
203fcb7a1b Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
Sebastian Hoogen
67b01c5aae try to use Execptions in Draft module 2014-09-17 12:52:36 +02:00
Sebastian Hoogen
1bdee9179f importSVG: recognize relative scaling in viewBox attribute 2014-07-13 11:37:36 +02:00
Yorik van Havre
a8561a9eea Fixes Draft encoding bug - fixes #1487 2014-03-22 13:25:59 -03:00
Sebastian Hoogen
b841624096 Draft SVG export: fix viewbox for raw output 2014-02-04 15:44:35 -02:00
Yorik van Havre
5ba7e07f7c Draft: applied ulrich1a's fix to svg output - fixes #1365 2014-01-26 20:32:35 -02:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Yorik van Havre
def617c89e Draft: Fixes in DXF exporter 2013-08-11 12:46:36 -03:00
Yorik van Havre
3f3deb3e18 Draft: Fixes bugs from last commit 2013-07-31 13:55:06 -03:00