Commit Graph

12922 Commits

Author SHA1 Message Date
wmayer
9e0ddec00a port to occ 7.2.1 2018-01-03 14:31:52 +01:00
wmayer
4c7a0a1404 port to occ 7.2.1 2018-01-03 14:16:23 +01:00
wmayer
8faa9f38bb fixes #0002621: Exporting with File Type *.svg, *.svgz, *.dxf should be prevented if not in Drawing WB 2018-01-02 16:28:24 +01:00
wmayer
21e85921e0 set global scope of Part offset to use it with PD bodies 2018-01-02 13:13:06 +01:00
wmayer
a6a004b6b2 fixes #0002866: Gui::InputField rounds values to 2 digits 2018-01-02 12:32:09 +01:00
wmayer
483d099671 remove now superfluous member from InputField 2018-01-02 12:31:32 +01:00
wmayer
cfc3dc22ad respect format option when changing values with wheel or up/down keys in input field 2018-01-02 12:11:45 +01:00
wmayer
90a71f34bc fix utf-8 decoding issue in Draft 2018-01-02 10:24:37 +01:00
Bernd Hahnebach
74aa6b04b3 FEM: code formating, Python flake8: W503 2018-01-01 22:54:46 +01:00
Bernd Hahnebach
93850bd9a4 FEM: code formating, Python flake8: E211, E305 2018-01-01 22:54:46 +01:00
luzpaz
f6edbbdc5a FEM: Typo residuals 2018-01-01 22:54:46 +01:00
Bernd Hahnebach
c121e76f1e FEM: unit test, add all python packages to import test 2018-01-01 22:54:46 +01:00
wmayer
0b95e866b9 fix const correctness 2018-01-01 22:25:11 +01:00
Abdullah Tahiri
9cf42d3a87 Sketcher: Settings Dialog new color for dependent constraints 2018-01-01 21:00:06 +01:00
Abdullah Tahiri
2a6f55e650 Sketcher: Special sketcher color for dimensions having an expression
fixes #3285
2018-01-01 21:00:06 +01:00
Abdullah Tahiri
69535ad7cb Sketcher: Support for detecting expressions in constraints 2018-01-01 21:00:06 +01:00
wmayer
65e7932930 improve whitespaces 2018-01-01 20:51:12 +01:00
Abdullah Tahiri
ec678e234e Sketcher: Solver angle -pi,pi conversion corrected
fixes #3288
2018-01-01 20:28:53 +01:00
Abdullah Tahiri
27cff5ce85 Sketcher: Match angle on lines representation match solver result 2018-01-01 20:28:41 +01:00
wmayer
96beb5ec7d improve whitespaces 2018-01-01 19:36:57 +01:00
Abdullah Tahiri
9ce5756011 Sketcher: Fix transfer of tangency and perpendicular end-to-endpoint constraints
================================================================================

When transfering constraints to coincident points on deletion of geometry, a tangency/perpendicular constraint
cannot be blindly transfered as the destination edge may not be tangent/perpendicular leading to unexpected behaviour.

However, the user does expect that something that was coincident with such end-to-endpoint constraint (which implicitly includes a coincident constraint)
remains coincident after deletion. Therefore, the change of type to coincident.

This implicitly solves the problem of representation of constraints leading to a crash in coin3d.

fixes #3291
2018-01-01 19:27:41 +01:00
wmayer
62819fec2a consistently add Q_OBJECT macro to all sub-clases of PropertyItem 2018-01-01 19:15:02 +01:00
luzpaz
e2a3ae428a Packaging typos 2018-01-01 17:54:07 +01: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
wmayer
1950bd1512 fix assertPlacement for unit tests
do not explicitly check for angles as they can be quite different for even identical quaternions
2018-01-01 17:48:05 +01:00
wmayer
31bf496b67 unit tests for Rotation class 2018-01-01 16:45:33 +01:00
wmayer
83fe8f8c36 fix OpenSCAD importer 2018-01-01 16:45:06 +01:00
wmayer
9e2fa2d91a support some more handlers in VectorPy and throw better exceptions for unsupported operators 2018-01-01 15:45:21 +01:00
wmayer
401af92890 implement setting custom attributes for RotationPy to assign matrix or pair of vectors 2017-12-31 18:18:27 +01:00
Bernd Hahnebach
7c1cccdd6e FEM: cmake, only copy Python GUI modules if gui is build 2017-12-31 15:25:34 +01:00
Bernd Hahnebach
8c85db3cfe FEM: make objects module, less code duplication on imports 2017-12-31 15:25:34 +01:00
Bernd Hahnebach
30e33e4802 FEM: python imports, small improvements on some imports 2017-12-31 15:25:34 +01:00
Unknown
34b485b648 FEM: source typos 2017-12-31 15:25:34 +01:00
Unknown
93dd48dc6a FEM: Moar typos 2017-12-31 15:25:34 +01:00
triplus
f34659a29f TechDraw LabelFont defaults 2017-12-31 15:09:13 +01:00
luzpaz
a866b420d2 TechDraw: Crowdin request to remove apostrophes in translation string
This was green-lit by @wandererfan in a private message on the forum. 
ref: https://crowdin.com/translate/freecad/27911/en-hu#6503436
2017-12-31 15:03:50 +01:00
Daniel Burr
9bd3b8f20d Copy mesh data directly into the numpy arrays instead of creating a temporary local copy in order to save memory when dealing with very large meshes 2017-12-31 15:01:44 +01:00
Daniel Burr
7ec6d1b5a2 Fix insane memory usage when exporting Meshes to Collada format - MeshPy::getTopology() is an expensive function (since it iterates over all Points and Facets) and therefore it should not be called repeatedly 2017-12-31 15:01:44 +01:00
WandererFan
87b360e557 TechDraw Prefs page 1 defaults & tooltips 2017-12-31 14:54:05 +01:00
WandererFan
c548878069 Fix LineGroup install & default issues 2017-12-31 14:54:05 +01:00
WandererFan
55f050e0f5 Fix crash when Source.Shape is Null 2017-12-31 14:54:05 +01:00
WandererFan
553fa64ec4 Fix crash during multi-object delete 2017-12-31 14:54:05 +01:00
WandererFan
98be3a3ff7 Support old Source property (PropertyLink)
- Source is now PropertyLinkList
2017-12-31 14:54:05 +01:00
WandererFan
76373b2c6a LinkScope clean up 2017-12-31 14:54:05 +01:00
WandererFan
e163ae1746 Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan
7eba113600 Coverity 169507 2017-12-31 14:54:05 +01:00
wmayer
88b5af4fe7 simplify debugging of changing datum constraints 2017-12-31 11:48:44 +01:00
wmayer
1ad7724d50 avoid error 'Duplicate constraint not allowed' when deleting a constraint 2017-12-31 01:57:44 +01:00
wmayer
bd4736bf0d implement PropertyConstraintListItem::assignProperty to add item for each datum constraint 2017-12-30 19:49:34 +01:00
wmayer
6ee4be519d fix heap corruption due to invalid static_cast 2017-12-29 22:32:10 +01:00