Commit Graph

13525 Commits

Author SHA1 Message Date
DeepSOIC
646111495d App: fix py return of propertyLinkSubList
fixes #0002602

Now, it won't bunch up same object entries if they are not adjacent. I.e., same object  can appear twice and more, for example:
[(object1, ('Edge2', 'Edge3')), (object2, ('Edge1',)), (object1, ('Edge4', 'Edge5'))]

Complete bunching causes information loss, and it's impossible to fix the bug with keeping the bunching complete.
2018-04-13 09:42:26 -03:00
Yorik van Havre
04a7f566fe Merge pull request #1402 from luzpaz/drafttools-fix-newline
Follow-up fix for e0161f4652
2018-04-12 13:22:19 -03:00
luz.paz
1207b56814 Follow-up fix for e0161f4652
e0161f4652
ref: e0161f4652 (commitcomment-28542412)
2018-04-12 09:37:40 -04:00
Yorik van Havre
d96cc9dbd4 Arch: Fixed wall clone icon 2018-04-11 10:55:37 -03:00
Yorik van Havre
50ef6e1747 Arch: Added blocking system to walls 2018-04-11 10:55:37 -03:00
WandererFan
f95117c706 Sync TechDraw what's this with Wiki page names 2018-04-11 10:53:42 -03:00
WandererFan
973e0e4bdd Align TechDraw menu and toolbars 2018-04-11 10:53:42 -03:00
luz.paz
e0161f4652 [For v0.18]Draft: add translation() + move \n out of translation strings 2018-04-11 10:51:13 -03:00
luz.paz
0884b353a6 [For v0.18]PartDesign: translation fixes
ref: https://crowdin.com/translate/freecad/564/en-sv#6502053
[skip ci]
2018-04-11 10:49:56 -03:00
Yorik van Havre
7101d9a89d Arch: small bugfix in Rebar 2018-04-10 14:39:53 -03:00
Alexander Pravdin
2400fe64b4 Draft: dimension and extension lines overshoots 2018-04-10 19:28:40 +02:00
sliptonic
8aba6f1d5a Path: Reword menu items from 'partial' to 'supplemental'
fixes #3383
2018-04-10 19:22:44 +02:00
lorenz
f0a91a89ee python3: ConfigParser -> RawConfigParser
"%"-symbol makes problems with python3
2018-04-10 15:12:24 +02:00
wmayer
130c44521f start v0.18 development 2018-04-10 13:03:26 +02:00
sL1pKn07
018b41032a [For v018] Fix build with Qt5 beta
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
wmayer
aa0f6b54d4 fixes #0003424: 'basic_string::_M_construct null not valid' when opening a v0.16 project with v0.17 2018-04-10 10:51:34 +02:00
wmayer
0258808ccb fixes #0003421: Duplicate workbench message 2018-04-06 10:48:37 +02:00
Yorik van Havre
e5f42798cd Merge pull request #1396 from berndhahnebach/bhbdev141
[0.17] FEM fix crash in vtk mesh builder
2018-04-05 10:44:52 -03:00
Bernd Hahnebach
5f073d4ae1 FEM: vtk result export, better error message 2018-04-05 08:21:48 +02:00
Bernd Hahnebach
c5ef8a1ee1 FEM: vtk mesh builder, add some logs and code improvements 2018-04-05 08:21:44 +02:00
Bernd Hahnebach
6c60f60a05 FEM: vtk mesh builder, fix crash if SMESH grid has node gaps 2018-04-05 08:19:59 +02:00
DeepSOIC
d2ee3d2ac0 PartDesign: fix #0002758 Datum point moves to (0,0,0) when reopening the file
OCC has a peculiarity, that when saving single vertexes, it burns in placement into vertex coordinates. In loaded shape, Placement is zero. This caused datum point placement reset to zero, and its shape had nonzero  coordinates.

This fix keeps placement property from resetting, and reconstructs a new vertex upon load.
2018-04-04 17:43:15 +02:00
Pawel Bogut
839cef928b Gmsh path detection fix for Python3 on Linux 2018-04-04 17:17:38 +02:00
wmayer
77512c0266 improve exception handling in ViewProviderBody::dropObject 2018-04-04 17:14:21 +02:00
wmayer
deaef0ae0e chamfer size must be greater than zero 2018-04-04 16:25:11 +02:00
wmayer
1b49a006cd fixes #0003416: Crash on draft operation for a face 2018-04-04 16:09:15 +02:00
wmayer
4ad0531957 fix NSIS scripts 2018-04-04 11:53:11 +02:00
Yorik van Havre
85b42a16d9 Draft: Fixed possible bug when removing trackers 2018-04-03 13:30:11 -03:00
wmayer
2a7cd1bb28 Add Ext directory to installer 2018-04-03 10:39:09 +02:00
Bernd Hahnebach
485630fb36 FEM: fenics mesh, trailing white spaces 2018-04-03 07:00:19 +02:00
joha2
ccfe39d115 FEM: Fenics mesh issue #0003038: xml import fixed 2018-04-03 06:56:55 +02:00
Yorik van Havre
e195f035cd Arch: Fixed bug in WebGL exporter 2018-04-02 13:43:29 -03:00
tomate44
b5779a8610 add comments 2018-04-02 15:51:39 +02:00
tomate44
6ca441d1be fix crash when boundary edges are not ordered 2018-04-02 15:51:16 +02:00
Zheng, Lei
ba3fb75b48 PropertyContainer: fix false hit when searching property
PropertyContainer uses a static member of type PropertyData to register
static properties. PropertyData uses a short variable to record the
offset of the property against its container.

Because of possible 'short' truncation, when searching of property that
in fact is from another container, we must check if the pointer within
boundary. Otherwise, truncation will result in effectively random
number, and possibly causing a false hit.
2018-04-02 14:17:16 +02:00
wmayer
03af975134 fix failing unit tests by using adaptive delte value 2018-04-02 14:04:32 +02:00
wmayer
877fdffe39 MDIView: remove from parent before close 2018-04-02 13:43:35 +02:00
Yorik van Havre
2891173923 Draft: small bugfix in WPProxy 2018-03-31 17:21:18 -03:00
Pawel Bogut
63e8b134ac Fix raytracing render for python3 2018-03-31 12:34:57 -03:00
wmayer
e589c04662 add unit tests for psi and ksi 2018-03-31 15:43:45 +02:00
wmayer
1cbc20b0b1 fix conversion factors for psi and ksi 2018-03-31 15:43:16 +02:00
wmayer
e46e576a11 revert commit 4301216e7 2018-03-31 11:06:04 +02:00
Abdullah Tahiri
0ac32464e4 Sketcher: Bug fix - prevent inter part/body links
=================================================

With the support for external geometry during carbon copy, it was introduced a way for creating inter-part/inter-body links. See:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27700&p=223736#p223736

This commit closes this door, while still allows carbon copy with external geometry support within the same body.
2018-03-30 21:00:24 +02:00
Peter Lama
c3423ad8d8 Fix duplicate about entries in mac app menu
Clearing the menu bar does not remove the actions from the app menu,
but setting the action role allows Qt to take care of duplicates.
2018-03-30 10:47:19 -07:00
wmayer
3ca2a408fb Fix invalid Python object error
Example below led to a crash:
import Path
v = Path.Tool(name='v', diameter=5.6)
tt = Path.Tooltable()
tt.addTools(v)
attrs = tt.templateAttrs()
uu = Path.Tooltable(tt.templateAttrs())
del attrs
2018-03-30 18:39:55 +02:00
wmayer
c75d1cd777 handle exception when running unit tests in GUI mode 2018-03-30 18:38:58 +02:00
wmayer
889b133af6 fix warning 2018-03-30 16:23:07 +02:00
wmayer
127895695c fixes #0003394: Crash on gesture rotation with focus 2018-03-30 15:24:57 +02:00
wmayer
8529407023 fix bug and possible crash in overloaded method PropertyLinkSubList::setValues 2018-03-30 11:37:42 +02:00
Pawel Bogut
118757abcd OpenScad path detection fix for python3 on unix 2018-03-30 11:30:27 +02:00