Commit Graph

35306 Commits

Author SHA1 Message Date
Jacob Oursland
806d52aa46 conda: use double quotes for terminal compatibility. 2023-12-04 10:15:08 -07:00
Jacob Oursland
ca86dccb42 CMake: Use /Z7 instead of /Zi when ccache is used. 2023-12-04 10:15:08 -07:00
Jacob Oursland
a95c5353b0 CMake: set FREECAD_USE_PYBIND11 on conda builds, not all. 2023-12-04 10:15:08 -07:00
Kacper Donat
5f97079a33 Gui: Cap starting height of Preferences dialog
This commit ensures that preference windows does not start taller than available geometry.
2023-12-04 11:03:35 -06:00
wmayer
f8c3e5505a Gui: fix several lint warnings 2023-12-04 10:53:51 -06:00
wmayer
e8d6955908 Gui: refactor FCSphereSheetProjector 2023-12-04 10:53:51 -06:00
mosfet80
f9f1f88426 casts clean (#11548)
* remove unecessary casts

clean unused code

revert  example py code

* [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-12-04 10:51:36 -06:00
Bas Ruigrok
ea8b5b4b39 Gui: Add a separate checkbox for enabling spinning animations (#11534)
* Gui: Create group box for animation preferences

* Gui: Add spinning animation checkbox

* Gui: Implement isAnimating() for NavigationAnimator

* Gui: No need to enable animations in DemoMode

The spin animation is played regardless of the user preference and does not need to be enabled before starting the spin animation

* Gui: Change comment
2023-12-04 10:50:29 -06:00
Chris Hennes
b70eb6a173 Merge pull request #11507 from Ondsel-Development/constr_primitives
[Sketcher] Improve angle & radius constraint rendering
2023-12-04 10:48:20 -06:00
Chris Hennes
bd9a210b65 Merge pull request #11494 from Ondsel-Development/Coincident
[Sketcher] Introduce an optional unified version of coincident and pointOnObject
2023-12-04 10:46:21 -06:00
Max Wilfinger
d491ac0865 Renaming FEM mesh region to mesh refinement (only Users POV / tooltips) (#11489)
* project to document on information, merge, util

* rename MehRegion to MeshRefinement (tooltip/user PoV only)
2023-12-04 10:41:04 -06:00
Ajinkya Dahale
518b48ffaf [PD] Set up-to-face when opening revolution/grove task box 2023-12-04 13:40:31 -03:00
Ajinkya Dahale
48a1db8a76 [PD] Fix wrong mode options when opening existing revolution
Only the "Dimension" options showed regardless of what mode was selected.
2023-12-04 13:40:31 -03:00
Abdullah Tahiri
c34bc88d66 Sketcher: Solver - Remove outdated request for reporting 2023-12-04 16:32:23 +01:00
MisterMaker
48d4a74923 [Stylesheets] Fix for new settings menu (#11609)
It can probably use some more tweaks but this way it is bug free.
2023-12-04 11:44:05 -03:00
Roy-043
652c0fb752 Draft: menu texts to sentence case 2023-12-04 10:44:59 +01:00
Syres916
5677f93236 [Start] Fix regression from 2b6662c896
for runtime error see https://github.com/FreeCAD/FreeCAD/pull/11513#issuecomment-1837300296
2023-12-04 10:43:37 +01:00
Jacob Oursland
7f10321a29 VSCode: Change setup conda environment task type to process. (#11556) 2023-12-04 01:07:32 -03:00
Jacob Oursland
d2fa72103f conda: Remove conda-build and conda-smithy. Add git. (#11597)
* conda: Remove conda-build and conda-smithy.

* conda: Add git.
2023-12-03 18:26:35 -03:00
wmayer
e785786673 MSYS: fix CMake configure and build for MinGW 2023-12-03 18:02:07 +01:00
wandererfan
1d3aca0733 [TD]handle loose geometry via HLR 2023-12-03 08:55:59 -05:00
Rexbas
2e54b4c4f1 Part: Use vector.data() to get data pointer 2023-12-03 12:35:15 +01:00
Rexbas
6f16be76de Part: Use materialIndex.setValuesPointer() only if the new values are different 2023-12-03 12:35:15 +01:00
Roy-043
056cbef618 Merge pull request #11610 from Roy-043/Draft-update-Draft_ApplyStyle
Draft: update Draft_ApplyStyle
2023-12-03 11:25:27 +01:00
wandererfan
2c0a69e171 [TD]fix fix hidden line style 2023-12-02 13:55:08 -05:00
wandererfan
ac6c3786b0 [TD]fix line numbering in preferences
- resolve conflict between comboBox currentIndex [0,n] and
  line numbering [1, n]
2023-12-02 13:55:08 -05:00
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
Roy-043
6db658255f Draft: update Draft_ApplyStyle
The command now applies all style properties from `utils.get_default_annotation_style()` and `utils.get_default_shape_style()`.

Additionally: minor improvements to gui_setstyle.py.
2023-12-02 13:11:08 +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