Commit Graph

12920 Commits

Author SHA1 Message Date
wmayer
185002d4e5 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
2156f4c611 set global scope of Part offset to use it with PD bodies 2018-01-02 13:13:06 +01:00
wmayer
a6dd02bb75 fixes #0002866: Gui::InputField rounds values to 2 digits 2018-01-02 12:32:09 +01:00
wmayer
a50b40f8df remove now superfluous member from InputField 2018-01-02 12:31:32 +01:00
wmayer
3a39ea43c3 respect format option when changing values with wheel or up/down keys in input field 2018-01-02 12:11:45 +01:00
wmayer
42d577ba68 fix utf-8 decoding issue in Draft 2018-01-02 10:24:37 +01:00
Bernd Hahnebach
fdc2086d11 FEM: code formating, Python flake8: W503 2018-01-01 22:54:46 +01:00
Bernd Hahnebach
0e65035ed4 FEM: code formating, Python flake8: E211, E305 2018-01-01 22:54:46 +01:00
luzpaz
0c0a7824e1 FEM: Typo residuals 2018-01-01 22:54:46 +01:00
Bernd Hahnebach
c0c8e269e6 FEM: unit test, add all python packages to import test 2018-01-01 22:54:46 +01:00
wmayer
5cdee243a1 fix const correctness 2018-01-01 22:25:11 +01:00
Abdullah Tahiri
8814d5ada6 Sketcher: Settings Dialog new color for dependent constraints 2018-01-01 21:00:06 +01:00
Abdullah Tahiri
c80e6a8d60 Sketcher: Special sketcher color for dimensions having an expression
fixes #3285
2018-01-01 21:00:06 +01:00
Abdullah Tahiri
d4e8b95197 Sketcher: Support for detecting expressions in constraints 2018-01-01 21:00:06 +01:00
wmayer
ad26e922ef improve whitespaces 2018-01-01 20:51:12 +01:00
Abdullah Tahiri
e85da016fe Sketcher: Solver angle -pi,pi conversion corrected
fixes #3288
2018-01-01 20:28:53 +01:00
Abdullah Tahiri
300ca1d88e Sketcher: Match angle on lines representation match solver result 2018-01-01 20:28:41 +01:00
wmayer
51c47f1efb improve whitespaces 2018-01-01 19:36:57 +01:00
Abdullah Tahiri
952aaa458e 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
3e5bebea8a consistently add Q_OBJECT macro to all sub-clases of PropertyItem 2018-01-01 19:15:02 +01:00
luzpaz
0022d71a37 Packaging typos 2018-01-01 17:54:07 +01:00
luzpaz
5f33f574a8 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
1494addfcb 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
3afac199d0 unit tests for Rotation class 2018-01-01 16:45:33 +01:00
wmayer
b9975a5e14 fix OpenSCAD importer 2018-01-01 16:45:06 +01:00
wmayer
15ed408121 support some more handlers in VectorPy and throw better exceptions for unsupported operators 2018-01-01 15:45:21 +01:00
wmayer
808e06f118 implement setting custom attributes for RotationPy to assign matrix or pair of vectors 2017-12-31 18:18:27 +01:00
Bernd Hahnebach
da0951685c FEM: cmake, only copy Python GUI modules if gui is build 2017-12-31 15:25:34 +01:00
Bernd Hahnebach
dc20b4993d FEM: make objects module, less code duplication on imports 2017-12-31 15:25:34 +01:00
Bernd Hahnebach
08d829d78b FEM: python imports, small improvements on some imports 2017-12-31 15:25:34 +01:00
Unknown
434cad529e FEM: source typos 2017-12-31 15:25:34 +01:00
Unknown
345c517840 FEM: Moar typos 2017-12-31 15:25:34 +01:00
triplus
e8a76cd2e8 TechDraw LabelFont defaults 2017-12-31 15:09:13 +01:00
luzpaz
3c53da4e35 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
fd1d397480 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
51ab4828c6 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
df16d730ce TechDraw Prefs page 1 defaults & tooltips 2017-12-31 14:54:05 +01:00
WandererFan
d84ee2b131 Fix LineGroup install & default issues 2017-12-31 14:54:05 +01:00
WandererFan
71253bad81 Fix crash when Source.Shape is Null 2017-12-31 14:54:05 +01:00
WandererFan
815d8bed0a Fix crash during multi-object delete 2017-12-31 14:54:05 +01:00
WandererFan
0549caf2cb Support old Source property (PropertyLink)
- Source is now PropertyLinkList
2017-12-31 14:54:05 +01:00
WandererFan
d9b71fb754 LinkScope clean up 2017-12-31 14:54:05 +01:00
WandererFan
309178f2ff Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan
8ecc370a40 Coverity 169507 2017-12-31 14:54:05 +01:00
wmayer
125329f0bd simplify debugging of changing datum constraints 2017-12-31 11:48:44 +01:00
wmayer
1050378a2e avoid error 'Duplicate constraint not allowed' when deleting a constraint 2017-12-31 01:57:44 +01:00
wmayer
bf379642eb implement PropertyConstraintListItem::assignProperty to add item for each datum constraint 2017-12-30 19:49:34 +01:00
wmayer
4edfa9eac9 fix heap corruption due to invalid static_cast 2017-12-29 22:32:10 +01:00
wmayer
79cd8ac90e fix regression of pr1181 2017-12-28 19:06:10 +01:00
looooo
34af865911 add version info to PySide abstraction 2017-12-26 14:50:21 +01:00