Commit Graph

39395 Commits

Author SHA1 Message Date
martinRenou
6bf372aef6 Fixing OfflineRenderingUtils.guidata on BIMExample.FCstd 2024-12-02 11:36:39 +01:00
wmayer
63ad7d3fea Gui: Do not ignore alpha channel when converting QImage to SoSFImage
Fixes #18213: Sketcher constraints have black box backgrounds
2024-12-01 20:14:00 -05:00
Stephen Hurd
a8ecf5c517 Fix compile on FreeBSD with spnav
If spnav is installed on a FreeBSD system, it will be detected,
but the build will fail.  With this change, it both builds
successfully and works on FreeBSD.
2024-12-01 10:40:30 +01:00
mosfet80
be3ad26140 Disable python2 support
Disable python2 support
2024-12-01 10:39:48 +01:00
wmayer
870424995c RE: Fix dialog title 2024-11-30 18:52:23 +01:00
mosfet80
9f0e9a2af4 Clean MainWindow.cpp
Removed unused code
2024-11-30 14:13:46 +01:00
mosfet80
16b24e10d6 Update ubuntu.sh 2024-11-30 14:09:16 +01:00
mosfet80
ac912cc097 Update debian.sh 2024-11-30 14:09:16 +01:00
mosfet80
7d874094fd Update sub_buildUbuntu2004.yml 2024-11-30 14:09:16 +01:00
mosfet80
112a6630f7 Remove spd lib include 2024-11-30 14:09:16 +01:00
wmayer
d010645d23 Fix compiler warnings 2024-11-30 00:46:05 +01:00
Chris Mayo
795c4df1c3 Remove MeshPy::coarsen() and code using GTS
FC_USE_GTS not used since before:
1162aaea88 ("Remove references to gts and ode", 2012-07-05)

GTSAlgos.h and GTSAlgos.cpp removed in:
d1431f405c ("[Mesh] remove GTSAlgos", 2022-11-11)

MeshPy::coarsen() added not later than 2011 and never implemented.
2024-11-29 23:42:28 +01:00
Jiří Pinkava
800a5cffbb Gui: remove unused MDITabbar and MainWindowTabBar classes 2024-11-29 21:20:57 +01:00
Roy-043
0cd5768fbd Draft: Draft_Fillet: fix error in #17945 (#18150)
* Draft: Draft_Fillet: fix error in #17945

In #17945 the delete option of the command results in an error if subobjects are selected.

* Command should not be available if there is no selection

* Update copyright notice
2024-11-29 20:37:48 +01:00
Max Wilfinger
f0ba161bdf Update Sketcher external icons and cursors 2024-11-29 20:31:39 +01:00
wandererfan
797c1180b0 [TD]prevent use of non-exist/hidden tab in exports 2024-11-29 12:28:25 -05:00
wandererfan
8581cd01e2 [TD]prevent crash on attempt to print hidden page 2024-11-29 12:28:25 -05:00
wandererfan
2e82c330d4 [TD]prevent fail on auto switch to hidden tab 2024-11-29 12:28:25 -05:00
wandererfan
1ef62a1de8 [TD]add preference for auto workbench switch 2024-11-29 12:28:25 -05:00
PaddleStroke
7c15b3d240 Sketcher: OVP were drawn at wrong position when editing a sketch from link (#18060)
* Sketcher: OVP were drawn at wrong position when editing a sketch from a link.

* Update src/Mod/Sketcher/Gui/DrawSketchController.h

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>

---------

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-11-29 12:12:48 -05:00
Max Wilfinger
cafefafdf1 replaced .xpm with .svg 2024-11-29 12:09:42 -05:00
Max Wilfinger
45a95599a0 remove .xpm icons 2024-11-29 12:09:42 -05:00
Roy-043
1e00d8f898 Merge pull request #18142 from Roy-043/Draft-fix-focus-behavior-of-radius-input
Draft: fix focus behavior of radius input
2024-11-29 18:08:20 +01:00
PaddleStroke
ef3445e9e1 Core / Assembly: Add a way for vp edit modes to be restored. 2024-11-29 12:04:25 -05:00
PaddleStroke
374c5713b2 PartDesign: Fix newSketch not working when editing a body from an external file. 2024-11-29 12:00:41 -05:00
Roy-043
27d2e5d07f Merge pull request #18164 from Roy-043/Draft-Fix-cursor-scaling-for-xcb-platform
Draft: Fix cursor scaling for xcb platform
2024-11-29 17:56:06 +01:00
bdieterm
9410a5e982 Gui: use utf-8 encoding for saving recorded macros
FCMacros always have the header "# -*- coding: utf-8 -*".
But the QTextStream class in Qt5 does not always use utf-8 for saving the text file.
2024-11-29 11:55:17 -05:00
Roy-043
d9a4f8a590 Draft: fix color of arrays (#18123)
If `get_diffuse_color` returned a list with a single color, the list was wrongly multiplied. Regression introduced in V0.21, but in that version the error was masked by how Core handled the diffuse color.

Fixes #17052.
2024-11-29 17:54:29 +01:00
PaddleStroke
e2f998f301 Sketcher: External: Change style to : defining are solid lines. Non-defining dashed. Both use external color. 2024-11-29 11:36:55 -05:00
PaddleStroke
63414bf06b Sketcher: Hide External BSpline overlay informations. 2024-11-29 11:36:55 -05:00
PaddleStroke
ac788df608 Sketcher: Rename External to Projection 2024-11-29 11:36:55 -05:00
PaddleStroke
0e5e071d72 Sketcher: Intersection externals 2024-11-29 11:36:55 -05:00
PaddleStroke
f3c79302c4 Sketcher: Defining External geos. 2024-11-29 11:36:55 -05:00
PaddleStroke
1c514f5a15 External geos : Enable face selection 2024-11-29 11:36:55 -05:00
Roy-043
735a07678d Draft: Draft_Split: apply original view props to split off object
Fixes #16210.

Note that `Draft.format_object` is called from gui_split.py (in the commit). This is not consistent with other tools where this is handled in the `make_*` functions. In this case the new object is formatted twice. The 1st time by the `make_wire` code which (wrongly) applies the current default props.
2024-11-29 10:56:29 +01:00
Roy-043
42d09e08d5 Draft: fix handling of Links in TD DraftViews
Forum topic:
https://forum.freecad.org/viewtopic.php?t=92476

For LinkGroups and Links to Std_Groups that do not have a default placement, a temporary hidden document is used to handle the placement of their children. This is a bit of a hack of course.
2024-11-29 10:55:31 +01:00
Roy-043
bc5bf9bbdc Draft: Sort AutoGroup dropdown menu alphabetically
Fixes #16191.
2024-11-29 10:51:00 +01:00
Paul Lee
dbb412ff47 [ArchWall] loads() dumps() to call parent methods 2024-11-29 10:28:53 +01:00
Paul Lee
d973e3428f [ArchWall] Variant PropertrySet Support in ArchSketch
Now, user can create :

-  Variant Layout / combination of ArchWall, CurtainWall, Slab based on same ArchSketch, with another PropertySet
-  Variant Properties / layer of ArchWall on same ArchSketch with different Width, Offset, Material, Height etc. to create Layers, Composite walls etc.
   (Layout, Layer, Combination, Composite, Elemented etc.)

FreeCAD Forum Discussion:
- https://forum.freecad.org/viewtopic.php?p=784622#p784622
- https://forum.freecad.org/viewtopic.php?p=785583#p785583
2024-11-29 10:28:53 +01:00
wmayer
a435720363 pre-commit: Exclude 3rd party code from auto-formatting 2024-11-29 07:38:02 +01:00
wmayer
53d39c6c91 App: Apply clang format (part 3) 2024-11-29 07:14:32 +01:00
wmayer
a372678e98 Gui: Support of converting 64-bit images 2024-11-28 19:41:18 +01:00
wmayer
b9cc17b2fd Gui: Add a new display mode for image without shading 2024-11-28 19:39:00 +01:00
wmayer
238390127b Gui: Allow to override onBeforeChange in view objects 2024-11-28 19:38:10 +01:00
wmayer
597e42d12f Test: Add unit test to read in 3MF file 2024-11-28 19:36:58 +01:00
wmayer
c534e655f9 Mesh: Improve 3MF format to support files from 'Make World' 2024-11-28 19:36:58 +01:00
wwmayer
c0b9191cf5 Add doc string to SoFCTransform
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2024-11-28 19:31:44 +01:00
wmayer
f7da5f8505 Core: Implement SoFCTransform node
In its doAction() method it only sets the model matrix if it's not the identity matrix.
This improves the issue #7606
2024-11-28 19:31:44 +01:00
wmayer
f51804729e Start: Fix extracting thumbnails on Windows 2024-11-28 18:56:37 +01:00
wmayer
5202748c0a Gui: Fix some linter warnings 2024-11-28 18:41:42 +01:00