Commit Graph

23115 Commits

Author SHA1 Message Date
wmayer
46882fc6e5 Part/Sketcher: [skip ci] fix build failures with gcc 10 on Fedora
When using gcc 10 and PyCXX 7.1.4 on Fedora there is an error because the conversion from size_t to Py_ssize_t is ambiguous
See https://forum.freecadweb.org/viewtopic.php?f=4&t=52502

The class Py::Tuple is also incorrectly used here and causes a memory leak
2020-11-25 16:56:03 +01:00
wmayer
23059c13d3 PyCXX: [skip ci] fix compiler warnings due to changes on PyCXX 2020-11-25 16:52:46 +01:00
wmayer
2ba2e23a98 PyCXX: harmonize PyCXX with Python C API 2020-11-25 14:35:59 +01:00
Yorik van Havre
9c0f6eb2d5 Merge pull request #4067 from marioalexis84/draft-upgrade
Draft: Some fixes in upgrade function
2020-11-25 11:07:01 +01:00
Yorik van Havre
320e4edc2b Merge pull request #4077 from marioalexis84/draft-arch_dim_tracker
Draft: Change archDimTracker text position depending on distance and scale values
2020-11-25 10:17:39 +01:00
donovaly
a6720045d0 [App] get rid of MSCV compiler warning
the same as in https://github.com/FreeCAD/FreeCAD/pull/4053
2020-11-25 09:51:40 +01:00
marioalexis
a11b457121 Draft: Some fixes in upgrade function. bug #0004460, fixes #0004462, #0004080 2020-11-24 22:08:06 -03:00
Rafael Villar Burke
e0c3237d6c Fix thumbnailing
This fixes thumbnailing for XDG desktops. The new script doesn't depend on GNOME libs and works either with python3 or python2.
Also, a thumbnailer config file is added to the installation in CMakeList.txt
2020-11-24 17:47:40 +01:00
wmayer
7c824bbd93 Gui: [skip ci] fix -Wodr
The forward declarations of QuantitySpinBox and Ui_TaskAppearance were done in the wrong namespace
2020-11-24 15:46:46 +01:00
wmayer
c3b147a5c9 Init: [skip ci] do explicitly open Init[Gui].py files with utf-8 encoding 2020-11-24 14:15:26 +01:00
wmayer
3f117b4ac3 Import: [skip ci] do not scale when exporting to glTF format 2020-11-23 22:36:40 +01:00
sliptonic
a42355939a Merge pull request #4073 from Russ4262/fix_slot
Path: Fix arc slotting direction in Slot operation
2020-11-23 15:08:40 -06:00
marioalexis
1569b08451 Draft: Change archDimTracker text position depending on distance and scale values 2020-11-23 16:25:21 -03:00
sliptonic
152351e8a8 Merge pull request #4014 from sliptonic/feature/toolbitdock
[PATH] Feature/toolbitdock
2020-11-23 10:12:58 -06:00
wmayer
84d730c194 Gui: [skip ci] add method to return list of QAction of a Command 2020-11-23 16:49:25 +01:00
wmayer
cd3cf83415 Gui: [skip ci] add method to create Python wrapper for QObject 2020-11-23 16:48:54 +01:00
Russell Johnson
37cd09e7ae Path: LGTM cleanup 2020-11-22 18:27:21 -06:00
Russell Johnson
1468c7e842 Path: Implement LazyLoader for Arcs module 2020-11-22 18:27:21 -06:00
Russell Johnson
da3f052270 Path: Fix g-code arc direction
Fixed incorrect point orders assigned to g2 and g3 commands.
Add application of `ReverseDirection` property to `ZigZag` cut pattern.
Make default arc direction clockwise(g2) for all cut patterns and layer modes.
Make tool diameter access backward compatible.
2020-11-22 18:27:21 -06:00
Russell Johnson
1ee1c9a5df Path: Simplify and fix debugging code 2020-11-22 15:38:50 -06:00
Russell Johnson
0d5a728698 Path: Standardize debugging mode control code 2020-11-22 15:37:31 -06:00
luz paz
01b21e0d06 Base: Fix header uniformity, whitespace, and doxygen
[skip ci]
2020-11-22 18:12:16 +01:00
sliptonic
015250c810 revert docstring format for help box formatting.
log levels reset to INFO
remove unnecessary comments.
2020-11-22 11:08:28 -06:00
Zheng, Lei
810a8dc643 App: fix ObjectIdentifier::relativeTo()
Fixes realthunder/FreeCAD_Assembly3#328
2020-11-22 18:07:12 +01:00
wmayer
3c18a73b94 Import: [skip ci] add support of glTF format (requires OCCT 7.5) 2020-11-22 16:11:24 +01:00
bitacovir
50bc63e80d Add SVG icons for five Std Tool commands
This commit adds SVG files with icons for these commands. Also, it makes the necessary changes on CommandStd.cpp, CommandDoc.cpp, CommandView.cpp and resource.qrc files. 
Forum Discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=51502&start=10
2020-11-22 11:58:14 +01:00
wmayer
ef0368a5ec Gui: [skip ci] add method to Python binding of ViewProviderExtension to ignore overlay icon 2020-11-22 11:20:54 +01:00
wmayer
ad768345ac Gui: [skip ci] merge icons of extensions of view provider of a Python feature 2020-11-22 11:15:11 +01:00
wmayer
86f3f55aa5 Gui: [skip ci] add method to ignore to merge icon of an extension that is e.g. used for Part primitives 2020-11-21 16:49:08 +01:00
wmayer
34fa5c84b2 Mesh: [skip ci] add command to split a mesh into its components 2020-11-21 11:46:59 +01:00
wmayer
4608e9bc0a Gui: [skip ci] Fix navigation styles
If a joystick is connected events of type Spaceball::MotionEvent might be emitted but the last saved mouse position is not passed to the SoMotion3Event and thus will lead to problems while panning.

See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=50628 and https://github.com/FreeCAD/FreeCAD/pull/3902
2020-11-21 10:15:13 +01:00
wmayer
1e83085030 Image: [skip ci] pass trackers as argument to cmdCreateImageScaling 2020-11-21 09:51:54 +01:00
sliptonic
3a8f40a458 fix 'add' button in Job task panel
fix chamfer bit
lgtm cleanup
2020-11-19 17:10:50 -06:00
Yorik van Havre
c465fbd799 Draft: Fixed bug in SVG projection fill 2020-11-19 13:53:44 +01:00
luz paz
7349f92472 StartWB: Add description to start.dox with orientation on howto improve it
[skip ci]
2020-11-19 13:42:23 +01:00
luz paz
4568effc2b StartWB: Make all file headers uniform and trim whitespace [skip-ci]
[skip ci]
2020-11-19 13:42:23 +01:00
luz paz
ae48d4afb2 Surface: Fix header uniformity, whitespace, and doxygen header 2020-11-19 13:41:43 +01:00
Aapo
5ed116283c Refactor code in DrawViewDimension::getRefType() shorter and simpler. No functional change except subelement sizes > 3 are supported, even though they are not supposed to happen. 2020-11-19 13:40:42 +01:00
luz paz
84553bf191 App: Fix header uniformity, trailing whitespace, and doxygen headers 2020-11-19 13:38:37 +01:00
Yorik van Havre
ad8d83a71b Arch: Windows: Added 'invert opening' and 'invert hinge' context menu items + task panel buttons 2020-11-19 13:13:38 +01:00
sgrogan
cb3666c07a cMake [skip ci] fix copying of qtwebengine_locales on Win 2020-11-19 12:27:32 +01:00
Bernd Hahnebach
cf57e5feff FEM: ccxtools, dir improvements 2020-11-18 23:32:15 +01:00
wmayer
25b1f21d2d App: simplify the logic in PropertyLinkList::getPyValue 2020-11-18 18:21:15 +01:00
Chris Hennes
e222461e85 Modify PropertyLinkList to accept None from Python. 2020-11-18 18:11:11 +01:00
Aapo
deab8fc965 [TD]fix V2E DistanceX,Y to always use the closest point of edge to the vertex. 2020-11-18 14:54:44 +01:00
donovaly
99208ec2f4 [PD] more hole fixes
- there is the ISO 273 describing clearance holes, so we need to take these values. Only if we have a size not defined in the norm, we calculate
- add the coarse (wide) type for clearance holes from ISO 273
- add all screw thread sizes defined in DIN 13/ISO 261
- rearrange thread dialog to make it more compact
- change name "fit" to "clearance" as discussed
- add tooltips to the dialog
- fix issue with TaperedAngle dialog field
- change a size name because the norms define "M1" not "M1.0"
2020-11-18 14:45:14 +01:00
Yorik van Havre
ed3b5a1dd0 Draft: Fixed regression caused by new setstyle button 2020-11-18 11:41:38 +01:00
luz paz
bd3fdd288e Web: Fix header uniformity, whitespace, doxygen headers 2020-11-18 08:58:38 +01:00
luz paz
26636dbbad Test: Fix header uniformity, whitespace, doxygen headers 2020-11-18 08:58:06 +01:00
Bernd Hahnebach
3cdbbe6dbc FEM: typo in coding conventions 2020-11-18 08:16:01 +01:00