WandererFan
d8eec8c7e1
Fix #1937 mis-shapen projections in TechDraw and Drawing
...
Complex curves need more bezier segments for accurate representation.
2017-05-30 15:44:38 +02:00
Yorik van Havre
de4d33cb84
Updated translations
2017-05-25 10:04:05 -03:00
Simon
1e854a482d
ProjectionAlgos: Make the style of the lines in the SVG file configurable.
...
* getSVG provides new style parameters for every kind of line:
V, V0, V1, H, H0, H1.
* Old line width parameters are removed. The style parameters
can be used instead.
* A style is a map container for svg attribute keys and values
(string, string).
* The Python interface is updated to offer the new style parameters
accordingly as a dict.
* Because there are many parameters on the function call now,
the Python interface supports keyword parameters.
* Update ArchSectionPlane to take advantage of the new style parameters.
This simplifies the code. String replacements could be removed
(done in a later commit).
* FeatureViewPy.cpp is – to my knowledge – the only function that used the
old line width parameters. I rewrote it to use the new style parameters.
2017-04-23 19:42:25 -03:00
Peter Lama
fa4bebf2e0
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
Yorik van Havre
9f44809e9e
Updated translations with latest files from crowdin
2017-03-06 11:53:09 -03:00
wmayer
f0188ae8ad
py3: ported Drawing to python3
2017-02-24 13:48:41 +01:00
Priit Laes
fa21cd5ec1
Drawing: Remove broken and unused DrawingAlgos.py file
2017-02-24 13:48:41 +01:00
Priit Laes
780348ef96
python: Drawing: *.py: Fix python3 syntax
2017-02-24 13:48:41 +01:00
Alexander Gryson
908de4eb78
Update Page template icons
2017-01-15 21:08:08 +01:00
Alexander Gryson
40b4d8c151
Don't depend on svg contents for file info
2017-01-15 21:08:08 +01:00
Alexander Gryson
4f7677ace1
Updated Metadata
2017-01-15 21:08:08 +01:00
Alexander Gryson
632e94e0c3
Update Drawing Workbench icons to Tango
2017-01-15 21:08:08 +01:00
Yorik van Havre
49c8d65bfe
updated ts files
2016-12-26 12:36:24 -02:00
wmayer
743b83e853
Add switch to select between Qt4 and Qt5
2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8
remove superfluous Qt includes
2016-12-13 15:40:49 +01:00
wmayer
19c9a9f819
remove superfluous Qt includes
2016-12-13 14:33:16 +01:00
wmayer
c997180a47
Qt4/Qt5 neutral changes:
...
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
Yorik van Havre
bf0d37bf28
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
wmayer
06da15e643
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer
677ec6cd30
fix coverity issues
2016-10-08 17:43:30 +02:00
wmayer
81ddb1c6c0
fix -Wextra & -Wdeprecated in Drawing
2016-09-22 15:29:10 +02:00
wmayer
24d466473a
fix Coverity issues
2016-08-21 14:44:14 +02:00
wmayer
fcdaf5405c
fix Coverity issues
2016-08-20 15:41:33 +02:00
wmayer
8bd18797c4
Coverity: fix high impact issues
2016-08-17 15:33:04 +02:00
Wolfgang E. Sanyer
d1d2f1f811
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
WandererFan
0319adeec7
wmayer patch for Win & OCC7 compat
2016-07-11 15:32:16 +02:00
Yorik van Havre
072f75a8a8
Material: allow to display Drawing Patterns in material editor - issue #2577
2016-06-09 22:19:45 -03:00
Yorik van Havre
5eb3944aeb
Added more SVG patterns + translation table - issue #2577
2016-06-04 17:41:23 -03:00
wmayer
cb73d010bb
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wmayer
fb30b1116a
+ fixes issue #0002224 : Drawings break on reopen. Template not found
2016-05-05 11:11:08 +02:00
Yorik van Havre
819f790900
updated translations
2016-04-06 22:39:34 -03:00
Eivind Kvedalen
ae111d11b5
Spreadsheet: Removed own expression parser and instead use the one in App.
2016-04-02 12:01:04 +02:00
Yorik van Havre
66e33b066a
Updated translation files from crowdin
2016-03-17 23:29:11 -03:00
Yorik van Havre
7d0012e160
Added latest translations from crowdin
2016-03-06 14:50:07 -03:00
triplus
93c7a6bcac
Add SVG workbench icons
2016-02-26 23:17:43 +01:00
Yorik van Havre
f93b1b26df
Added updated translations from crowdin - fixes #2443
2016-02-26 18:32:02 -03:00
Yorik van Havre
3106ca7df3
Added slovenian language
2016-02-03 13:36:51 -02:00
Yorik van Havre
758b0778d4
Updated translations with latest from crowdin
2016-02-01 23:32:58 -02:00
wmayer
d6109b5d29
+ simplify porting of Drawing module to Python3
2016-01-21 14:49:57 +01:00
wmayer
a0e7780fbd
+ fix crashes in ortho view panel
2016-01-13 17:40:20 +01:00
wmayer
a2e7fc1c31
+ improve error handling in projection panel in Drawing workbench
2016-01-13 14:48:51 +01:00
wmayer
7198bd8f03
+ handle degenerated ellipse for SVG output
2016-01-11 13:01:01 +01:00
Yorik van Havre
71eb5a295f
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2016-01-05 20:20:42 -02:00
Yorik van Havre
6cab0690c1
Drawing: support for text alignment in Spreadheetview
2016-01-05 20:20:25 -02:00
wmayer
2709266e83
+ do not include from .qrc generated .cpp file from other .cpp file but add it to build system
2016-01-05 17:35:58 +01:00
Mateusz Skowroński
c275b35d48
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
3fb195b2c7
+ fix major flaw in Spreadsheet module: do not include precompiled header in other header files
...
+ fix linking errors in drawing module
2016-01-04 16:03:00 +01:00
Yorik van Havre
80f27ca316
Updated ts files prior to translation cycle
2016-01-03 19:45:29 -02:00
Yorik van Havre
16e857cbef
Drawing: Add SpreadsheetView command - fixes #1805
2016-01-03 16:44:56 -02:00