pavltom
cc12843e1d
[TechDraw] Use OCC to compute intersections - drop limits from hint
2023-12-02 13:54:37 -05:00
pavltom
289dda439a
[TechDraw] Use OCC to compute intersections of any types of curves
2023-12-02 13:54:37 -05:00
wmayer
edb6a25335
Python: deprecated aliases have been removed in Py 3.12
2023-12-02 14:45:55 +01:00
wandererfan
2010acc142
[TD]fix errors in MS CI
...
- apparently the "or" alternative to "||" is not supported
by MS but is part of the c++ specification:
https://en.cppreference.com/w/cpp/language/operator_alternative
- also missing TechDrawExport
2023-12-01 11:27:29 -05:00
wandererfan
d4e1731716
[TD]Standard Line Styles - Gui components
2023-12-01 11:27:29 -05:00
wandererfan
79694d9956
[TD]Standard Line Styles - data files
2023-12-01 11:27:29 -05:00
wandererfan
70d89b7437
[TD]Standard Line Styles - App components
2023-12-01 11:27:29 -05:00
bgbsww
a5039ad697
Default freenet to true for sweep to fix rendering bug
2023-12-01 14:02:49 +01:00
Roy-043
c2ecdb397e
Merge pull request #11593 from Roy-043/Draft-update-Draft_SetStyle
...
Draft: update Draft_SetStyle
2023-12-01 13:49:09 +01:00
bdieterm
2c5e1a9382
Gui: fix partially initialized default transparency
2023-12-01 12:36:31 +01:00
Kacper Donat
afd72f3585
Gui: Add ability to easily lock Toolbars from UI
...
This adds the Std_ToggleToolBarLock action mentioned in #4992 . It is
exposed in the context menu of toolbar and also in the view -> toolbars
app menu.
2023-12-01 12:13:43 +01:00
Jacob Oursland
9e1639783e
Do not use pthreads in gtest with MSVC compilers. ( #11584 )
2023-11-30 18:02:11 -03:00
Roy-043
e64bb9f499
Draft: update Draft_SetStyle
...
* Added handling of DefaultShapeVertexColor, DefaultShapePointSize, DefaultAnnoLineColor and DefaultAnnoLineWidth preferences.
* Rearranged the task panel.
Additionally the DefaultDrawStyle and DefaultDisplayMode preferences are now applied by format_object in gui_utils.py.
2023-11-30 21:19:48 +01:00
wmayer
0b86976bf4
Gui: simplify Application::sGetMarkerIndex
2023-11-30 15:26:43 +01:00
luzpaz
5c21351608
Fix various typos
2023-11-30 14:58:06 +01:00
wmayer
a566046de1
Part: use BRepTools::OuterWire to get outer wire of a face
...
In the past ShapeAnalysis::OuterWire() was used that may fail to determine the correct outer wire.
Forum thread: https://forum.freecad.org/viewtopic.php?t=83122
2023-11-30 12:41:49 +01:00
Roy-043
35993c79ca
Draft: implement DefaultAnnoLineWidth and DefaultAnnoLineColor prefs
...
The format_object function in gui_utils.py still requires some work (in connection with the Draft_SetStyle command). This will be done later.
2023-11-30 09:45:19 +01:00
Roy-043
227f2d5d69
Draft: Revised preference ui files
...
* Removed DefaultAnnoDisplayMode. This will become a fine-tuning preference.
* Removed HatchPatternResolution as it was not used.
* Added DefaultAnnoLineColor and DefaultAnnoLineWidth. These will be implemented in other parts of the Draft code in later PRs.
2023-11-30 09:44:05 +01:00
Roy-043
b0e56b777e
Draft: use param observer to update tray
2023-11-30 09:41:45 +01:00
bgbsww
a118289f5b
PartDesign: Fix #9377 - issue with accuracy in AdditiveHelix ( #11312 )
...
* Correct precision issue in PartDesign::AdditiveHelix
* Simplify getting the end wires
* Remove extraneous loop per @FlachyJoe
* Switch to using mkPS.Shape per @FlachyJoe
* Incorporate guarded efficiency improvement
2023-11-29 21:26:00 -03:00
Roy-043
904b37b47d
Draft: implement DefaultAnnoLineWidth and DefaultAnnoLineColor prefs
...
The format_object function in gui_utils.py still requires some work (in connection with the Draft_SetStyle command). This will be done later.
2023-11-29 23:06:17 +01:00
Roy-043
10fd4c8104
Draft: Revised preference ui files
...
* Removed DefaultAnnoDisplayMode. This will become a fine-tuning preference.
* Removed HatchPatternResolution as it was not used.
* Added DefaultAnnoLineColor and DefaultAnnoLineWidth. These will be implemented in other parts of the Draft code in later PRs.
2023-11-29 23:06:17 +01:00
bgbsww
98ea03c5ae
Don't apply the transformations recursively, just make sure the right one is applied to the top subobject ( #11539 )
2023-11-29 17:15:59 -03:00
wmayer
3214ca644f
Gui: fix several lint warnings
2023-11-29 21:10:49 +01:00
Roy-043
c82d50200d
Draft: Revised preference ui files
...
* Removed DefaultAnnoDisplayMode. This will become a fine-tuning preference.
* Removed HatchPatternResolution as it was not used.
* Added DefaultAnnoLineColor and DefaultAnnoLineWidth. These will be implemented in other parts of the Draft code in later PRs.
2023-11-29 15:05:16 +01:00
Syres916
b00cca788d
[Gui] Add HourGlass markers including larger sizes
2023-11-28 23:55:10 +01:00
Paddle
aa9708b46e
Core: Hide macro toolbar by default.
2023-11-28 23:46:29 +01:00
wmayer
19dfea4783
MSYS: fix broken Qt6 build using MinGW & clang
2023-11-28 19:11:58 +01:00
wmayer
4889bdae1b
MSYS: fix the following warning for MinGW & gcc:
...
'bool App::StringID::isBinary() const' redeclared without dllimport attribute after being referenced with dll linkage
2023-11-28 16:16:34 +01:00
wmayer
207fb09b68
MSYS: fix build failure with MinGW & gcc
2023-11-28 16:16:34 +01:00
Jacob Oursland
6c7167043f
conda: pin coin3d to v4.0.0 until a fix to v4.0.1 is released.
2023-11-28 12:06:39 -03:00
Roy-043
4bcdb7cb1c
Draft: use param observer to update tray
2023-11-27 23:56:00 +01:00
Jacob Oursland
263a763bbe
Add conda and mamba to the conda-devenv.
2023-11-27 16:24:11 -03:00
wmayer
9fb08b887d
fixes #11533 : TypeError in: FreeCADGui.getMainWindow().windowStateChanged
2023-11-27 11:30:41 -06:00
Yorik van Havre
fac94ba932
Translations ( #11551 )
...
* Updated ts files
* merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
sliptonic
084a758481
Merge pull request #11549 from wwmayer/sketcher_security_checks
...
Sketcher: add security checks to avoid possible undefined behaviour
2023-11-27 10:28:14 -07:00
Kacper Donat
97aa369627
Add .vscode folder to .gitignore
2023-11-27 18:23:32 +01:00
Pesc0
81a2b0ddb4
downgrade cmakepresets version
2023-11-27 11:22:02 -06:00
Chris Hennes
5746b059c0
Merge pull request #11540 from kadet1090/rework-preferences-navigation
...
Gui: Add ScrollArea to Preferences and auto expand groups
2023-11-27 11:20:48 -06:00
mwganson
26f23c945b
[Part::Mirroring] Add support for mirror plane reference object
2023-11-27 11:17:48 -06:00
Chris Hennes
3ebf841300
Merge pull request #11519 from Rexbas/rotation-center-zoom
...
Gui: Update rotation center indicator after zoom
2023-11-27 11:08:42 -06:00
wmayer
79b21080e6
Gui: fix drag and drop of ViewProvider
...
* ViewProvider::canDragAndDropObject should only return true if an extension handles drag and drop
Currently it returns true if no extension is available
* ViewProvider::dropObject shouldn't throw an exception if no extension handles drag and drop
As an example consider https://forum.freecad.org/viewtopic.php?t=82957
When selecting two objects then ViewProvider::dropObject is called twice. But for the first call both objects are moved to the destination
and for the second call no extension handles drag and drop any more. This incorrectly leads to a thrown exception.
2023-11-27 11:07:29 -06:00
Yorik van Havre
bf37ec32ec
Start: Allow dynamic translation of start page ( #11513 )
...
* Allow dynamic translation of start page - fixes #9996
* [pre-commit.ci] auto fixes from pre-commit.com hooks
2023-11-27 11:06:27 -06:00
Paddle
ad3e832576
Sketcher : remove deleteAllConstraints from toolbar.
2023-11-27 11:00:50 -06:00
bgbsww
d6c3faac58
Add readonly length properties to part helix and spiral ( #11406 )
...
* Add readonly length properties to part helix and spiral
* Comment to explain non obvious Mass as Length
2023-11-27 10:52:23 -06:00
bgbsww
a9bf3e86f3
Correct PartDesign Helix feature negative angles ( #11399 )
...
* Correct PartDesign Helix feature negative angles
* Whitespace
2023-11-27 10:51:12 -06:00
bgbsww
e10a62ae82
Use placement only on new objects
2023-11-27 17:46:45 +01:00
bgbsww
156c506f19
Fix variable name, clean
2023-11-27 17:46:45 +01:00
bgbsww
2230850e3d
Take Placement into account when applying boolean
2023-11-27 17:46:45 +01:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00