Commit Graph

23693 Commits

Author SHA1 Message Date
luz paz
17ffa8255b Gui: remove py2 code 2021-04-25 11:27:48 +02:00
luz paz
2321c90c76 Mesh: remove py2 code 2021-04-25 11:26:39 +02:00
luz paz
1212bef4cd [FEM] remove Py2 code 2021-04-25 11:25:29 +02:00
0penBrain
5c10c586cd [Sketcher] Visibility automation : add ability to open sketch in Section View mode 2021-04-24 16:22:46 +02:00
Abdullah Tahiri
841c328eb3 Sketcher: Changes to split edge functionality
=============================================

This commit is directed to external functionality of the split() function.

1. getAppliedConstraints renamed to getConstraintIndices

This is just for clarity being a general function

2. SwapInvolvedGeometry functionality moved to Constraint class

Why?
i. Because it is a specific operation on a constraint, it must not be
a public function, as it does not define interface of the Sketch.
ii. It could be a lambda or a private utility function, but them it would not be reusable.
iii. It could be part of a helper class, but then, it is would be less reusable.

3. renaming of the flag passed to transferConstraints function
2021-04-24 14:38:44 +02:00
Tomas Pavlicek
a7d83b5e15 Sketcher - Add new Split Edge action 2021-04-24 14:30:35 +02:00
wmayer
9209d35390 TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable 2021-04-23 17:05:13 +02:00
Yorik van Havre
8d7281e97b Draft: Fixed default color for new dimensions (now uses DefautTextColor instead of DefaultLineColor) 2021-04-23 15:46:39 +02:00
Andrew White
57c708a4d6 Add human readable version to mac app bundle
CFBundleVersion is used by the system to identify
app versions, but CFBundleShortVersionString is
what Finder shows about the app when using the Get
Info screen. Having the version available there
makes it easer to check app versions without
launching FreeCAD
2021-04-23 15:32:45 +02:00
wmayer
0edbea1316 Base: use Python's weak reference mechanism to avoid memory leaks due to cyclic dependencies 2021-04-23 11:02:19 +02:00
wmayer
1d34fc0aa1 Gui: fix memory leak in SelectionParser::yyparse() 2021-04-22 23:16:03 +02:00
sliptonic
5bc11fe66f Merge pull request #4749 from sliptonic/feature/inspecttool
[Path] adjust tool position during inspect
2021-04-22 08:33:14 -05:00
luz paz
9e6fe284ed Sketcher: remove Py2 code from Sketcher wb 2021-04-22 14:11:04 +02:00
luz paz
738a697d94 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
Yorik van Havre
ba99b72984 Merge pull request #4748 from steelman/material-color-dialog
Arch: Fix material color pickers
2021-04-22 11:05:11 +02:00
Yorik van Havre
d88ac32a45 Merge pull request #4747 from SniperCZE/master
AddonManager cannot download anything if working dir is on ecryptfs (aka ubuntu's encrypted home)
2021-04-22 11:03:13 +02:00
Yorik van Havre
89893fba89 Merge pull request #4745 from steelman/opening-modes
Arch: Parse window opening modes with more than one digit
2021-04-22 11:01:08 +02:00
Yorik van Havre
c52e55c75b Merge pull request #4724 from Syres916/patch-15
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
wmayer
3fd643d3ee fixes #0003844: PVS: The pointer was not released in destructor. A memory leak is possible. 2021-04-21 21:46:14 +02:00
Ondrej Flidr
823c21b3be Merge branch 'master' into master 2021-04-21 21:30:56 +02:00
wmayer
f66bc8fc90 Gui: use public methods in Command sub-classes 2021-04-21 19:34:50 +02:00
steelman
dbf1927f77 Merge branch 'master' into opening-modes 2021-04-21 17:16:30 +02:00
Łukasz Stelmach
e3df634a20 Arch: Fix material color pickers
Provide currently set color as initial value for getColor() to enable
convenient incremental changes.

Do not change the colour if the Cancel buton was pressed.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-04-21 17:11:10 +02:00
Ondrej Flidr
7d0f808b9c tabs to spaces 2021-04-21 15:31:40 +02:00
wmayer
5ee0a355dd Mesh: [skip ci] fixes #0004430: Mesh_BuildRegularSolid: parametric mesh props have no units in Property editor 2021-04-21 14:50:45 +02:00
Chris Hennes
ef60a73cb5 [OpenSCAD] Fix regression with angle specification
Correct mistake introduced in 0e66abcab.
2021-04-21 14:20:10 +02:00
Ondrej Flidr
b457dc4062 revert dynamic char limit 2021-04-21 13:38:51 +02:00
Ondrej Flidr
87e6dddd37 fix path lenght for ecryptfs 2021-04-21 13:37:10 +02:00
sliptonic
a5768a2f16 adjust tool position during inspect 2021-04-20 18:32:09 -05:00
donovaly
f0655f7c3f [PD] fix primitives issues
- to avoid invalid results:
 - don't allow to set equal radii for cones
 - don't allow to set equal wedge parameters
 - don't allow zero quantities like e.g. the box width

- use full internal precision because it must be possible to create an e.g. 23.5 um wide box and using the default 2 displayed digits

- take spinbox limits from App

- add missing tooltips

- remove disturbing commented out line from Workbench.cpp

- some coding style issues fixed automatically by the MSVC IDE
2021-04-20 19:03:40 +02:00
wmayer
2fe44f80b9 Part: properly handle small quantities in part primitive dialog 2021-04-20 17:11:38 +02:00
wmayer
791508eb0d Mesh: properly handle small quantities in mesh primitive dialog 2021-04-20 17:11:17 +02:00
wmayer
7f66f3f4dc Gui: properly handle small quantities in property editor 2021-04-20 17:10:33 +02:00
Łukasz Stelmach
ba63ef51e5 Arch: Parse window opening modes with more than one digit
Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-04-20 15:02:13 +02:00
wmayer
b0d29b745c Base: add convenience functions to create a QString from quantity 2021-04-20 14:56:29 +02:00
wmayer
e4f98b4512 Base: add convenience functions to create a QString from quantity or double 2021-04-20 14:07:20 +02:00
Yorik van Havre
cf23e622ed Merge pull request #4536 from hyarion/feature-updatecrowdin-api-v2
[0.20] Tools: updatecrowdin.py rewrite to support new api
2021-04-20 11:51:11 +02:00
Yorik van Havre
07c914a8bb Merge pull request #4710 from marioalexis84/draft-draftgui
Draft: Sync input fields in task panel
2021-04-20 11:50:22 +02:00
Yorik van Havre
f78960179e Merge pull request #4743 from steelman/horizontal-snap-widget
Draft: Ensure horizontal orientation of snap_widget
2021-04-20 11:49:09 +02:00
Yorik van Havre
d366c38922 Merge pull request #4389 from marioalexis84/draft-close_button
[0.20] [Draft] Call finish method if Close button is pressed in dumb taskdialog
2021-04-20 11:36:03 +02:00
Łukasz Stelmach
9458e5c12f Draft: Ensure horizontal orientation of snap_widget
From time to time when switching to other workbenches snap_widget changes
orientation to vertical. Make sure it stays horizontal.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-04-19 19:58:06 +02:00
luz paz
a1fc733ddf App: remove Py2 code from several src/App .cpp files 2021-04-19 15:27:06 +02:00
wmayer
80415446cf CMake: disable moc for some targets and fix failure for existing builds 2021-04-19 15:13:17 +02:00
Mateusz Skowroński
9ade68e9bf Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6. 2021-04-19 15:10:53 +02:00
Yorik van Havre
3f3df7d8e3 Merge pull request #4726 from chennes/openscadLinearExtrudeAngleFix
[OpenSCAD] Fix twist angle to not limit to 360 deg
2021-04-19 11:23:14 +02:00
Yorik van Havre
65c31470ab Merge pull request #4727 from bitacovir/TransformManip_Icon
[UI] Add SVG icon for Std TransformManip command
2021-04-19 11:21:53 +02:00
Yorik van Havre
c22ed87c9f Merge pull request #4735 from easyw/master
allowing to export stpZ files on different disk drivers
2021-04-19 11:20:34 +02:00
Yorik van Havre
247905fd91 Merge pull request #4728 from sde1000/webgl-export-javascript-update
Arch: Improve WebGL export javascript template
2021-04-19 11:14:01 +02:00
Yorik van Havre
9dd3b2b8ae Merge pull request #4729 from marioalexis84/draft-gui_trimex
Draft: Fix regression in trimex command
2021-04-19 11:13:12 +02:00
tomate44
2daf6a03e4 Part: Shape.ReflectLines: add 2D/3D, visibility and EdgeType options 2021-04-18 08:26:26 +02:00