Commit Graph

276 Commits

Author SHA1 Message Date
wmayer
49ca698b3e CMP0050: make Drawing module aware of cmake policy 2018-08-20 19:10:02 +02:00
wmayer
0c95c95793 CMP0050: make Drawing module aware of cmake policy 2018-08-20 18:40:14 +02:00
Markus Lampert
0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
wmayer
d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wandererfan
c5d5897457 Fix #3508 Missing Namespace in Templates 2018-06-22 10:56:02 -03:00
wmayer
8c6b4ad1a6 fix German translation 2018-03-03 23:37:15 +01:00
Yorik van Havre
12f3258ded Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00
luzpaz
5107d86b60 Crowdin: Removing whitespace from widgets
Modified the code so that the whitespace was hardcoded since translators on Crowdin weren't adding the whitespace. Please review if correct. 
+ found some other typos/grammar issues along the way. 
CC @yorikvanhavre
2018-01-01 17:52:12 +01:00
luzpaz
128239b54a Typos: Various workbenches and misc.
[skip ci]
2017-12-25 10:58:10 +01:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown
3d9ecab346 SVG cleanup: remove all redundant <dc:title> content
Removed duplicate mentions of `[agryson] Alexander Gryson`
2017-12-02 14:02:14 +01:00
luzpaz
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
luzpaz
0d1451f39d User-facing typo fixes
All user-facing strings that have double (consecutive) whitespace e.g. `\b  \b`have been removed. Inspired by the error message in https://forum.freecadweb.org/viewtopic.php?f=3&t=5899&p=200309#p200309
2017-11-21 17:21:23 -03:00
wmayer
74d1aa72ea fix German translation 2017-11-11 22:47:12 +01:00
Yorik van Havre
cfe2d134a2 Updated translations from crowdin 2017-10-23 18:32:02 -02:00
luzpaz
ab8f8919b6 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
09737f2db3 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
8659302150 fix typo introduced with pr702 2017-07-28 20:58:20 +02:00
WandererFan
a32972ef2f Fix Drawing/TechDraw BSplines
In some cases the Geom_BSplineCurve returned by
BrepAdaptor_Curve.BSpline() does not have the
same endpoints as the original Edge and should
not be used in place of Approx_Curve3d.
2017-06-28 22:14:01 +02:00
WandererFan
ab19a5ea06 Handle "floating" straight edges in Svg
BRep_Tool::Polygon3D assumes the edge has polygon representation -
ie already been "tesselated". this is not true for all edges,
especially "floating edges".
2017-06-23 08:14:46 +02:00
WandererFan
052704eb0c 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
2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03:00
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