Commit Graph

41238 Commits

Author SHA1 Message Date
Kacper Donat
5dc2ba40ea Gui: Hide Placement Indicator with object 2025-04-13 17:54:01 +02:00
Kacper Donat
2a4c7bc0b5 Gui: Ensure that placement indicator is always on top 2025-04-13 17:54:01 +02:00
Jacob Oursland
e990b456b9 CI: fix macOS weekly build. 2025-04-11 22:48:47 -05:00
Chris Hennes
b2a45feaa3 Merge pull request #20415 from oursland/weekly-build
CI/CD: Implement weekly builds.
2025-04-11 13:47:53 -05:00
Benjamin Nauck
1983052e38 Merge pull request #20640 from marcuspollio/bim-cleanup-license
BIM: cleanup license blocks
2025-04-11 16:31:02 +02:00
Kacper Donat
b300c80b90 Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast

This aligns our custom cast with other casts

* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
marcuspollio
74e5f7c500 Merge branch 'main' into bim-cleanup-license 2025-04-11 15:13:45 +02:00
Ajinkya Dahale
581fa12e45 Sketcher: Refactor and fix DrawSketchDefaultHandler.h
Fixes the issue in this comment:
https://github.com/FreeCAD/FreeCAD/pull/20476#issuecomment-2758401350.
2025-04-11 08:16:19 +02:00
Pieter Hijma
74ac46175d [Doc] Fix unassociated doc strings
Before this commit, these doc strings were unassociated, which means
that the can appear at random places.  They are now associated with
their namespace an class.
2025-04-11 00:47:54 +02:00
Jacob Oursland
0747a4f4a1 CI: weekly-build debug: do not upload tags or artifacts. 2025-04-10 15:13:09 -07:00
tarman3
b91c5ef2af CAM: Multiline POSTAMBLE and PREAMBLE arguments in old postprocessors (#20715)
* CAM Multiline POSTAMBLE and PREAMBLE in old postprocessors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* CAM: Fix preamble and postamble help text

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-10 12:05:48 +02:00
Ajinkya Dahale
f869bace95 [Sketcher][test] Remove some obsolete TODOs 2025-04-10 09:20:18 +02:00
Ajinkya Dahale
c0d469d404 [Sketcher][test] Add tests for fixes done in #20150 2025-04-10 09:20:18 +02:00
Ajinkya Dahale
23ecf94ab6 [Sketcher] Make trimmed curve(s) construction based on original 2025-04-10 09:20:18 +02:00
Ajinkya Dahale
08a66afbc8 [Sketcher] Add missing check when transforming constraints for trim
Fixes https://github.com/AstoCAD/FreeCAD/issues/24.
2025-04-10 09:20:18 +02:00
Ajinkya Dahale
2779f0b29f [Sketcher] Add missing check in deriveConstraintsForPieces
Fixes #19770.
2025-04-10 09:20:18 +02:00
Ajinkya Dahale
b6a069dc63 [Sketcher] Attempt to avoid double-trimming in some cases
Possibly fixes #19425 and/or #20081.
2025-04-10 09:20:18 +02:00
Ajinkya Dahale
fbac7d737b [Sketcher] Refactor DrawSketchHandlerTrimming::mouseMove() 2025-04-10 09:20:18 +02:00
Ajinkya Dahale
358942b771 [Sketcher] Fix issue in SketchObject::transferConstraints
Small but major oversight.
2025-04-10 09:20:18 +02:00
Ajinkya Dahale
f0d30cb570 [Sketcher] Adjust constraint changes when trimming
1. No longer applying equality constraints between new (circular) pieces since
they may cause issues.
2. Only transfer equality with a different curve to one of the pieces.
3. Re-added certain constraints (that applied to both ends of the original
curve) that were incorrectly excluded from modification/deletion at a certain
step.
4. Use C++20 `std::erase_if()` in trim
2025-04-10 09:20:18 +02:00
Jacob Oursland
9b3052cf75 CI/CD: Implement weekly builds.
Brings over the functionality in https://github.com/FreeCAD/FreeCAD-Bundle
to build Linux AppImage, macOS .dmg, and Windows 7z releases.

This version also creates a tagged release for each build, creating an
archive of the weekly builds as well as the ability to easily tie each
build to a git commit.  This will make running 'git bisect' easy to
identify sources of regressions.
2025-04-09 14:55:56 -07:00
Alfredo Monclus
de124a72b5 Gui: fix Quantity spinbox margin without an icon (#20695)
* Gui: fix Quantity spinbox margin without an icon

* refactor: apply review suggestions

* refactor: reorder operations as suggested

---------

Co-authored-by: alfre <alfre@localhost.localdomain>
2025-04-09 20:28:54 +02:00
Kacper Donat
f258a2639c Gui: Add Origin indicator to SoFCPlacementIndicator
This adds optional origin indicator ofr SoFCPlacementIndicator. This is
something that can be used to clearly indicate origin placement with
small sphere.
2025-04-09 17:48:15 +02:00
Kacper Donat
972f05ba5a Gui: Move color traits to Utilities.h 2025-04-09 17:48:15 +02:00
Kacper Donat
ce0080cbae Merge pull request #20712 from oursland/revert-20674-specify_maximum_version
Revert "Build:add maximum cmake compatible version"
2025-04-08 22:56:21 +02:00
Jacob Oursland
be34ec2009 CMake: Add CMAKE_POLICY_VERSION_MINIMUM=3.5 to CMakePresets.json 2025-04-08 13:24:58 -07:00
Jackson Oursland
561c1386ee Revert "Build:add maximum cmake compatible version"
This reverts commit 307a4661af.
2025-04-08 12:25:01 -07:00
Pieter Hijma
6f85663bb3 [Doc] Fix a hard requirement in CMake for FEM 2025-04-08 20:58:33 +02:00
Chris Hennes
fc782a6c8d Addon Manager: Move to git submodule (#20672) 2025-04-08 16:40:31 +02:00
sliptonic
22d7e421bc Merge pull request #20321 from phaseloop/array-dressup-2
[CAM] Replace Array operation with array dressup
2025-04-08 08:13:17 -05:00
PaddleStroke
5195cb49de PartDesign : New sketch: Fix regression 2025-04-08 14:03:30 +02:00
xtemp09
045ca46114 [TUX] Fix typo in PR #20401 2025-04-08 11:20:43 +02:00
Ladislav Michl
7218e7b030 App: Expression: rename lexer and parser files
Rename files according 7d233dc ("Gui: Rename generated lexer files
to match core naming pattern"). Note that C space errors (space
before tabs, spaces on blank lines, etc.) still need to be fixed
manually after regenerating lexer file.
2025-04-08 11:10:50 +02:00
Ladislav Michl
ed00a6673c Base: Quantity: rename lexer and parser files
Rename files according 7d233dc ("Gui: Rename generated lexer files
to match core naming pattern"). Note that C space errors (space
before tabs, spaces on blank lines, etc.) still need to be fixed
manually after regenerating lexer file.
2025-04-08 11:09:36 +02:00
Ladislav Michl
f7c8ce50bc Base: Quantity: indent lexer and parser input files 2025-04-08 11:09:36 +02:00
aprospero
4c7fb9625b Draft: parametrize Draft vector utils precision (#20199)
* parametrize draft vector utils precision

* fix: a single function didn't get the complete latest update.

* compatibility: reintroduce DraftVecUtils.precision() as deprecated.
2025-04-07 23:12:02 +00:00
tritao
7d233dc95c Gui: Rename generated lexer files to match core naming pattern.
So as title says, this renames generated lexerfiles from
`SelectionFilter.l` to use the suffix .lex, instead of the
`lex.SelectionFilter.c`.
2025-04-07 22:42:07 +02:00
phaseloop
f0e9a6475f CAM: change design of origin axis (#20358)
* change design of CAM origin axis

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* change Inventor example comment

* move to SoFCPlacementIndicatorKit - increase stock point size display

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Use So3DAnnotation for origin axis

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-07 20:04:27 +02:00
Syres916
fa3c6e1068 [PartDesign] Fix spelling of auxiliary and curvilinear…
…but also handle the properties name change from old files
2025-04-07 11:30:51 -05:00
Chris Hennes
de13e777f4 Merge pull request #20643 from tritao/python-gen-include-pycxx
Tools: Add PyCXX includes to generated Python binding files.
2025-04-07 11:27:17 -05:00
Andrea
cdff0da672 BASE: remove FileTemplate class
Removed unnecessary and old filetemplate class
2025-04-07 11:26:07 -05:00
Chris Hennes
ee426de9b9 CMake: Only set /NODEFAULTLIB for MSVC < 19.30
Corresponds to anything earlier than VS 2022.
2025-04-07 11:23:47 -05:00
Andrea
01609b5479 Remove old python files
Remove not necessary python files
2025-04-07 11:22:08 -05:00
Andrea
0bfc022191 MOD: TECHDRAW (Removed unused functions)
Unused functions removed.
2025-04-07 11:19:02 -05:00
drwho495
8963a0d8bc Assembly: Fix hasher missing ref warning and speed bug. (#20405)
* fixed hasher ref bug and fixed speed of updateJCSPlacements

* remove debug info

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix hasher mismatch when editing or creating a joint

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix issues raised in PR

* add warning

* [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>
2025-04-07 11:13:15 -05:00
Andrew Shkolik
967d719bdc Automatically switch to edge selection mode when creating surface 2025-04-07 17:57:07 +02:00
Pieter Hijma
45ee9ad16e [Doc] Fix CMake issues for documentation (#20479)
* [Doc] Ensure to create the target dir in CMake

* [Doc] Fix CMake issue preventing regenerating docs
2025-04-07 10:55:41 -05:00
bdieterm
b9aa5c5d83 CAM: fix context menu callbacks for Qt6 2025-04-07 10:50:02 -05:00
Furgo
35b433e566 BIM: add missing ifc_tools import (#20368)
* BIM: add module-level import for ifc_tools

* Do not load ifc_tools at the start of module to avoid breaking tests
2025-04-07 17:49:26 +02:00
Yorik van Havre
dde69282e0 Merge pull request #20406 from marcuspollio/bim-cleanup-imports
BIM: cleanup imports
2025-04-07 17:43:36 +02:00