Commit Graph

12902 Commits

Author SHA1 Message Date
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
luzpaz
0bafb04924 PartDesign: typos 2017-12-25 11:04:43 +01:00
luzpaz
5973d8d67e Part: typos 2017-12-25 11:03:11 +01:00
luzpaz
a0d53e5fee Arch: Typos
Source comment documentation typos + misc.
2017-12-25 11:01:30 +01:00
luzpaz
4eb5a431fa Sketcher: comment typos 2017-12-25 10:59:48 +01:00
luzpaz
c4dd42de98 Typos: Various workbenches and misc.
[skip ci]
2017-12-25 10:58:10 +01:00
wmayer
178794610d fixes #0003252: External geometry tool keeps hovered item active after leaving 2017-12-25 10:47:51 +01:00
wmayer
fea662ea71 notify selection node about cleared pre-selection 2017-12-25 01:19:02 +01:00
wmayer
aa353569b3 enable anti-aliasing for Coin's offscreen renderer 2017-12-23 18:59:27 +01:00
wmayer
6d999a98de restore removed link to preferences-sketcher.svg 2017-12-23 17:07:12 +01:00
Abdullah Tahiri
19585e6b4b Sketcher: new UI command for arbitrary sides polygon
fixes #1639
2017-12-23 14:45:39 +01:00
Abdullah Tahiri
d580b7579f Sketcher: Dialog for arbritary sides regular polygon 2017-12-23 14:45:39 +01:00
Abdullah Tahiri
915378861d Sketcher: Icons for arbitrary regular polygon 2017-12-23 14:45:39 +01:00
Zheng, Lei
4a7cb47848 Path.Area: fix wire join function
This affects open wire operations
2017-12-23 14:36:20 +01:00
sliptonic
e80389fc2f fixes #3284
path direction if useComp is false
2017-12-23 14:34:46 +01:00
Markus Lampert
3b2f5ff0af Fixed initial step down value. 2017-12-23 14:33:20 +01:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown
f92d63008e PATH: typo fixes 2017-12-23 14:27:25 +01:00
wmayer
495c048ece add helper class to tmp. block a boost signal/slot connection 2017-12-21 22:22:33 +01:00