Commit Graph

22203 Commits

Author SHA1 Message Date
sliptonic
5c67c40dbd Merge pull request #3751 from J-Dunn/master
Path: prevent added paths creating tool crash: fixed #4260
2020-08-04 10:40:13 -05:00
sliptonic
bfa8cbf8a6 Merge pull request #3706 from etrombly/emptyPath
[PATH] don't generate gcode if op isn't valid. Don't plunge to start height if safe and clearance height are the same.
2020-08-04 10:20:13 -05:00
wmayer
76e7429489 Gui: [skip ci] set Gui.listCommands to keep old code working 2020-08-03 18:58:00 +02:00
mwganson
0cf8279f00 [Gui Commands] new command: listCommandsByShortcut(string) -- returns a python list of all commands that are using the shortcut. Search is case-insensitive and ignores spaces 2020-08-02 21:09:36 +02:00
wmayer
9b529bc45c Gui: [skip ci] move Python functions for commands to its own class 2020-08-02 20:50:43 +02:00
wmayer
ed4876abb4 Gui: add an option to also suppress normal messages 2020-07-31 19:39:49 +02:00
mwganson
a41ad338e9 [report view] add preferences to report view context menu 2020-07-31 19:39:49 +02:00
Zheng, Lei
488419cd73 Part: fix FaceMakerBullseye plane finding
Copy the shape to work around OCC circular edge transformation bug
2020-07-31 17:37:18 +02:00
wandererfan
989519e002 [TD]Fix extent dim for edge collection 2020-07-31 08:55:54 -04:00
Zheng, Lei
4a5cca3359 PartDesign: fix pattern transformation 2020-07-31 14:46:33 +02:00
wmayer
aefe6e1790 App: [skip ci] for a recompute do not report every exception as error
There are a lof of scenarios where it's not possible to perform an operation without throwing an exception. Reporting an exception as error is not only annoying but often confusing because the user assumes he did something wrong.
So, for the moment many of these exceptions are reported as log messages but serious things like memory exception, std. C++ exceptions or unknown C++ exceptions are still reported as errors
2020-07-31 13:59:40 +02:00
wmayer
a9af418698 PartDesign: [skip ci] move indexesMoved() to base class TaskTransformedParameters to avoid code duplication 2020-07-31 13:16:44 +02:00
donovaly
d5787f9bda [PD] allow to change feature order in patterns
As discussed here: https://forum.freecadweb.org/viewtopic.php?f=27&t=48998#p420352
The pattern dialogs need a feature to change the order of the features to be patterned
2020-07-31 11:47:31 +02:00
Bernd Hahnebach
3600ccae8d FEM: examples, fix another non ascii character 2020-07-31 09:07:07 +02:00
luz paz
74ab9ccd9c Crowdin - Fix typos found by translators + Random typos [skip-ci]
https://crowdin.com/translate/freecad/6766/en-fr#6582288
2020-07-31 09:05:23 +02:00
Bernd Hahnebach
55445f1af1 FEM: examples, fix non ascii character in code 2020-07-31 09:04:28 +02:00
wmayer
94ca4388e4 PartDesign: [skip ci] set dragDropMode of list widgets of Transform panels to 'InternalMove' 2020-07-30 14:54:43 +02:00
wmayer
64c9fa0dab Py2: fix Python2 builds 2020-07-30 14:37:11 +02:00
wmayer
6903b4fe6b ReverseEngineering: [skip ci] do not explicitly use boost::shared_ptr because pcl11 now uses std::shared_ptr 2020-07-30 14:23:20 +02:00
donovaly
a1f418710f [Win installer] remove FindProc plugin
there is no need to have 2 plugins doing the same
moreover FindProc does no longer work with recent Windows 10 versions, so it must be removed anyway

- configure.nsh: small code optimization
- Settings.nsh: update year
2020-07-30 12:49:25 +02:00
donovaly
47aeb41b83 [Win installer] add missing translations
the translation folder was missing

- also add safe guards that really only the desired subfolders will be part of the installer not also files that may exist in the base folder
2020-07-30 12:47:33 +02:00
luz paz
71d64a7bff Crowdin: Fix superfluous newlines + uniformity [skip-ci]
https://crowdin.com/translate/freecad/27911/en-en#6578930
https://crowdin.com/translate/freecad/27911/en-en#6584458
https://crowdin.com/translate/freecad/27911/en-en#6584460

Note: Parts of the issue are handled with PR 3744
2020-07-30 12:42:31 +02:00
vocx-fc
598baecd37 Part: move Shape view properties to Part design preferences 2020-07-30 12:28:28 +02:00
donovaly
2a8fe51038 [App/Gui] improve coding style
inspired by the changes made with https://github.com/FreeCAD/FreeCAD/commit/dc65b055e514
2020-07-30 12:05:22 +02:00
donovaly
c5e2aba15e [PD] allow multiselection on creation of pattern
- Since realthunder's contributions some months ago, the 4 pattern features (mirror, linear, polar, mulitransform) can handle several features at once.
This PR allows to select multiple features when creating a pattern.
(This speeds up the workflow because at the moment one has to create the pattern with one feature and subsequently add more.)

- fix dialog issue that Add and Remove button could be active the same time

- use the keyboardTracking feature to avoid unnecessary recomputes (e.g. currently 3 recomputes when inserting "12.5" to the length field of linear pattern)

- fix wrong <extends> statement in .ui files (automatically spotted and fixed by Qt's Designer)
2020-07-30 10:56:24 +02:00
Bernd Hahnebach
10e697f5b4 FEM: improve short cuts 2020-07-30 09:05:42 +02:00
vocx-fc
25da304b5a Arch: further small fixes in importIFC 2020-07-30 08:36:49 +02:00
vocx-fc
7dc66ce11b Arch: simple cleanup to the importer, spacing, and PEP8 2020-07-30 08:36:49 +02:00
Sudhanshu Dubey
9728cf15f0 FEM: square pipe examples, typo corrected for consistency 2020-07-30 08:10:27 +02:00
Sudhanshu Dubey
499eb8d07d FEM: examples, add electrostatics electricforce example
From elmer tutorial nongui6
2020-07-30 08:10:25 +02:00
Sudhanshu Dubey
7bb3506c45 FEM: examples, added capacitance two balls example 2020-07-30 08:10:23 +02:00
Sudhanshu Dubey
6d5b0432e9 FEM: examples, bimetall, add solver elmer 2020-07-30 08:10:21 +02:00
Sudhanshu Dubey
50566cff2b FEM: examples, add constraint transform beam hinged example 2020-07-30 08:10:19 +02:00
Sudhanshu Dubey
b737ed6a55 FEM: examplesgui, enhancements
- double click to setup example
- wait cursor when loading example
- sorting second level
2020-07-30 08:10:15 +02:00
Sudhanshu Dubey
30a87fa0e0 FEM: examplesgui, setting default solver to None
leaving it for the example to decide
2020-07-30 08:10:15 +02:00
Bernd Hahnebach
74ffe857dc Arch: export IFC, better default preferences 2020-07-30 08:10:13 +02:00
wandererfan
f2a9f712e8 [TD]Correct font size on PDF export 2020-07-29 15:53:04 -04:00
Abdullah Tahiri
60d73e0e8e Part: Attacher intersection calculation fix
===========================================

In OCCT 7.4 (and apparently <= 7.4 too):

A GeomAdaptor_Curve obtained directly from BRepAdaptor_Curve will not work because it won't respect the
Location/orientation of the underlying curve.

This commit proposes to create a new GeomAdaptor_Curve from an intermediary curve handle to work around
this issue.
2020-07-29 19:06:59 +02:00
wmayer
17f16650cc flatmesh: [skip ci] implement converters from Eigen3 matrices to Python 2020-07-29 16:42:53 +02:00
wmayer
a2926df471 MeshPart: [skip ci] fix segmentation fault in flatmesh when built with boost.python 2020-07-29 13:44:45 +02:00
wandererfan
980ecc87a3 [TD]Dim blocks selection of geometry 2020-07-28 15:09:40 -04:00
sliptonic
4bfa602368 Merge pull request #3700 from etrombly/deletedFaces
[Path] handle makeOffset2D exception in path pocket operation
2020-07-28 11:50:27 -05:00
sliptonic
ed9c94d9b6 Merge pull request #3585 from gwicke/unified_region_experiments
Path: Area based unified projection implementation
2020-07-28 11:48:56 -05:00
J-Dunn
2be614895f Merge branch 'master' into master 2020-07-28 14:47:39 +01:00
wmayer
cd5341001e remove superfluous includes of iostream, use iosfwd instead 2020-07-28 15:22:23 +02:00
J-Dunn
0c3006e77c prevent added paths creating tool crash #4260 #3028
In this path dressup a bogus machine position is used to get an initial edge, this results in a path element which does reflect the input path data and can lead to a tool crash. This PR checks whether X and Y actually come from the input path data and prevent new path elements being added until true machine position has been set. 
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=15&t=42820
2020-07-28 14:12:11 +01:00
felix
4329ccd1ed [TechDraw] Add context to zh_CN README file for description changes
[skip-ci]
2020-07-28 08:39:48 -04:00
felix
0190e8d276 [TechDraw] Add all sizes (landscape/A3/A4 portrait) template PRoC files
Add all landscape template files in landscape directory.
create new directory portrait and put A3/A4 portrait
template files to the directory.
2020-07-28 08:39:48 -04:00
felix
d39b4dfcda [TechDraw] Delete v0.001 of all landscape PRoC template files
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=17&t=48854
2020-07-28 08:39:48 -04:00
wmayer
767b2787c1 LGTM: [skip ci] remove some obsolete FIXME comments from source code 2020-07-28 09:49:20 +02:00