Commit Graph

18422 Commits

Author SHA1 Message Date
Zheng, Lei
976952db63 Spreadsheet: improve cyclic dependency exception handling 2019-10-07 17:24:30 +02:00
Zheng, Lei
44354b808b App: add Expression built-in function mscale/minvert/create
mscale(matrix,vector|tuple) for scaling matrix

minvert(matrix|placement|rotation) for inverting matrix, placement or
rotation

create(type,arg...) for creating Python object of given type (currently
only support 'matrix', 'placement', 'rotation', 'vector'
2019-10-07 17:24:30 +02:00
Zheng, Lei
12000cd490 Base: fix __pow__ operator in MatrixPy/PlacementPy/RotationPy 2019-10-07 17:24:30 +02:00
Zheng, Lei
43e0d96160 Base: remove VectorPy right multiplication to matrix/placement/rotation 2019-10-07 17:24:30 +02:00
Zheng, Lei
7a74093432 Replace use of Matrix.inverse() with inverseGauss()
Because of possible scaling involved.
2019-10-07 17:24:30 +02:00
Francesco Fantoni
a53c571457 removed trailing whitespace 2019-10-07 11:26:16 -03:00
Francesco
e325f2e579 fixes issue aligning workplane to a face
this is a quick workaround for a problem introduced in the Draft select plane procedure while refactoring the code. not sure it is the best fix though.
2019-10-07 11:26:16 -03:00
Zheng, Lei
fcda0934c9 Draft: relax Part::Feature type checking for Link support
Replace isDerivedFrom('Part::Feature') with hasattr(obj,'Shape')
2019-10-07 10:48:42 -03:00
vocx-fc
2f06decce5 Arch: ArchCommands, change the color of the vertices of the subcomponent when using Arch Remove, just like the line color and shape color are changed. 2019-10-07 10:46:36 -03:00
Zheng, Lei
834f977157 App: add argument 'hidden' to FreeCAD.new/openDocument()
The keyword argument 'hidden' allows create/open document without 3D
view.
2019-10-07 14:25:27 +02:00
vocx-fc
d30e32ec1e Draft: modify the permissions of the icons (755), so that they don't have the execute permission (644) 2019-10-07 14:18:52 +02:00
vocx-fc
6383de2ee6 Draft: new icon for Draft_Dimension in the tree view in SVG, instead of XPM 2019-10-07 14:17:17 +02:00
vocx-fc
aebb0edd66 Draft: re-order alphabetically the resources in Draft.qrc to be easier to spot missing files 2019-10-07 14:17:08 +02:00
triplus
f1004248ca AppImage - support for embedded documentation 2019-10-06 18:18:29 +02:00
Zheng, Lei
6663d625a9 Gui: add new API ViewProviderDocumentObject::allowOverride()
This API is used to delcare if a view provider can be used as an
override for a give object.

Conflicts:
	src/App/DocumentObject.h
2019-10-06 17:22:57 +02:00
vocx-fc
4775def51b Part: deactivate and remove the remaining XPM icons, and use SVG icons instead 2019-10-06 17:05:30 +02:00
vocx-fc
022442ca7f Part: rename the icons to start with Part_ 2019-10-06 17:05:30 +02:00
Tomas Pavlicek
c6d1684e2a TechDraw - Put BOM on beginning of exported SVG 2019-10-06 07:31:34 -04:00
Tomas Pavlicek
cf721089a9 TechDraw - SVG changes via DOM manipulation instead of Regex replace 2019-10-06 07:31:34 -04:00
vocx-fc
0717b4fc23 Gui: fix DlgSettings3DView.ui, remove bold tags <b> 2019-10-05 20:26:38 +02:00
luz.paz
c80ecc4a70 Source typo fix (includes file rename) 2019-10-05 13:19:32 -04:00
luz.paz
5f8d274f7f Crowdin: Fix creative common license name
Source: https://crowdin.com/translate/freecad/549/en-sv#6498160
2019-10-05 17:27:48 +02:00
vocx-fc
8589f7ec6e Part: new icon for Part::Part2DObject, in SVG, instead of using a generic XPM 2019-10-05 17:24:57 +02:00
vocx-fc
e13eb0ba61 Part: re-order the resources in Part.qrc, and removed the PNGs 2019-10-05 17:24:57 +02:00
luz.paz
e7530218e1 FIx typos and grammar 2019-10-05 17:21:13 +02:00
Jean-Marie Verdun
0a7d8d1259 Remove curl verbose mode ... (remove data exchange between europe and us client/server, reduce latency issue) 2019-10-05 17:21:03 +02:00
Jean-Marie Verdun
9e8be2e453 Create bucket in the case it is not yet available within the storage server 2019-10-05 17:20:56 +02:00
looooo
3939e4543e cmake: pyside2: we also need headers from shiboken and pyside2 2019-10-05 17:15:29 +02:00
Philipp M. Fischer
da6091ab93 fix to flush stdout after unit test execution
- added statement to flush the stdout
2019-10-05 16:46:45 +02:00
Przemo Firszt
691085239a Modify Version and Release in fedora spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-10-05 16:39:18 +02:00
vocx-fc
fff903c144 Sketcher: ordered two items inside Sketcher.qrc 2019-10-05 16:37:31 +02:00
vocx-fc
52a8512863 Sketcher: modify the permissions of the icons (755), so that they don't have the execute permission (644) 2019-10-05 16:37:22 +02:00
luz.paz
f56d56699e Revised VBO tooltip per @realthunder's feedback 2019-10-05 16:35:25 +02:00
luz.paz
2648da6475 Fix typo in previous commit 2019-10-05 16:35:16 +02:00
luz.paz
9211032453 ...Add Render Caching tooltip
Forum thread:  
https://forum.freecadweb.org/viewtopic.php?f=17&t=39815&p=338357#p338357
2019-10-05 16:35:07 +02:00
luz.paz
3e5ec67d3d Docs: Update Prefs > Display > '3D View' tooltips
Update the tooltips for the '3D View' tab.
2019-10-05 16:34:59 +02:00
Matthew Fallshaw
af4f8b284b fix crash on macOS when opening OpenSCAD Workbench
The OpenSCAD Workbench crashes on open on macOS with error
"a bytes-like object is required, not 'str'", due to python 2 to
python 3 incompatibility. This is me implementing the fix described by
oapa at
https://forum.freecadweb.org/viewtopic.php?t=35384#p311908 (with an
untested attempt to make it also still run with python 2).
2019-10-05 16:31:32 +02:00
wmayer
c314edcaf6 replace Eigen::Index with auto to support older Eigen3 versions 2019-10-03 12:44:43 +02:00
wmayer
5e93a7193e fix build failure for Qt4 2019-10-03 11:19:02 +02:00
wmayer
ea171b5e0f fix typo 2019-10-03 11:04:51 +02:00
wmayer
e1b0df9386 remove PCH from header file 2019-10-03 10:18:23 +02:00
luz.paz
7b7797f4f3 Fix various (doxy) typos and whitespace issues
Found via `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,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`
2019-10-03 07:57:13 +02:00
Bernd Hahnebach
1f871035f3 Arch: very small typo 2019-10-03 07:16:55 +02:00
wmayer
2134086d4c fix further file names vulnerabilities in TechDraw module 2019-10-03 02:45:38 +02:00
wmayer
21f59ecb67 fix crash in SymbolChooser in case it's empty and Ok is clicked 2019-10-03 02:44:50 +02:00
wmayer
3aa0432425 fix further file names vulnerabilities in modules 2019-10-03 02:37:25 +02:00
wmayer
f9ca1b18a4 add function to escape special characters in strings 2019-10-03 01:43:08 +02:00
wmayer
0aa0f1c31f fix build failure: add export mscro, add header 2019-10-03 01:32:33 +02:00
sliptonic
cee9f4ff40 Merge pull request #2565 from mlampert/feature/Path-BoundBox
Path: add BoundBox property to Path object
2019-10-02 08:17:26 -05:00
wmayer
d2be4f115d fix further file names vulnerabilities in core system and Image module 2019-10-02 15:07:13 +02:00