Simon
9633c94515
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
a75a98ef27
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
6b66a38ee3
Updated translations with latest files from crowdin
2017-03-06 11:53:09 -03:00
wmayer
a101d426a4
py3: ported Drawing to python3
2017-02-24 13:48:41 +01:00
Priit Laes
744724af51
Drawing: Remove broken and unused DrawingAlgos.py file
2017-02-24 13:48:41 +01:00
Priit Laes
55826040d2
python: Drawing: *.py: Fix python3 syntax
2017-02-24 13:48:41 +01:00
Alexander Gryson
f35d739720
Update Page template icons
2017-01-15 21:08:08 +01:00
Alexander Gryson
df91ee5338
Don't depend on svg contents for file info
2017-01-15 21:08:08 +01:00
Alexander Gryson
8ba60dad27
Updated Metadata
2017-01-15 21:08:08 +01:00
Alexander Gryson
ce4ee4baf4
Update Drawing Workbench icons to Tango
2017-01-15 21:08:08 +01:00
Yorik van Havre
86b3463ee1
updated ts files
2016-12-26 12:36:24 -02:00
wmayer
5e375a6238
Add switch to select between Qt4 and Qt5
2016-12-13 15:53:13 +01:00
wmayer
166fc624eb
remove superfluous Qt includes
2016-12-13 15:40:49 +01:00
wmayer
0afd327f2a
remove superfluous Qt includes
2016-12-13 14:33:16 +01:00
wmayer
d2cb4e4af9
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
af97583026
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
wmayer
3b961bcb5f
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer
68ea7fdac5
fix coverity issues
2016-10-08 17:43:30 +02:00
wmayer
b9c25c8402
fix -Wextra & -Wdeprecated in Drawing
2016-09-22 15:29:10 +02:00
wmayer
9459938cdc
fix Coverity issues
2016-08-21 14:44:14 +02:00
wmayer
f3f0f5bd2e
fix Coverity issues
2016-08-20 15:41:33 +02:00
wmayer
d98337b5f2
Coverity: fix high impact issues
2016-08-17 15:33:04 +02:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
WandererFan
3b96cbbeb6
wmayer patch for Win & OCC7 compat
2016-07-11 15:32:16 +02:00
Yorik van Havre
319920c185
Material: allow to display Drawing Patterns in material editor - issue #2577
2016-06-09 22:19:45 -03:00
Yorik van Havre
b18981f0b3
Added more SVG patterns + translation table - issue #2577
2016-06-04 17:41:23 -03:00
wmayer
bca7a1866e
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wmayer
cc88b376e1
+ fixes issue #0002224 : Drawings break on reopen. Template not found
2016-05-05 11:11:08 +02:00
Yorik van Havre
ca7c5d31a4
updated translations
2016-04-06 22:39:34 -03:00
Eivind Kvedalen
a21571a652
Spreadsheet: Removed own expression parser and instead use the one in App.
2016-04-02 12:01:04 +02:00
Yorik van Havre
bcb75d5477
Updated translation files from crowdin
2016-03-17 23:29:11 -03:00
Yorik van Havre
d1b4f23388
Added latest translations from crowdin
2016-03-06 14:50:07 -03:00
triplus
d432c72a15
Add SVG workbench icons
2016-02-26 23:17:43 +01:00
Yorik van Havre
28b6c82555
Added updated translations from crowdin - fixes #2443
2016-02-26 18:32:02 -03:00
Yorik van Havre
2e2192f88a
Added slovenian language
2016-02-03 13:36:51 -02:00
Yorik van Havre
37b1bdbe27
Updated translations with latest from crowdin
2016-02-01 23:32:58 -02:00
wmayer
aa7aa64724
+ simplify porting of Drawing module to Python3
2016-01-21 14:49:57 +01:00
wmayer
6ed52e479b
+ fix crashes in ortho view panel
2016-01-13 17:40:20 +01:00
wmayer
ffcbb0b66c
+ improve error handling in projection panel in Drawing workbench
2016-01-13 14:48:51 +01:00
wmayer
89cb247923
+ handle degenerated ellipse for SVG output
2016-01-11 13:01:01 +01:00
Yorik van Havre
5c2ed74292
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2016-01-05 20:20:42 -02:00
Yorik van Havre
87397a2512
Drawing: support for text alignment in Spreadheetview
2016-01-05 20:20:25 -02:00
wmayer
53024a6140
+ 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
cd2db00f22
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
d5c074f80d
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
da83100728
+ 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
1747fb643f
Updated ts files prior to translation cycle
2016-01-03 19:45:29 -02:00
Yorik van Havre
85fdc8c76b
Drawing: Add SpreadsheetView command - fixes #1805
2016-01-03 16:44:56 -02:00
wmayer
50d7793442
+ introduce proper enum for property status to replace plain integers
2016-01-01 15:36:24 +01:00
wmayer
e0683f4db0
+ fixes #0002347 : freecad fails to build with Boost 1.60.0
2015-12-28 13:54:40 +01:00