Commit Graph

22400 Commits

Author SHA1 Message Date
Syres916
f20eaf4aa9 Remove duplicate code 2020-09-09 14:55:52 +02:00
Syres916
dee22fab86 [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
dc97e31707 Draft: Small bugfix in DXF exporter 2020-09-09 14:38:16 +02:00
Yorik van Havre
b82716ca51 Arch: Better support for colors in multicore IFC importer 2020-09-09 14:36:20 +02:00
Yorik van Havre
c925194cf5 Merge branch 'master' of github.com:FreeCAD/FreeCAD into master 2020-09-09 14:26:11 +02:00
Vanuan
61f7347235 [Arch/TechDraw] Clean up _ArchDrawingView: remove getDXF
Properties and method were removed in 54a8e856cc
2020-09-09 14:18:23 +02:00
vocx-fc
d8f056352d Arch: small changes to color methods in IFC importer 2020-09-09 14:16:03 +02:00
carlopav
6f2691631c Draft: fixed obj.TypeId output after utils.get_type() change
.


.
2020-09-09 14:13:29 +02:00
carlopav
28c00f8383 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
8e1bb66cf2 Draft: support experimental BIM wall in Draft_Edit 2020-09-09 14:13:29 +02:00
Roy-043
7f415b4b58 Update scale.py 2020-09-09 14:12:43 +02:00
Zheng, Lei
18c0d8ab12 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
2d11f16e9d Update gui_stretch.py 2020-09-09 13:16:23 +02:00
SurajDadral
e311471769 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
5cf799dd85 Draft: rename svg parameter to fillspaces (lowercase) 2020-09-09 12:53:54 +02:00
vocx-fc
b835e5f29d Draft: replace FreeCAD with App for consistency 2020-09-09 12:53:54 +02:00
vocx-fc
7627d0b81a 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
c493d42bfe SurfaceOfExtrusion: use uIso and vIso methods of parent class 2020-09-09 11:06:21 +02:00
wmayer
b38517b291 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
b0d5afc375 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
db947e3513 Draft: Fix wire placement issue if Copy=False. 2020-09-08 16:16:16 +02:00
John Yani
7f3814faec [Arch] ViewProviderPanelSheet: Too many arguments
setProperties was called incorrectly
2020-09-08 16:14:22 +02:00
Roy-043
4c0bd797fe Update gui_snapper.py 2020-09-08 16:13:02 +02:00
SurajDadral
03d273c656 Calculate length of rebar derived from Part::Helix 2020-09-08 15:50:23 +02:00
wmayer
3051b75267 Gui/Mesh: [skip ci] make sure object fits into canvas 2020-09-08 15:12:09 +02:00
wmayer
976867e719 Gui: [skip ci] set crease angle if possible when exporting to x3d/xhtml 2020-09-08 14:35:29 +02:00
Sudhanshu Dubey
3bdb812a7d 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
Sudhanshu Dubey
4dcfd8caad FEM: correcting string comparison 2020-09-08 07:48:56 +02:00
wmayer
f82b570832 Gui/Mesh: [skip ci] add Iso view position button to Web 3d page 2020-09-07 17:43:04 +02:00
wmayer
623d6b7134 Gui: [skip ci] add x3d and xhtml format to export dialog 2020-09-07 16:27:21 +02:00
wmayer
629b1403b2 Web: [skip ci] allow to directly load local (X)HTML files with file browser 2020-09-07 14:33:04 +02:00
wmayer
6019f6c69f Gui/Mesh: [skip ci] put view positions at top of Web 3d page 2020-09-07 14:18:01 +02:00
wmayer
34c11fcc63 Base: Py2 related fix 2020-09-04 19:02:29 +02:00
Christopher Coley
4cfefb1938 Gui: automatically activate the DlgExpressionInput dialog; fixes #4384 2020-09-04 18:39:09 +02:00
Zheng, Lei
685fc401a8 Gui: improve transaction handling in PropertyEditor 2020-09-04 16:01:21 +02:00
Zheng, Lei
2fbac59d4f App: record transaction on non DocumentObject
Related #0004265
2020-09-04 16:01:21 +02:00
wmayer
fc8eecb8eb Part: [skip ci] make Tube command behave like all other solid creation commands 2020-09-04 12:21:40 +02:00
wmayer
c176f714f1 Gui: make Clipping widget a dockable widget so that it can be used while a task dialog is open 2020-09-04 11:54:52 +02:00
wmayer
aa6f060365 Mesh: [skip ci] include missing header 2020-09-04 10:40:01 +02:00
wmayer
daa2590672 Gui: add SoTimerSensor.h to PCH 2020-09-04 10:36:13 +02:00
luz paz
5cd408687b Fix typos in various files [skip-ci]
Found via `codespell 2.0.dev0`  
```
codespell -q 2 -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,currenty,dof,doubleclick,dum,eiter,elemente,feld,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-04 10:10:31 +02:00
looooo
1590c209e3 freecad-python-interface: use absolute-path to install-bin-dir for windows 2020-09-04 10:04:20 +02:00
wmayer
1c91c1287e Base: [skip ci] Various fixes in InterpreterSingleton::runStringWithKey:
+ fix memory leak (localDictionary) by replacing C API with PyCXX
+ don't write the whole code as error message if an error occurs. Python raises an exception with all relevant information for debugging
2020-09-04 09:58:21 +02:00
wmayer
cc0e4ee953 Gui: fix Qt4 build failure 2020-09-03 19:24:09 +02:00
wmayer
d91508fece Part: [skip ci] set proper icons for Tube feature 2020-09-03 19:18:30 +02:00
wmayer
06d6cc579f Part: [skip ci] add MapMode support to Tube feature, raise an error if inner > outer radius, set icon to command and tree view (use cylinder icons for the time being) 2020-09-03 17:47:25 +02:00
vocx-fc
e477283ffc Draft: new PathTwistedArray object
It takes a `Shape` and replicates it around a path, while at the
same time adding a rotation to each copy. This can be used to create
a twisted "ribcage" from a frame-like object, which can be used
in a more complicated `Shape`, for example, a tunnel or bridge
object.
2020-09-03 12:34:16 +02:00
mwganson
8ee644bcbc [AddonManager] fix bug in CheckSingleWorker 2020-09-03 12:23:14 +02:00
SurajDadral
1f15f04b17 Initialize mark and add compatibility for rebar.RebarShape
- Initialize rebar mark with rebar label
- Add compatibility for attribute rebar.RebarShape to work with changes
  done in this PR:
  https://github.com/amrit3701/FreeCAD-Reinforcement/pull/65/commits
2020-09-03 12:20:51 +02:00
mwganson
df0204466e [CheckGeometry] fix segfault, reformat output with lower case, use try/except to check for runtime python errors and fall back on OCCT method if script failed. 2020-09-03 12:09:38 +02:00