Commit Graph

19616 Commits

Author SHA1 Message Date
Yorik van Havre
dca216e761 Merge branch 'master' into draft-feature_name 2021-04-29 12:40:27 +02:00
Bernd Waibel
20c4c369b3 [Test] fix failing test
Solves an issue with the test module when running test-suite
as described in
https://forum.freecadweb.org/viewtopic.php?f=10&t=58099

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2021-04-28 22:09:55 +02:00
Yorik van Havre
bcf9ef3cbe Merge pull request #4764 from KeithSloan/addElement
OpenSCAD - Add element ( Load | Save | Refresh )
2021-04-28 12:37:45 +02:00
sliptonic
719f0db263 fix bug adding TC from job dialog.
When adding tool controllers from the job dialog, it will now
try to match the toolbit file with the currently selected library
and add use the toolnumber from there.  If no match is found,
it will autoincrement from the existing tool controllers
in the job
2021-04-27 14:56:05 -05:00
luz paz
05a22ec22d Misc: remove py2 code 2021-04-27 18:52:01 +02:00
Keith Sloan
d850ed87aa Add Load/Save/Refresh to add OpenSCAD Elements 2021-04-27 17:42:06 +01:00
wmayer
346fe8a93a Path: [skip ci] fix memory leaks 2021-04-27 14:32:35 +02:00
wmayer
1e5c5f4e7f Path: [skip ci] fix memory leaks 2021-04-27 13:02:57 +02:00
wmayer
5a5b20df56 Sketcher: [skip ci] fix memory leak in GeometryFacade 2021-04-27 00:20:57 +02:00
wmayer
e51f5a8aa7 Sketcher: [skip ci] remove superfluous semicolons 2021-04-26 23:05:18 +02:00
wmayer
b35ae4fc81 Sketcher: [skip ci] fix memory leak in GeometryFacadePy 2021-04-26 12:30:02 +02:00
wmayer
6aef001272 Part: remove some more deprecated Py2 code 2021-04-26 11:13:22 +02:00
wmayer
0fc3d4883f Image: remove some more deprecated Py2 code 2021-04-26 11:12:51 +02:00
wmayer
b4ee9fa345 Drawing: remove some more deprecated Py2 code 2021-04-26 11:12:34 +02:00
wmayer
b84dcf9b27 Path: remove some more deprecated Py2 code 2021-04-26 11:11:35 +02:00
wmayer
322e027c2b Points: remove some more deprecated Py2 code 2021-04-26 11:04:53 +02:00
wmayer
2d0bbfdb3a Raytracing: remove some more deprecated Py2 code 2021-04-26 11:04:26 +02:00
wmayer
77b7b0816c Spreadsheet: remove some more deprecated Py2 code 2021-04-26 11:03:48 +02:00
wmayer
f5f3acc2a3 TD: remove some more deprecated Py2 code 2021-04-26 11:01:59 +02:00
bitacovir
31b0f25b6d [UI] Replace SVG icon files for Plain SVG format 2021-04-25 22:04:17 +02:00
Keith Sloan
8bdf4a7a2b Add load/save/refresh to addElement 2021-04-25 15:10:46 +01:00
wmayer
ea96f18601 TD: do not delete mtextedit.h for in-source builds 2021-04-25 13:15:20 +02:00
luz paz
c69f245d6f Part: remove py2 code 2021-04-25 11:29:35 +02:00
luz paz
086063f75e Mesh: remove py2 code 2021-04-25 11:26:39 +02:00
luz paz
1e795e869c [FEM] remove Py2 code 2021-04-25 11:25:29 +02:00
0penBrain
043dd45da0 [Sketcher] Visibility automation : add ability to open sketch in Section View mode 2021-04-24 16:22:46 +02:00
Abdullah Tahiri
18e751530a 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
4d6b1f3eb8 Sketcher - Add new Split Edge action 2021-04-24 14:30:35 +02:00
wmayer
ae0a31542f TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable 2021-04-23 17:05:13 +02:00
Yorik van Havre
317177dad6 Draft: Fixed default color for new dimensions (now uses DefautTextColor instead of DefaultLineColor) 2021-04-23 15:46:39 +02:00
sliptonic
b4823e8606 Merge pull request #4749 from sliptonic/feature/inspecttool
[Path] adjust tool position during inspect
2021-04-22 08:33:14 -05:00
luz paz
f64f0e7182 Sketcher: remove Py2 code from Sketcher wb 2021-04-22 14:11:04 +02:00
luz paz
1d60dbdc85 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
Yorik van Havre
819e15a0a4 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
80728ed66b 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
0377ad9c0d 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
d775aa930b Merge pull request #4724 from Syres916/patch-15
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
Ondrej Flidr
e799546556 Merge branch 'master' into master 2021-04-21 21:30:56 +02:00
wmayer
c4f411af26 Gui: use public methods in Command sub-classes 2021-04-21 19:34:50 +02:00
steelman
34d61f231b Merge branch 'master' into opening-modes 2021-04-21 17:16:30 +02:00
Łukasz Stelmach
c7b1e35c02 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
88bc022a90 tabs to spaces 2021-04-21 15:31:40 +02:00
wmayer
2c072c7092 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
f3e9f6c4cd [OpenSCAD] Fix regression with angle specification
Correct mistake introduced in 7eec10def.
2021-04-21 14:20:10 +02:00
Ondrej Flidr
b0b53fc8ef revert dynamic char limit 2021-04-21 13:38:51 +02:00
Ondrej Flidr
60aa32695a fix path lenght for ecryptfs 2021-04-21 13:37:10 +02:00
sliptonic
657b33d892 adjust tool position during inspect 2021-04-20 18:32:09 -05:00
donovaly
b9b42a52f4 [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
a76fb2c6d6 Part: properly handle small quantities in part primitive dialog 2021-04-20 17:11:38 +02:00
wmayer
6ce9ef387b Mesh: properly handle small quantities in mesh primitive dialog 2021-04-20 17:11:17 +02:00