Commit Graph

22423 Commits

Author SHA1 Message Date
wmayer
a0ac281684 App: [skip ci] add GeoFeaturePy::getPropertyOfGeometry 2020-09-13 13:14:21 +02:00
Syres916
50d531061b [Sketcher] Improve Solver Message Visibility...
...when using dark(er) style sheets.
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=50094
2020-09-13 12:52:28 +02:00
Cheuksan Wang
a178990acb Move the aliases before other content of cells
When a user performs insert rows, remove rows, insert columns, or
remove rows, we need to move multiple cells as a batch. The cells are
moved sequentially. For each cell, its dependent alias positions are
looked up and dependencies are added.  However, those cells with
aliases may be moved later in the batch. Thus the earlier dependencies
become wrong. This commit fixes this bug by moving all the aliases
before moving the cells. Unit tests are added to for this bug.

fixes issue #4429
2020-09-13 11:58:54 +02:00
bitacovir
7a899be600 Add SVG icon for Part Reverse Shape command
Part Reverse Shape command does not have icon for the FreeCAD UI (Part WB).

This commit adds SVG file with icon for this command. Also, it makes the necessary changes on Command.cpp and Part.qrc files.

The new SVG icon follows the FreeCAD Artwork Guidelines and were saved as Plain SVG format.

The icon designs keep the style of the existing icons in the Part Workbench:
https://wiki.freecadweb.org/Part_Module

The discussion with the request can be found in the UX/UI Design FreeCAD Forum:
https://forum.freecadweb.org/viewtopic.php?f=34&t=44278&hilit=bitacovir
2020-09-13 10:01:50 +02:00
wmayer
600b463af0 MeshPart: [skip ci] import MeshPartGui in order to load icon resources 2020-09-13 09:59:14 +02:00
bitacovir
5a505fe565 Auto stash before rebase of "upstream/master" 2020-09-12 22:47:45 +02:00
wmayer
2520569cc7 fixes #0004426: [skip ci] Patch to add MinLength and MaxLenght to the Netgen options in the Python API (provided by thomasFreeCAD) 2020-09-12 19:37:12 +02:00
wmayer
5394731dcc App: [skip ci] move execution of extensions to its own method 2020-09-12 18:14:09 +02:00
wmayer
6c2c84df4f App: [skip ci] improve whitespaces 2020-09-12 17:43:01 +02:00
Zheng, Lei
f66b2953b7 App: fix GeoFeatureGroupExtension::extensionGetSubObject() 2020-09-12 17:30:56 +02:00
wmayer
308baeaeab PartDesign: [skip ci] fix L2 parameter in pad feature when using custom direction 2020-09-12 17:26:41 +02:00
donovaly
91ef59fdbe [PD] allow to pad in any direction
It saves a lot of work if one can directly pad in any direction and OCC allows this.

This PR adds the possibility to define a custom vector for the padding direction.
2020-09-12 16:33:44 +02:00
donovaly
6bbab49723 [PD and Part] add possibility to create skew prisms 2020-09-12 13:28:00 +02:00
luz paz
3d4e987646 fix typo in src/Gui/DlgPropertyLink.ui [skip-ci]
Found via `codespell v2.0.dev0`  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml 
```
2020-09-11 16:25:42 +02:00
hrobeers
c46f06de53 QtConcurrent is required for non GUI builds too 2020-09-11 16:25:13 +02:00
wmayer
44e5713a03 TechDraw: [skip ci] fix several gcc/clang warnings
-Wunused-private-field
-Wmaybe-uninitialized
-Wunused-parameter
2020-09-11 15:10:58 +02:00
wmayer
f3c697abe7 Gui: [skip ci] workaround for QWindowsStyle to disable spin buttons when it is set read-only 2020-09-11 14:10:45 +02:00
Zheng, Lei
6375b82eb6 Gui: fix view object global coordinate space showable checking 2020-09-10 14:30:50 +02:00
Yorik van Havre
a2b064d7ba Arch: small bugfixes in multicore IFC importer 2020-09-10 13:43:02 +02:00
wmayer
1291e910f1 Spreadsheet: [skip ci] disable unused function 2020-09-09 21:18:31 +02:00
wmayer
698777b213 Spreadsheet: [skip ci] use global scheme to display quantities in a spreadsheet table 2020-09-09 16:28:55 +02:00
paul lee
1ff7843357 [ DraftVecUtils.cloest ] Elaborate documentation 2020-09-09 16:01:39 +02:00
paul lee
1227bac5bf [ DraftVecUtils.closet ] Could return the distance (no unit) of the tested point from the found closest point. 2020-09-09 16:01:39 +02:00
Syres916
07516c1670 Remove duplicate code 2020-09-09 14:55:52 +02:00
Syres916
5349fdee14 [AddonManager] Handle Wiki Bad Gateway issue...
...when retrieving Macro list
See https://forum.freecadweb.org/viewtopic.php?f=3&t=50062
2020-09-09 14:55:52 +02:00
Yorik van Havre
5bd018f493 Draft: Small bugfix in DXF exporter 2020-09-09 14:38:16 +02:00
Yorik van Havre
c55c89c7d1 Arch: Better support for colors in multicore IFC importer 2020-09-09 14:36:20 +02:00
Yorik van Havre
2c68236af1 Merge branch 'master' of github.com:FreeCAD/FreeCAD into master 2020-09-09 14:26:11 +02:00
Vanuan
c51ca11e58 [Arch/TechDraw] Clean up _ArchDrawingView: remove getDXF
Properties and method were removed in 82c37bf754969be28eff6b5e71e4d1622294683c
2020-09-09 14:18:23 +02:00
vocx-fc
7afa5dc00d Arch: small changes to color methods in IFC importer 2020-09-09 14:16:03 +02:00
carlopav
41f81b2cff Draft: fixed obj.TypeId output after utils.get_type() change
.


.
2020-09-09 14:13:29 +02:00
carlopav
e78b104a75 Draft: provide the possibility to implement support for Edit in objs
As suggested by @Vanuan. and already implemented in new experimental BIM Wall: 1084a4b0a9
Draft: updated Draft Edit

thanks to the suggestions by @Vanuan
Draft: further bugfixing and improvements in Draft_Edit


Draft: moved Draft_Edit preview code into respective GuiTools
2020-09-09 14:13:29 +02:00
carlopav
1006529999 Draft: support experimental BIM wall in Draft_Edit 2020-09-09 14:13:29 +02:00
Roy-043
5cbf5080d2 Update scale.py 2020-09-09 14:12:43 +02:00
Zheng, Lei
d9a5494462 Part: fix dangerous static_cast usage in view provider
Because Gui::ViewProviderLink can be used to override the view provider
of any object, it is not safe to assume view provider type without
explicit checking.
2020-09-09 13:16:46 +02:00
Roy-043
216afe9690 Update gui_stretch.py 2020-09-09 13:16:23 +02:00
SurajDadral
86cc32ee06 Skip rebar shape to be subtracted from structure
To fix issue:
https://github.com/amrit3701/FreeCAD-Reinforcement/issues/81

And it eventually will fix issue of this thread:
https://forum.freecadweb.org/viewtopic.php?f=23&t=49481
2020-09-09 12:55:35 +02:00
vocx-fc
8195f5fdfe Draft: rename svg parameter to fillspaces (lowercase) 2020-09-09 12:53:54 +02:00
vocx-fc
3c2b47e458 Draft: replace FreeCAD with App for consistency 2020-09-09 12:53:54 +02:00
vocx-fc
29a52d0dbc Draft: move getSVG to draftfunctions submodule
Small fixes where the `get_svg` function is used, for example,
in the (obsolete) `DrawingView` class and `Arch_SectionPlane`.

Also update the unit tests accordingly.
2020-09-09 12:53:54 +02:00
tomate44
b36db02b41 SurfaceOfExtrusion: use uIso and vIso methods of parent class 2020-09-09 11:06:21 +02:00
wmayer
fe41dab894 Gui: [skip ci] fix bugs in spin box classes:
+ use correct format string when assigning value to an expression
+ do not round value when setting value of a DoubleSpinBox
2020-09-09 09:49:03 +02:00
wmayer
f388ba1048 Inspection: [skip ci] do not use multi-threading when Part objects are used for visual inspection 2020-09-08 16:55:35 +02:00
Roy-043
48e0b570fc Draft: Fix wire placement issue if Copy=False. 2020-09-08 16:16:16 +02:00
John Yani
73d247d245 [Arch] ViewProviderPanelSheet: Too many arguments
setProperties was called incorrectly
2020-09-08 16:14:22 +02:00
Roy-043
a620ddc0bc Update gui_snapper.py 2020-09-08 16:13:02 +02:00
SurajDadral
cc906537a7 Calculate length of rebar derived from Part::Helix 2020-09-08 15:50:23 +02:00
wmayer
ce0e0ca143 Gui/Mesh: [skip ci] make sure object fits into canvas 2020-09-08 15:12:09 +02:00
wmayer
10aba9c616 Gui: [skip ci] set crease angle if possible when exporting to x3d/xhtml 2020-09-08 14:35:29 +02:00
Sudhanshu Dubey
80a73d604c FEM: tests, adding check for file
... to solve the issue reported at https://forum.freecadweb.org/viewtopic.php?p=424935#p424935
2020-09-08 07:49:02 +02:00