Commit Graph

35496 Commits

Author SHA1 Message Date
Chris Hennes
67e533826f Part/Toponaming: Modify constructors to set owner of ShapeProtector 2024-01-12 10:00:45 -06:00
Pesc0
97c0dedabe Part/Toponaming: Pesc0's work replacing ShapeProtector
In realthunder's original version this class was not derived from TopoDS_Shape, but rather duplicated
its interface and wrapped its non-const methods. This resulted in quite a lot of boilerplate, so in
the merged implementation we are now deriving from TopoDS_Shape and only overriding the non-const
methods. The downside is that if OCCT adds or changes methods we will have to add them proactively
to this class so that they don't bypass the TNP code.
2024-01-12 09:57:33 -06:00
Chris Hennes
fce7dea6f7 Update translations (#11886)
* Update 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>
2024-01-03 09:27:18 -06:00
sliptonic
9bfb752a34 Merge pull request #11811 from Roy-043/Gui-sWhatsThis-for-Std_MacroStepInto
Gui: sWhatsThis for Std_MacroStepInto
2024-01-01 12:46:35 -06:00
wandererfan
4e6dc1ca50 [TD]fix positioning of secondary views 2024-01-01 13:45:30 -05:00
sliptonic
70bc10a5d9 Merge pull request #11808 from luzpaz/typos-12-2023
Fix typos
2024-01-01 12:44:49 -06:00
sliptonic
bf0458a111 Merge pull request #11851 from Syres916/Path_Unit_Schema_Check
[Path] Move Units Schema check from system level to document level
2024-01-01 12:23:32 -06:00
Max Wilfinger
5c2da33b1f always show auto HorVer tool command in the toolbar when the tool is present (concise toolbar oprion) 2023-12-31 10:44:08 -06:00
Chris Hennes
edd249be0d Merge pull request #11803 from bgbsww/bgbsww-patch-24
Preliminary cpp tests for Part boolean operations
2023-12-31 10:43:14 -06:00
bgbsww
056d7cecd7 Merge branch 'main' into bgbsww-patch-24 2023-12-30 23:25:51 -05:00
wandererfan
daeaa2b7e3 [TD]fix fail when dropping onto corrupt object 2023-12-29 08:28:11 -05:00
Syres916
33b43e1945 [Path] Implement document level Units Schema check 2023-12-28 22:03:47 +00:00
Syres916
0dfed14632 [Path] Remove System Unit Schema Check...
...to be replaced by document level Unit Schema Check
2023-12-28 22:01:11 +00:00
Chris Hennes
067e13b7b7 Merge pull request #11782 from chennes/toponamingTopoShapeCache
Part/Toponaming: Add TopoShape cache
2023-12-27 22:22:37 -06:00
Chris Hennes
a2c1d9ff8e Part/Toponaming: clang-tidy cleanup of cache calls 2023-12-27 21:16:59 -06:00
Chris Hennes
ee2be48cd7 Part/Toponaming: Add original cache methods 2023-12-27 21:16:15 -06:00
Chris Hennes
e5b95c7522 Part/Toponaming: Clang-tidy cleanup of TopoShapeCache
Part/Toponaming: Move implementions to cpp file
Part/Toponaming: Automated code cleanup
Part/Toponaming: Address boolean blindess with HistoryTraceType
Part/Toponaming: More linter cleanup
Part/Toponaming: Add located and moved methods
Part/Toponaming: Moved and Located
Part/Toponaming: Add missing methods
Part/Toponaming: Add test framework for TopoShapeCache
Part/Toponaming: Add documentation provided by realthunder
Part/Toponaming: Extend tests for TopoShapeCache
Part/Toponaming: Rename getInfo to getAncestry
Part/Toponaming: Fix bug with newer OCCT
Part/Toponaming: Add final tests and tweak naming
Part/Toponaming: Address reviewer comments
2023-12-27 21:16:15 -06:00
Chris Hennes
68f43efa3e Part/Toponaming: Add TopoShapeCache base implementation
Copied from RealThunder's TopoNaming branch and modified only as much as required to enable compilation.
2023-12-27 21:16:09 -06:00
wandererfan
de320363c9 [TD]use standard lines & LineFormat in extensions 2023-12-27 19:46:34 -05:00
wandererfan
5e7a5abaa3 [TD]fix balloon visibility behaviour 2023-12-27 19:46:34 -05:00
pre-commit-ci[bot]
9192a30a93 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-25 22:45:02 +00:00
bgbsww
00a9b3261e More delinting 2023-12-25 17:44:06 -05:00
Roy-043
2c8ba7f2c3 Merge pull request #11814 from Roy-043/Draft-improve-checkSpecialChars-in-DraftGui
Draft: improve checkSpecialChars in DraftGui.py
2023-12-25 21:30:18 +01:00
bgbsww
35b853deb5 Remote experimental PrintTo that doesn't work. 2023-12-24 17:34:19 -05:00
wandererfan
c40f01ae57 [TD]mute dimension autocorrect warning 2023-12-24 12:27:25 -05:00
wandererfan
023dd8ed8a [TD]fix location of CV on rotated views 2023-12-24 12:27:25 -05:00
luzpaz
a146977198 Update Fedora COPR freecad.spec from master to main branch
Issue #11619
2023-12-24 10:37:05 -03:00
wandererfan
1d7f8b0c1d [TD]fix warning re catch on polymorphic class 2023-12-24 08:30:53 -05:00
wandererfan
ca1aa9d916 [TD]prevent fail during document restore 2023-12-24 08:30:53 -05:00
bgbsww
66f5f243d8 Missed cleanup 2023-12-23 08:20:34 -05:00
Tomas Pavlicek
95fad03ee2 [TechDraw] Tree view update refactoring (#11815) 2023-12-23 08:06:58 -05:00
bgbsww
df04428c6b Remove mistaken file 2023-12-23 08:06:16 -05:00
Alex Neufeld
bff23896e2 [TechDraw] italicize leaderline auto-horizontal preference checkbox (#11813)
... to correctly indicate that it only applies to new objects.
2023-12-23 08:02:12 -05:00
pre-commit-ci[bot]
c0b0f18638 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-23 12:29:47 +00:00
bgbsww
c6794a8714 Attempt to mollify lint 2023-12-23 07:28:51 -05:00
pre-commit-ci[bot]
551ba26828 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-23 11:55:42 +00:00
bgbsww
b8ac7f833e Be clearer about minimal distance magic numbers 2023-12-23 06:54:43 -05:00
pre-commit-ci[bot]
abf7fb0791 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-23 10:55:30 +00:00
bgbsww
619d2c970f Cleanups per pesc0 review notes; general code tightening 2023-12-23 05:53:54 -05:00
Roy-043
8d8f429d89 Draft: improve checkSpecialChars in DraftGui.py 2023-12-23 10:33:54 +01:00
pre-commit-ci[bot]
5d48014999 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-22 21:17:17 +00:00
bgbsww
d75b158dcf Use inheritance and namespaces to keep tests DRY 2023-12-22 16:16:20 -05:00
Roy-043
7ef98b14d3 Gui: sWhatsThis for Std_MacroStepInto 2023-12-22 20:31:15 +01:00
luzpaz
9c8a3f27f9 Fix typos 2023-12-22 13:35:23 +00:00
Tomas Pavlicek
1cf7861b51 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
Max Wilfinger
d783f2fce4 Sketcher: adjust cursor icons to match toolbar icons (#11749)
* adjust cursor icons to match toolbar icons

* adjusting fillet cursor icon

* correct fillet icon

* updated other icons to be in line with toolbar icon

* oblong fixes

* Discord feedback adjusted

* added arc slot cursor icon

* Update of arc cursor icons. Added ellipse variants

* update line. added polygon variations. added bspline options.

* updated other icons to be in line

* changed line icons

* discord feedback implemented

* Updated to implement new icons

* sketcher: change carbon copy and external cursor icons to match toolbar icons

* added copy icon for XPM hardcoded

* added new copy pointer icon to resources

* Update to support multiple cursor icons per tool mode for spline, ellipse, fillet, rectangle.

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

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

* adjusted icon and if statements

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

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

* delete unnecessary icons

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-22 06:06:09 +01:00
WandererFan
258b9bcdbe Merge pull request #11806 from WandererFan/LinkDoubleTransform
[TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf
2023-12-21 20:37:40 -05:00
WandererFan
e4d22148d8 Merge pull request #11797 from edi271/PositionSectionView
[TD] New extended version of PositionSectionView tool.
2023-12-21 18:02:31 -05:00
wandererfan
9ceb9de19f [TD]prevent gp_GTrsf::Trsf() - non-orthogonal GTrsf 2023-12-21 17:32:16 -05:00
WandererFan
62a14708db Merge pull request #11802 from WandererFan/LinkDoubleTransform
[TD]fix double transform for linked objects
2023-12-21 16:54:58 -05:00