Commit Graph

26394 Commits

Author SHA1 Message Date
Andreas Brinner
63f7aa3b66 Check return value of getMDIViewPage() a second time
When exporting a hidden TechDraw::Page with exportPageAs[Pdf|SVG] a
Segmentation Fault occured.

The return value of getMDIViewPage() was only checked for the first call, but
not for the second call. showMDIViewPage() silently returns, when the
TechDraw::Page is hidden and does not load the page.
2020-12-09 11:21:59 +01:00
wmayer
65ac47759f [skip ci] avoid to let Coin redefine several HAVE_ macros 2020-12-08 19:06:09 +01:00
wmayer
5d7a2df758 App: [skip ci] by default disable transactions on recompute 2020-12-08 13:17:16 +01:00
Aapo
a421a35f1f [TD] Add a comment about QGIViewBalloon.cpp draw() function needing refactoring. 2020-12-07 23:48:28 +02:00
Aapo
6670197fad [TD] Add Balloon property LineVisible for making the Balloon line visible or hidden. 2020-12-07 23:40:12 +02:00
Aapo
d274805567 [TD] Add Balloon property EndTypeScale for scaling line end decorations (arrows etc). 2020-12-07 23:40:12 +02:00
travisapple
51a30c7e74 Update importWebGL.py 2020-12-07 12:57:53 -08:00
Ryan White
ac3cc0804e Update README.md
Added details on reporting issues to the README.md file
2020-12-07 11:38:23 -08:00
Chris Hennes
63dd784e64 Merge branch 'master' into fixAirfoilImportNumberRegex 2020-12-07 13:27:03 -06:00
Chris Hennes
9e9e1b5b54 [Draft] Fix airfoil data detection regex
The regular expression that Draft's airfoil data importer uses did not allow for lowercase "e" when using scientific notation. This corrects that, and silences Python Developer Mode warnings about deprecated escape sequences by converting most of the regex to use raw strings.
2020-12-07 13:13:34 -06:00
JAndersM
bd913d1dd5 Update task_scale.py
The changes solves the Ticket #3691 - Bug in draft scale. Only integers work
2020-12-07 19:51:29 +01:00
wmayer
751f48a54f Import: [skip ci] fixes #0004477: Can't import .STEP files with cyrillic symbols 2020-12-07 17:54:17 +01:00
Yorik van Havre
80d49c444e Merge pull request #4068 from aapo-aapo/TD-Spreadsheet-fix
[TD] TechDraw DrawViewSpreadsheet fix
2020-12-07 14:15:01 +01:00
Yorik van Havre
5fcbe1ba16 Merge pull request #4113 from bitacovir/Std_File_Menu_Icons
Add SVG icons for ten Std File Menu Commands
2020-12-07 13:29:00 +01:00
bitacovir
cc1e2625db Add SVG icons for ten Std File Menu Commands
This commit adds SVG files with icons for these commands. Also, it makes the necessary changes on CommandDoc.cpp, CommandWindow.cpp, CommandStd.cpp and resource.qrc files.
2020-12-06 18:25:20 -03:00
sliptonic
14216dcaa0 Merge pull request #4089 from mlampert/feature/thread-milling
Path: Feature/thread milling
2020-12-05 13:16:53 -06:00
donovaly
36686f78b1 [TD] treat dimensions the same way, no matter if with unit or not
fixes the issue reported here: https://forum.freecadweb.org/viewtopic.php?f=35&t=52545&start=40#p454483
2020-12-05 03:58:39 +01:00
Aapo
f72bf9d325 [TD] Make DrawViewSpreadSheet respect DrawPage::redrawCommand() update mechanism. 2020-12-05 00:50:20 +02:00
Aapo
3dd77d7e89 [TD] Fix column index range checking bug in std::string DrawViewSpreadsheet::getSheetImage(void) 2020-12-05 00:50:19 +02:00
luz paz
60a6e8e36e FEM: Added instructions to fem.dox file 2020-12-04 17:50:05 +01:00
luz paz
55f471b72c FEM: doxygen 2020-12-04 17:50:00 +01:00
Mark O'Donovan
e88dff8902 Remove unused variable in DrawViewDimension.cpp 2020-12-04 17:13:56 +01:00
wmayer
628fcedb11 App: [skip ci] in addition to PR4104 pop the diagnostic 2020-12-04 17:11:22 +01:00
Mark O'Donovan
976c7f5346 Suppress gcc warnings also in FeaturePythonPyImp.h
Clang warnings are already disabled.
2020-12-04 17:09:06 +01:00
donovaly
97e7913b11 [TD] uniform wording
in other/existing elements of line width we speak of "width", so do the same for line groups
2020-12-04 13:56:38 +01:00
Markus Lampert
4aeac73b39 More py2 special handling for unit tests 2020-12-03 19:39:33 -08:00
Markus Lampert
371daca128 Added consistent encoding headers and fixed whitespaces 2020-12-03 18:15:36 -08:00
Markus Lampert
d098547e17 Fixed unit test breakage for py2 2020-12-03 18:15:36 -08:00
Markus Lampert
5e6725a84f Added thread milling files to cmake 2020-12-03 18:15:36 -08:00
Markus Lampert
1fdff7a894 Added example thread cutter to default library 2020-12-03 18:15:36 -08:00
markus
deb03f678d Use new ToolBits (and only those) for thread milling. 2020-12-03 18:15:36 -08:00
markus
beb4f2e011 Filter all TCs for suitability for a given op. 2020-12-03 18:15:36 -08:00
markus
8fb1cd078b Catch exception if shape file does not include a thumbnail. 2020-12-03 18:15:36 -08:00
markus
03d09be6b7 Fixed merge issue 2020-12-03 18:15:36 -08:00
Markus Lampert
f0a0a9a70a Cleaned up properties 2020-12-03 18:15:36 -08:00
Markus Lampert
ac4af399c3 Added support for imperial threads to thread milling 2020-12-03 18:15:36 -08:00
Markus Lampert
885036553b Added actual thread milling path generation. 2020-12-03 18:15:36 -08:00
Markus Lampert
310f72145d Added thread milling radii calculation 2020-12-03 18:15:36 -08:00
Markus Lampert
ab9bf8c222 Add basic thread milling op 2020-12-03 18:15:36 -08:00
Aapo
514b41b1c2 [TD] GQIViedDimension.cpp, GQCustomText.cpp - Fix Dimension label unit positioning bug and too tight bounding rectangle. 2020-12-03 21:31:01 +01:00
sliptonic
9f930af3fe Merge pull request #4097 from Russ4262/millface_fix
Path: Millface fix - Address rounding issue
2020-12-03 13:29:14 -06:00
sliptonic
13be5f89c7 Merge pull request #4102 from sliptonic/vcarvedepth
[PATH] Add finaldepth property.
2020-12-03 13:27:44 -06:00
donovaly
4bae944950 [TD] make LineGroup selectable
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.

This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.

A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
wmayer
23273c42db Py3: [skip ci] make FreeCAD thumbnailer working with Py3 by opening PNG icon in binary mode 2020-12-03 16:50:45 +01:00
Yorik van Havre
728cf3ca11 Draft: Fixed Annotation style dialog's arrow types - fixes #4505 2020-12-03 16:30:05 +01:00
donovaly
7f856a251f tolerances can be negative, thus the decimal precision check must be adapted 2020-12-03 15:50:06 +01:00
donovaly
a2b523fb39 [TD] fix unit mismatch bug
- also make global decimal option italic since it only affects new dimensions
- also fix a typo in UnitsApi.h
2020-12-03 15:50:06 +01:00
Yorik van Havre
8c15f7f84f Draft: Colored grid axes 2020-12-03 15:15:15 +01:00
wmayer
eac5b9466f PartDesign: [skip ci] for PartDesign::Torus primitive use TopoShape::makeTorus 2020-12-03 15:06:22 +01:00
wmayer
d90b2d0acf Part: [skip ci] for Part::Torus primitive use TopoShape::makeTorus 2020-12-03 14:52:13 +01:00