Commit Graph

37100 Commits

Author SHA1 Message Date
Syres916
a575e6c7cb [Gui] [Tux] Fix Nav Style Icons and theme recognition 2024-01-15 13:43:58 +00:00
Chris Hennes
fa0a25a777 Merge pull request #11896 from Pesc0/toponaming-shapeprotector
Toponaming shapeprotector
2024-01-14 21:03:09 -06:00
Kacper Donat
48d935d401 Gui: Reset scroll position after preference page change
As every page is contained in the same QScrollArea we must ensure that
after page is changed the scrolled area is scrolled back to top-left
corner.

Fixes: #11981
2024-01-14 20:19:48 -06:00
sliptonic
2f710755bc Merge pull request #11972 from br4243/Fix_for_Vcarve_missing_letters_8064
Fix for issue 8064 missing letters when V-carving a string.

Excellent work!  Thank you.
2024-01-14 13:26:14 -06:00
Ladislav Michl
a85db2c1d6 Material: fix Qt6 build failure
QRegExp has been replaced with QRegularExpression and isn't part of the base of Qt6 any more
2024-01-14 11:08:10 +01:00
Bill Reese
adaa0d171b Fix for missing letters when V-carving a string.
Issue 8064 occurs when FreeCAD passes a Voronoi diagram to
Boost that becomes self-intersecting when Boost truncates the
diagram's coordinates to integers.  This occurs when the discretizer
slightly misses closing the polygon generated for the letter by less
that FreeCAD's epsilon, then the wrapping Python code closes the
polygon by adding the initial polygon point as the final point.
This creates a short segment that, depending on the position of
the letter in the coordinate system, may end up being moved one
Boost coordinate delta away from the intended point, which can
end up self-intersecting.
Since the miss is very small, FreeCAD should treat it as it it
were the initial point.  There's no need for a duplicate copy of
the initial point, so we remove this point close to the initial
point and let insert_many_wires() close the polygon as usual.
2024-01-13 12:41:26 -05:00
Syres916
ce1a43ed2c [Gui] Fix Status Bar Tooltip Visibility 2024-01-13 09:15:18 -06:00
pre-commit-ci[bot]
dd1db1e23e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-13 09:59:54 -05:00
edi271
6b68344af8 [TD] extend App.Vector API 2024-01-13 09:59:54 -05:00
edi271
14c536b453 [TD] extend Base::Vector3D 2024-01-13 09:59:54 -05:00
edi271
9a9803c9f9 [base] Extend Vector by isParallel function 2024-01-13 09:59:54 -05:00
Paddle
5ee16df6b7 Draw arc helpers for radius constraints. 2024-01-12 19:03:38 -06:00
Paddle
827781ab3f Improve angle constraint rendering. 2024-01-12 19:03:38 -06:00
Syres916
a0331f2c80 [PartDesign] Revert #11357
See https://github.com/FreeCAD/FreeCAD/issues/11961#issuecomment-1889721739
2024-01-12 18:37:24 -06:00
Chris Hennes
5088c63935 Part/Toponaming: Modify constructors to set owner of ShapeProtector 2024-01-12 10:00:45 -06:00
Pesc0
a74c6b3391 Part/Toponaming: Pesc0's work replacing ShapeProtector
In realthunder's original version this class was not derived from TopoDS_Shape, but rather duplicated
its interface and wrapped its non-const methods. This resulted in quite a lot of boilerplate, so in
the merged implementation we are now deriving from TopoDS_Shape and only overriding the non-const
methods. The downside is that if OCCT adds or changes methods we will have to add them proactively
to this class so that they don't bypass the TNP code.
2024-01-12 09:57:33 -06:00
wandererfan
3ba0c3d795 [TD]fix missing \ in regex 2024-01-12 09:23:38 -05:00
wandererfan
ff2cea3008 [TD]fix Dimension icons 2024-01-12 09:23:38 -05:00
David Kaufman
dd5bb66cb9 replace hard coded 1um tolerance with job.GeometryTolerance 2024-01-11 22:49:11 -05:00
wandererfan
158ef7ee8f [TD]Revert detail to piecewise algo 2024-01-11 18:24:51 -05:00
Andrei Pozolotin
6a54591bac Resolve #11825 - no automatic quantity conversion: App::anyToQuantity 2024-01-11 11:32:18 -06:00
Kevin Martin
d52cf81bce Move the "Treat ellipses and splines as polylines" to DXF *output* options
This option control DXF export but was confusingly in the Import options area. Fixes #11659
2024-01-11 15:58:26 +01:00
Stefan Brüns
5b7fe70483 [App] Fix segfault due to missing Py_Initialize in StringIDRefTest
The PyObject desctructor requires an initialized interpreter, otherwise
PyGILState_Ensure crashes.

Fixes #11878
2024-01-10 22:34:04 -06:00
Roy-043
c6a0203690 Merge pull request #11946 from Roy-043/Draft-remove-reapply_diffuse_color-workaround
Draft: remove reapply_diffuse_color workaround
2024-01-10 18:51:49 +01:00
Roy-043
35f10ad5a5 Draft: remove reapply_diffuse_color workaround
The function would trigger the creation of duplicate Draft Polar Arrays (only on Linux and only if the Fuse option is selected and the Link Array option deselected).
Forum topic:
https://forum.freecad.org/viewtopic.php?t=84090

The reapply_diffuse_color function is no longer required anyway as Issue #8340 has been fixed.
2024-01-10 16:46:49 +01:00
wwmayer
d3049deaa9 PD: Add test for helix (#11601)
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-01-10 07:26:18 -06:00
Paddle
f5b4fc9a0b Property editor: Hide headers and enable resizing on all cells. 2024-01-09 19:50:20 -06:00
bgbsww
8abd09398a Add support for OCCT 7.8.0 (#11909) 2024-01-09 19:47:25 -06:00
pre-commit-ci[bot]
a930658000 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-09 20:07:57 -05:00
wandererfan
e42e9a4096 [Import]Flatten sketch before dxf export. 2024-01-09 20:07:57 -05:00
David Kaufman
4ceb984f73 cleanup 2024-01-08 20:19:39 -05:00
David Kaufman
b20d702b0d add support for drilling gcode 2024-01-08 20:19:39 -05:00
David Kaufman
4cb991cf47 add bbox check to getClearedArea to filter out irrelevant gcode 2024-01-08 20:19:39 -05:00
David Kaufman
20ce99cfcc Important performance optimization: union Thicken() polygons individually, not en masse 2024-01-08 20:19:39 -05:00
David Kaufman
7b55376d76 rename getClearedAreaFromPath -> getClearedArea 2024-01-08 20:19:39 -05:00
David Kaufman
57313f7b5c remove old/deprecated rest machining code 2024-01-08 20:19:39 -05:00
David Kaufman
9cbf031895 do computations at higher precision to mitigate error stackup 2024-01-08 20:19:39 -05:00
David Kaufman
9fac948ba7 fix precision computation 2024-01-08 20:19:39 -05:00
David Kaufman
2a9ce21c81 expand cleared area by a small buffer to cover numeric errors 2024-01-08 20:19:39 -05:00
David Kaufman
ea1c9e4c57 proof of concept rest machining from prior path gcode 2024-01-08 20:19:39 -05:00
mosfet80
ba630dc71b Update CMakePresets.json
Updated requested cmake version, I used the same version present in cmakelist.txt
2024-01-08 21:30:10 -03:00
sliptonic
00e3980090 Merge pull request #11927 from bdieterm/fix-path-profile
Path: fix wire midpoint calculation
2024-01-08 14:00:03 -06:00
looooo
8e2ab9f768 set INSTALL_TO_SITEPACKAGES to ON by default
and add some modules to the freecad-namespace (freecad.part, freecad.partdesign, freecad.sketcher)
2024-01-08 14:40:32 -03:00
Max Wilfinger
476089a2ad sketcher: create contextual right click menu 2024-01-08 12:39:17 -05:00
sliptonic
5ba5e798bf Merge pull request #11933 from adrianinsaval/gitignore
Update .gitignore and remove unused file in FEM
2024-01-08 11:33:20 -06:00
Catalin MARINCIA
4813b9297b Build: Fix visibility of fields in Reader.h to be compiled with GCC 13 toolchain 2024-01-08 18:32:40 +01:00
Rexbas
f795f53b0a Gui: Prohibit dragging using LMB in sketch mode for OpenSCAD style 2024-01-08 12:31:00 -05:00
sliptonic
ca7b867ae3 Merge pull request #11840 from maxwxyz/precise-toggle-command-description
Change the description of the default 'Toggle active object' command
2024-01-08 11:29:01 -06:00
Ajinkya Dahale
56278633ce [PD] Fix reference axis selection in revolve/groove
Fixes #11713.
2024-01-08 14:19:57 -03:00
sliptonic
88e186f305 Merge pull request #11779 from hasecilu/second_unit
[Base/Units] Change strings' description
2024-01-08 11:10:22 -06:00