Commit Graph

37575 Commits

Author SHA1 Message Date
David Carter
5feb963f9d Material: Appearance Updates 2
Improves the use of the ShapeAppearance property for the Part workbench.

    removes DiffuseColor property
        adds Python compatibility using custom attributes
        transitions DiffuseColor to ShapeAppearance on open
    Improved UI elements for setting object appearance, and appearance per face
    Lays the foundation for future texture support
2024-06-01 19:57:16 -05:00
bgbsww
c4d0f3ed97 Toponaming: Restore use of AttachmentSupport 2024-06-01 11:49:58 -05:00
wmayer
40b6b847eb Fixes #14349: GeoFeature::getElementTypes causes undefined behaviour 2024-05-31 11:42:01 +02:00
wmayer
0490c0195a tests: Add unit tests for getElementTypes() 2024-05-31 11:42:01 +02:00
Yorik van Havre
574fb46e65 BIM: added missing items in utils menu 2024-05-31 10:10:18 +02:00
Yorik van Havre
8ecfce8b29 BIM: Reworked menus and toolbars 2024-05-31 10:10:18 +02:00
Yorik van Havre
bf1d579724 Draft: Fixed ghosts vanishing when using mouse delay - issue #12624 (#14358) 2024-05-30 22:41:54 +02:00
Yorik van Havre
5ac615a9c5 BIM: Fixed import in importSHP - fixes #14261 (#14385) 2024-05-30 22:34:57 +02:00
Yorik van Havre
7a8a25a5b3 BIM: Fixed IsActive of BIM commands (#14384) 2024-05-30 22:33:43 +02:00
hoshengwei
ed36928ff9 fix Native IFC Qt6 Support 2024-05-30 11:50:35 +02:00
hoshengwei
3d1ccd22ad fix BimView Qt6 Support (renew) 2024-05-30 10:52:41 +02:00
hoshengwei
8926f47c9c fix BimView Qt6 Support 2024-05-30 10:52:41 +02:00
Ladislav Michl
f632e4c716 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
3e23bd759b Mod: Fix several compiler warnings 2024-05-30 08:55:11 +02:00
ii8
6724a85d35 Base: fix build on musl libc 2024-05-30 08:49:25 +02:00
wandererfan
e2441c7079 [TD]add style options for broken view 2024-05-29 14:12:13 -04:00
sliptonic
23e4492a91 contributors 2024-05-29 19:18:02 +02:00
Max Wilfinger
b44d4e420a Update templates to new FreeCAD icon. 2024-05-29 08:44:54 -04:00
wmayer
560cab6f31 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
8ac14f83c6 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
Florian Foinant-Willig
fc7a60bb47 Name myself in CONTRIBUTORS 2024-05-29 10:54:59 +02:00
David Carter
46e78e3218 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
9bf7e7bac5 fix color preference dialog (#14343) 2024-05-28 17:36:47 -05:00
obelisk79
9ae6610466 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
023ad47378 [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
paul
0261ab8977 [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
66dd1dede5 BIM: fix missing translate function 2024-05-28 10:23:14 +02:00
Ladislav Michl
d6e388483d BIM: Make buildPsets python3 friendly 2024-05-28 10:18:06 +02:00
Ladislav Michl
7fa2efba40 BIM: Fix url to IFC on buildingSMART 2024-05-28 10:18:06 +02:00
Yorik van Havre
85b88effb5 BIM: Fixed wall paramerers - fixes #14283 (#14315) 2024-05-28 09:51:52 +02:00
Roy-043
f7d8af592b 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
0557bac0d3 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
obelisk79
178bac70b7 [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
72fb5782ed Sketch: Add test case for validating constraints 2024-05-27 19:15:18 +02:00
wmayer
43949be50d Sketch: Add test case for deleting constraints with external geometry 2024-05-27 19:15:18 +02:00
wmayer
1e81b7f393 Sketch: Add test case for degenerated geometry 2024-05-27 19:15:18 +02:00
wmayer
b579567465 Sketch: Fix TestSketchValidateCoincidents 2024-05-27 19:15:18 +02:00
Syres916
ed26ade04a [Sketcher] Add new Fix Missing Coincident test 2024-05-27 19:15:18 +02:00
David Carter
dfe024ed99 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
5fb3589f26 Assembly: Add 'Angle', 'Perpendicular' and 'Parallel' joints. 2024-05-27 11:59:06 -05:00
Kuzma30
751aed1813 Fix potential problems. https://forum.freecad.org/viewtopic.php?t=70256#p762073 2024-05-27 11:57:26 -05:00
Kuzma30
65de6c96e8 Use for predefined filename string its Label value 2024-05-27 11:57:26 -05:00
Max Wilfinger
03cab3d1fc Revert UI command change in Sketcher and PartDesign 2024-05-27 11:51:02 -05:00
dzid26
78eb91d8c3 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
efferre79
4be2196717 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
a7c2b9cc6f Sketcher: Fix copy of geo constrained to axis. Fixes #14233 2024-05-27 11:37:33 -05:00
David Carter
c5df1b3e55 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
a9b0b1f534 Draft: Enable TPN in SelectPlane - fixes #14196 2024-05-27 11:29:29 -05:00
Max Wilfinger
99240b57fa Update icons for consistency 2024-05-27 11:28:24 -05:00
Syres916
6baf2f3715 [Sketcher] Change HeadlightIntensity entering and exiting Edit Mode (#14013)
* [Sketcher] Change HeadlightIntensity entering and exiting Edit Mode

* [Gui] Fix Lint Warning

* [Sketcher] Fix Lint Warning

* [Sketcher] Remove duplicate parameter check

* [Gui] Add const
2024-05-27 11:27:11 -05:00