bgbsww
0cb513f084
Move MapperMaker and MapperHistory out to future PR
2024-01-17 08:55:16 -05:00
Zheng, Lei
160ad0dc81
Restore RT hash code for OCC < 7.8.0
2024-01-16 22:43:59 -05:00
Zheng, Lei
8811a590b0
ShapeMapper code from RT branch to new TopoShapeMapper files
2024-01-16 20:11:43 -05:00
Chris Hennes
f0a734fed0
Part/Toponaming: Refactor makeElementCompound
...
Refactor to address linter issues, breaking up large methods, renaming variables, etc.
2024-01-15 18:17:32 +01:00
Zheng, Lei
c59bced261
Part/Toponaming: Add original code for makECompound
...
Renamed to makeElementCompound and modified as little as possible to get it to compile in the new framework. All required auxilliary methods are also brought in.
2024-01-15 18:17:32 +01:00
Chris Hennes
7d64c3af2f
Merge pull request #11896 from Pesc0/toponaming-shapeprotector
...
Toponaming shapeprotector
2024-01-14 21:03:09 -06:00
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
bgbsww
bd1fc0fc03
Add support for OCCT 7.8.0 ( #11909 )
2024-01-09 19:47:25 -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
Paddle
30e2a109e6
PythonConverter: Extend for Hyperbola/Parabola/BSpline
2023-12-20 06:59:47 +01:00
luzpaz
20fe2f1508
Docs: minor tweek to GeometryDoubleExtensionPy.xml
...
Follow-up to #11709
2023-12-18 07:42:10 -06:00
luzpaz
86b6132243
Docs: minor tweek to GeometryBoolExtensionPy.xml
...
Capitalize first letter.
2023-12-18 07:41:53 -06:00
sliptonic
6d0db27bd9
Merge pull request #11693 from RohanMishra315/patch-6
...
Update ShapeFix_FixSmallFacePy.xml
2023-12-11 11:23:59 -06:00
sliptonic
fc1c3e005e
Merge pull request #11683 from chennes/fixTDMissingBOPAlgoBuilder
...
Part: Add BOPAlgo_Builder.hxx to OpenCascadeAll.h
2023-12-11 11:22:17 -06:00
Rohan Mishra
cf3f2dcda0
Update ShapeFix_WirePy.xml
...
Fix the issue and Update ShapeFix_WirePy.xml.
2023-12-11 17:43:46 +01:00
Rohan Mishra
94b7c48dbe
Update ShapeFix_WirePy.xml
...
Issues #11184
Updated the docs of ShapeFix_WirePy.xml
2023-12-11 17:43:46 +01:00
André Caldas
89dbab9b0e
Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
...
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.
The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).
Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".
The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
Rohan Mishra
6582672f9e
Update ShapeFix_FixSmallFacePy.xml
...
Updated the docs of ShapeFix_FixSmallFacePy.xml
2023-12-09 22:24:40 +05:30
Chris Hennes
826ab2e91e
Part: Add BOPAlgo_Builder.hxx to OpenCascadeAll.h
...
Needed by TechDraw DrawProjectSplit
2023-12-07 19:56:06 -06:00
bgbsww
a5039ad697
Default freenet to true for sweep to fix rendering bug
2023-12-01 14:02:49 +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
mwganson
26f23c945b
[Part::Mirroring] Add support for mirror plane reference object
2023-11-27 11:17:48 -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
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
wmayer
7c11ad0fb6
Part: fix TopoShapePy::optimalBoundingBox
2023-11-24 15:06:00 +01:00
wmayer
6d11e2206d
Part: fix BSplineCurve2dPy::insertKnot
2023-11-24 15:06:00 +01:00
bgbsww
26f3254a2f
Setting on 89.9 as a limit, enforce in dialog and properties
2023-11-22 10:30:54 +01:00
Pieter Hijma
bfc418bbf2
Make comments consistent
2023-11-21 16:19:29 +01:00
Pieter Hijma
d40404744b
Add documentation for PolyHLRToShape
2023-11-21 16:19:29 +01:00
Pieter Hijma
f65ec3a00d
Add constructor documentation as well
2023-11-21 16:19:29 +01:00
Pieter Hijma
572b54976c
Add documentation for HLRToShape
2023-11-21 16:19:29 +01:00
Pieter Hijma
dc939f519a
Remove comments from the text field
2023-11-21 16:19:29 +01:00
Pieter Hijma
bb77c0670a
Fix a small problem with parameters
...
This is the same problem as in https://github.com/FreeCAD/FreeCAD/pull/10727 .
Apparently it was also present in PolyAlgo.
2023-11-21 16:19:29 +01:00
Pieter Hijma
f97906c4e3
Add documentation for HLRBRep.PolyAlgo
2023-11-21 16:19:29 +01:00
Pieter Hijma
ca159ae847
Improve the documentation of HLRBRep.Algo
2023-11-21 16:19:29 +01:00
Pieter Hijma
75e18e3cf9
Change <S> to S
...
Otherwise, it is invalid XML
2023-11-21 16:19:29 +01:00
Rohan Mishra
6d6f8ca1e0
Update HLRBRep_AlgoPy.xml
...
#10728
Updated the API documentation of HLRBRep_AlgoPy.xml.
2023-11-21 16:19:29 +01:00
Chris Hennes
c556af673a
Part: Add BRepFeat_MakeRevol.hxx to Precompiled header
2023-11-20 21:43:38 -06:00
bgbsww
0148cbaac1
Defend against surface not created from invalid face
2023-11-20 13:59:01 -03:00
Rohan Mishra
acecf141d9
Update ShapeFix_EdgePy.xml ( #11193 )
...
* Update ShapeFix_EdgePy.xml
Issue #11182
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2023-11-20 10:49:41 -06:00
tomate44
810da3db88
Part : fix edge creation of Geom2d curves
2023-11-20 12:35:09 +01:00
sliptonic
462a354664
Merge pull request #11223 from wwmayer/Part_format_xml
...
Part: format XML files
2023-11-13 10:52:03 -06:00
Chris Hennes
37a8e348c6
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
Chris Hennes
ce8f48967a
Merge branch 'main' into modernize-type-check
2023-10-31 15:46:18 -05:00
DeflateAwning
1e3179e9bc
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
wmayer
30723acfa5
Part: format XML files
2023-10-28 22:45:15 +02:00