Commit Graph

30050 Commits

Author SHA1 Message Date
Yorik van Havre
a877b36b70 BIM: Fixed IsActive of BIM commands (#14384) 2024-05-30 22:33:43 +02:00
Max Wilfinger
4e8f3f0381 Added preference for disabling shaded override draw style when entering sketch edit mode.
Storing previous override draw style and applying it when leaving the sketch.
2024-05-30 21:07:30 +02:00
hoshengwei
79ada18d69 fix Native IFC Qt6 Support 2024-05-30 11:50:35 +02:00
Max Wilfinger
5c7d287f6b Changes override draw style when entering sketch edit mode. 2024-05-30 11:17:35 +02:00
hoshengwei
e64a977398 fix BimView Qt6 Support (renew) 2024-05-30 10:52:41 +02:00
hoshengwei
127f9b3492 fix BimView Qt6 Support 2024-05-30 10:52:41 +02:00
PaddleStroke
d5eacd7945 Assembly: Fix bad limits automatically. Fixes https://github.com/Ondsel-Development/FreeCAD/issues/61 2024-05-30 10:33:59 +02:00
PaddleStroke
47031f2d4e Assembly: Translate error 2024-05-30 10:33:19 +02:00
Ladislav Michl
0f6dbdb3d4 BIM: Move urls outside translated strings
Leaving urls outside translated strings prevents translations
from being updated on url change.
2024-05-30 09:39:01 +02:00
wmayer
ffad1e0c34 Mod: Fix several compiler warnings 2024-05-30 08:55:11 +02:00
wandererfan
7d6e9b19fb [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
Max Wilfinger
fdbe24b277 Update templates to new FreeCAD icon. 2024-05-29 08:44:54 -04:00
wmayer
4185605d5e clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
Roy-043
df68858765 BIM: change default for defaultWP to Top
Setting the WP to "Auto" is confusing for beginners. That is why this was changed to "Top" in the Draft WB. The same should happen in the BIM WB.
2024-05-29 11:40:48 +02:00
David Carter
4f9b441604 Materials: Correct issue with UTF8 path
The YAML library is unable to open files with UTF8 paths
2024-05-29 10:54:03 +02:00
sliptonic
6469ec84fe fix color preference dialog (#14343) 2024-05-28 17:36:47 -05:00
wmayer
ddfc21afc1 Sketch: Refactor SketchAnalysis
Refactor detectMissingPointOnPointConstraints()
2024-05-28 15:28:53 +02:00
wmayer
7e5b0d570a Sketch: Refactor SketchAnalysis
Refactor detectMissingEqualityConstraints()
2024-05-28 15:10:51 +02:00
obelisk79
88a5853657 Cam sim fix (#14275)
* Resolves missing include for GCC14 compilers

* Resolves build issues with Qt6 by removing unused include and function call.

* Revert "Resolves missing include for GCC14 compilers"

This reverts commit ad7fc0379dc1c0ae97120e1d89fe1fd8bbbe4c43.
2024-05-28 07:57:42 -05:00
phaseloop
888ffcf6d5 [CAM] VCarve improvements (#14093)
* Add stepDown setting to Vcarve Op

* fix UI issued, add finishing pass to Vcarve

* Improve step-down performance, add debugVoronoi()

* add debugVoronoi method

* Add movement optimization

* add CAM/Vcarve unit-tests

* Disable debugging mode

* Cache caller info in debug method

* Format code
2024-05-28 07:57:07 -05:00
wmayer
112c26cf1c Sketch: Refactor SketchAnalysis
Fix linter warnings
2024-05-28 14:43:46 +02:00
wmayer
e0e2e01484 Sketch: Refactor SketchAnalysis
Refactor autoconstraint()
2024-05-28 14:28:07 +02:00
wmayer
1c03bc4eaa Sketch: Refactor SketchAnalysis
Refactor makeMissingEquality()
2024-05-28 14:19:58 +02:00
wmayer
d5c92fee98 Sketch: Refactor SketchAnalysis
Refactor makeMissingVerticalHorizontal
2024-05-28 14:08:44 +02:00
André Althaus
917cebd66e Fix signal for Qt < 5.15 2024-05-28 13:48:48 +02:00
wmayer
5461d0d27f Sketch: Refactor SketchAnalysis
Refactor makeMissingPointOnPoint
2024-05-28 13:40:38 +02:00
wmayer
bcc1a9ada5 Sketch: Refactor SketchAnalysis
Refactor detectMissingPointOnPointConstraints
2024-05-28 13:24:05 +02:00
wmayer
5982ac470e Sketch: Refactor SketchAnalysis
Move helper classes to anonymous namespace
2024-05-28 12:26:23 +02:00
paul
797f8f9cf3 [ArchWall] Add Offset per Edge Feature (#14277)
* [ArchWall] Add Offset per Edge Feature

ArchWall.py - Add Override Offset property & ground work for Multi-Layer Wall
Offsets.py - Add offset per edge support to ArchWall

Forum Discussion :
- https://forum.freecad.org/viewtopic.php?p=759634#p759634

* [ArchWall]  Fix bug found by unit test

'off' is no longer used, 'offsets' is used.
2024-05-28 10:39:21 +02:00
Roy-043
e47f29d012 BIM: fix missing translate function 2024-05-28 10:23:14 +02:00
Ladislav Michl
0b82e6e8ec BIM: Make buildPsets python3 friendly 2024-05-28 10:18:06 +02:00
Ladislav Michl
817167b424 BIM: Fix url to IFC on buildingSMART 2024-05-28 10:18:06 +02:00
Yorik van Havre
f07857e8dc BIM: Fixed wall paramerers - fixes #14283 (#14315) 2024-05-28 09:51:52 +02:00
Roy-043
524b106ea8 Draft: fix _get_shapes in shape2dview.py (#14319)
Fixes #14312.

The `new _get_shapes` function could return the original object shape. This caused a problem if `sh.reverse()` executed.

Note that the file in the linked issue does not produce the error as it does not contain a shape with a negative volume.
2024-05-28 09:45:48 +02:00
Roy-043
8bcbeae68b Draft: Draft_Layer new Material handling (#13949)
Discussion: #13657.

This PR adds  the ShapeAppearance view property to Draft Layers.

The DefaultShapeColor is used for the DiffuseColor of the ShapeAppearance material. Other material properties are not based on the preferences when a layer is created.

The old ShapeColor and Transparency properties remain (ShapeColor as a hidden property) and are kept in synch with the ShapeAppearance. This is consistent with how ShapeAppearance is implemented in Core.

The gui_layers.py and make_layer.py files do not have to be changed. They manipulate the vobj via the mentioned old properties.
2024-05-28 09:45:05 +02:00
André Althaus
cae23ddcc8 Replace combobox with radio buttons 2024-05-28 09:34:08 +02:00
obelisk79
3eb45b045c [UI] Logo Update (#14284)
* Updating instances of FreeCAD's old logo to reflect the new Logo

* updating additional instances of the Logo

* updating additional instances of the Logo

* Update logo for windows installer

* Update logo reference to /src/Gui/Icons/freecad.svg
2024-05-27 15:33:55 -04:00
wmayer
e67502025d Sketch: Add test case for validating constraints 2024-05-27 19:15:18 +02:00
wmayer
948d747c6c Sketch: Add test case for deleting constraints with external geometry 2024-05-27 19:15:18 +02:00
wmayer
e96ac0b1db Sketch: Add test case for degenerated geometry 2024-05-27 19:15:18 +02:00
wmayer
cdec6dd1a2 Sketch: Fix TestSketchValidateCoincidents 2024-05-27 19:15:18 +02:00
Syres916
f52a039811 [Sketcher] Add new Fix Missing Coincident test 2024-05-27 19:15:18 +02:00
David Carter
1bcf8ac9dc Material: Material Filter API (#14292)
* Naterial: Material Filter API

Adds a material filtering function to the
MaterialManager Python object

* Remove whitespace
2024-05-27 12:00:39 -05:00
PaddleStroke
cecb965f50 Assembly: Add 'Angle', 'Perpendicular' and 'Parallel' joints. 2024-05-27 11:59:06 -05:00
Max Wilfinger
9d0320198f Revert UI command change in Sketcher and PartDesign 2024-05-27 11:51:02 -05:00
dzid26
61e5c27065 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
efferre79
4d4f3e6798 add horizontal scrollbar to startpage
On systems with legacy monitors the display might be not as large as needed to display completely the start page. In that case the user is forced to use the keyboard to scroll horizontally the start page.
2024-05-27 11:43:39 -05:00
PaddleStroke
6bbf61b1f2 Sketcher: Fix copy of geo constrained to axis. Fixes #14233 2024-05-27 11:37:33 -05:00
David Carter
7d3f6e2ad1 Materials: Editor UI enhancements
When creating a new material, assigning the basic
rendering model to the material resulted in an all
black color. This will now be assigned the default
color as specified in the preferences.

The name of the material Properties tab has been
changed to Physical for improved consistency in
the user interface.
2024-05-27 11:35:00 -05:00
Yorik van Havre
b057e6eb74 Draft: Enable TPN in SelectPlane - fixes #14196 2024-05-27 11:29:29 -05:00