Commit Graph

22218 Commits

Author SHA1 Message Date
wandererfan
abdf4fa23b [TD]add py getEdgeBySelection 2020-08-06 10:21:13 -04:00
mwganson
d6530a0628 [OpenSCAD] Add 2 new commands: Scale and Resize, fix bug in Mirror mesh feature 2020-08-06 12:34:16 +02:00
wmayer
e0b02f39ff PartDesign: [skip ci] add text of sub-menus to translation system 2020-08-06 12:22:56 +02:00
donovaly
7f71cd3ef2 [PD] rework menu
The menu was too long for smaller screens. Therefore pack some of its items to subitems.
2020-08-06 12:14:27 +02:00
mwganson
0f7c1b82b5 [Gui::CommandPy] add new command resetShortcut() -- resets shortcut to default 2020-08-06 11:29:07 +02:00
Przemo Firszt
2dbe62afe6 Fix COPR rawhide builds
Signed-off-by: Elliot Lee <elliot.c.lee@gmail.com>
Tested-by: Przemo Firszt <przemo@firszt.eu>
2020-08-06 11:27:13 +02:00
wmayer
050b20fa30 Part: [skip ci] fix crash when closing document while face colors panel is open 2020-08-06 11:26:24 +02:00
wmayer
cca0c2737f OpenSCAD: [skip ci] set default of 16 for useMaxFN parameter 2020-08-06 09:47:25 +02:00
wmayer
c140ad0bb9 OpenSCAD: [skip ci] set default of 16 for useMaxFN parameter 2020-08-06 08:48:53 +02:00
wmayer
5cc5ac3e9a App: improve support of portable version of FreeCAD 2020-08-05 15:47:50 +02:00
sliptonic
6db220a458 Merge pull request #3763 from Russ4262/PocketShape_fix_t4411
Path: PocketShape - Fixes ticket #4411
2020-08-04 10:40:53 -05:00
sliptonic
0a9f7034a9 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
169a66b225 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
449b8a2f18 Gui: [skip ci] set Gui.listCommands to keep old code working 2020-08-03 18:58:00 +02:00
mwganson
e4208dadc7 [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
73f89f8cf0 Gui: [skip ci] move Python functions for commands to its own class 2020-08-02 20:50:43 +02:00
Russell Johnson
10b5cbc115 Path: Fix reference to undefined ns, and adjust comments
This `ns` fix might need further attention after testing.  The section to which it pertains deals with optimizing rotations between ops with similar rotational axes.
2020-08-02 13:27:32 -05:00
Russell Johnson
8e4032fc0d Path: Fix the rotational LimitDepthToFace feature 2020-08-02 13:27:32 -05:00
Russell Johnson
32f82a9b5e Path: Fix InverseAngle feature
The `ReverseDirection` property is now hidden by default.  It should not be necessary due to recent implementation of `isFaceUp()` method.
2020-08-02 13:27:32 -05:00
Russell Johnson
015eb0421b Path: PocketShape - Fixes ticket #4411
Existing code to determine if shape volume indeed existed, failed.
Added additional pre-check for existing edges in shape to determine if shape geometry indeed exists.
In forum:
[Ticket #4411 - Can only generate pocket once for this shape, then it fails.](https://forum.freecadweb.org/viewtopic.php?style=3&f=15&t=49035).
2020-08-02 13:27:32 -05:00
wmayer
3f7fb1af7a Gui: add an option to also suppress normal messages 2020-07-31 19:39:49 +02:00
mwganson
1a4a52356f [report view] add preferences to report view context menu 2020-07-31 19:39:49 +02:00
Zheng, Lei
35baa88bfa 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
15ad92ee91 [TD]Fix extent dim for edge collection 2020-07-31 08:55:54 -04:00
Zheng, Lei
35007e30e5 PartDesign: fix pattern transformation 2020-07-31 14:46:33 +02:00
wmayer
a7738cec07 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
87e7a3762b PartDesign: [skip ci] move indexesMoved() to base class TaskTransformedParameters to avoid code duplication 2020-07-31 13:16:44 +02:00
donovaly
ccd0f58e60 [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
ad4a22b8a7 FEM: examples, fix another non ascii character 2020-07-31 09:07:07 +02:00
luz paz
7487fdb0e7 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
4ef7bcdc17 FEM: examples, fix non ascii character in code 2020-07-31 09:04:28 +02:00
wmayer
292eed4ecb PartDesign: [skip ci] set dragDropMode of list widgets of Transform panels to 'InternalMove' 2020-07-30 14:54:43 +02:00
wmayer
29d01aefa0 Py2: fix Python2 builds 2020-07-30 14:37:11 +02:00
wmayer
ce628673db 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
9e5d9f6643 [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
0b685b35f1 [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
9199c2ed73 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
0cd118d198 Part: move Shape view properties to Part design preferences 2020-07-30 12:28:28 +02:00
donovaly
b7d9bbba04 [App/Gui] improve coding style
inspired by the changes made with https://github.com/FreeCAD/FreeCAD/commit/33148684955a
2020-07-30 12:05:22 +02:00
donovaly
003c2d5b62 [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
7d8e532380 FEM: improve short cuts 2020-07-30 09:05:42 +02:00
vocx-fc
c7232dfd15 Arch: further small fixes in importIFC 2020-07-30 08:36:49 +02:00
vocx-fc
c07e627f9e Arch: simple cleanup to the importer, spacing, and PEP8 2020-07-30 08:36:49 +02:00
Sudhanshu Dubey
f46e278a68 FEM: square pipe examples, typo corrected for consistency 2020-07-30 08:10:27 +02:00
Sudhanshu Dubey
f7abc8ac19 FEM: examples, add electrostatics electricforce example
From elmer tutorial nongui6
2020-07-30 08:10:25 +02:00
Sudhanshu Dubey
80085d43a9 FEM: examples, added capacitance two balls example 2020-07-30 08:10:23 +02:00
Sudhanshu Dubey
f1f5e10494 FEM: examples, bimetall, add solver elmer 2020-07-30 08:10:21 +02:00
Sudhanshu Dubey
5cd52e85b9 FEM: examples, add constraint transform beam hinged example 2020-07-30 08:10:19 +02:00
Sudhanshu Dubey
7695e295b2 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
bb8a909075 FEM: examplesgui, setting default solver to None
leaving it for the example to decide
2020-07-30 08:10:15 +02:00