Commit Graph

2933 Commits

Author SHA1 Message Date
Ladislav Michl
e4d304f934 Base: Implement TimeElapsed
Some instances of TimeInfo serve the sole purpose of measuring time
duration. Using system time is unfortunate as it returns wall clock,
which is not guaranteed to be monotonic. Replace such a usage with
the new TimeElapsed class based on steady clock.
2024-03-05 12:29:24 +01:00
Chris Hennes
16016e2d2b Part: Correct context for selection filter 2024-03-05 10:39:25 +01:00
Chris Hennes
cd0d58cfe9 Merge pull request #12683 from bgbsww/bgbsww-toponamingPropertyTopoShape
Toponaming/Part: property topo shape
2024-03-04 15:05:16 -06:00
bgbsww
7945bf686e Toponaming/Part: Cleanups, problem fixes, and tests 2024-03-04 16:04:01 -05:00
wmayer
5ef6045fea Part: fixes #12274: Incorrect calls in ConePyImp 2024-03-04 11:24:03 -06:00
Josh Coalson
a8ae56e06a Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
Chris Hennes
4b1decfc6b Merge pull request #12694 from CalligaroV/toponaming-PartFeature-FeatureCreate
Part/Toponaming: Transfer Part::Feature::create()
2024-03-04 11:14:41 -06:00
Chris Hennes
e0ecd213b2 PD: Translate wire not closed exception
This is a user-visible exception, shown in a dialog box
2024-03-04 11:40:18 +01:00
Zheng, Lei
32b68b6125 Part/Toponaming: Transfer PartFeature Feature::create()
* Imported Feature::create() method in Part::Feature class
2024-03-02 09:41:36 +01:00
Zheng, Lei
2adff99c14 Toposhape/Part: Transfer in PropoertyTopoShape and related 2024-03-01 07:55:12 -05:00
Chris Hennes
6c8ee59645 Part: Add BRepOffsetAPI_MakeFilling.hxx to OpenCascadeAll.h 2024-02-29 22:22:02 -06:00
Chris Hennes
b3b773eb1b Part: Add BRepOffsetAPI_MakeEvolved.hxx to OpenCascadeAll.h 2024-02-29 21:29:07 -06:00
Chris Hennes
b6c8f8d460 Update translations 2024-02-29 17:25:46 -06:00
Vincenzo Calligaro
0e7aa5f7bc Part/Toponaming: Tests for flushElementMap and resetElementMap (#12471)
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Added test for resetElementMap()
 * Added test for flushElementMap()
 * restored ComplexGeoData::resetElementMap to RT fork
 * modified TopoShape::resetElementMap to match the restored signature of ComplexGeoData::resetElementMap
 * added checks in TopoShape::makeShapeWithElementMap to avoid segfaults
 * added check in TopoShape::setElementComboName to avoid segfaults
 * restored testFindSubShapesForSourceWithTypeAndIndex
 * modified test saveDocFileWithNoElementMap to match the restored signature of ComplexGeoData::resetElementMap
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Removed comments in ComplexGeoData::resetElementMap()
 * Changed TopoShape::resetElementMap():: from virtual to override
 * Removed comment in TopoShape::resetElementMap()
 * Added comments about differences between main and RT fork
 * Removed comment in test saveDocFileWithNoElementMap
 * Updated expected test result in makeElementCompoundTwoShapesGeneratesMap
 * Updated expected test result in resetElementMapTest
 * Fixed typo in test flushElementMapTest
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * updated expected tests results after previous methods modifications

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-29 13:27:27 -06:00
bgbsww
68fd2934cf Testing for makeElementEvolve 2024-02-29 09:26:22 -06:00
Zheng, Lei
110f3e000d Toposhape/Part: Transfer in makEEvolve 2024-02-29 09:26:22 -06:00
Chris Hennes
a03ad7f49b Merge pull request #12201 from bgbsww/bgbsww-toponamingGetElementName
Toponaming: transfer in getElementName and dependencies
2024-02-28 21:05:54 -06:00
Chris Hennes
a4efcf0533 Toponaming/Part: Clang-format cleanup 2024-02-28 19:18:45 -06:00
bgbsww
7d0afaec54 Toposhape/Part: cleanup and test getElementName 2024-02-28 17:07:36 -05:00
Zheng, Lei
59b563ca69 Toponaming/Part: trasnfer in getElementName 2024-02-28 17:06:09 -05:00
bgbsww
698f306c18 Toposhape/Part: Clean and test replacEShape and removEShape 2024-02-28 16:53:29 -05:00
Zheng, Lei
f8cca40b14 Toposhape/Part: Transfer in replacEShape and removEShape 2024-02-28 16:41:07 -05:00
Chris Hennes
566e97e11a Merge pull request #12628 from bgbsww/bgbsww-toponamingFeatureCompound
Toponaming/Part feature compound and revolution
2024-02-28 15:30:11 -06:00
bgbsww
e3c4461891 Toposhape/Part: Cleanup and tests for FeatureCompound and FeatureRevolution 2024-02-27 09:58:13 -06:00
Zheng, Lei
99256f23e7 Toposhape/Part: Transfer in FeatureCompound and FeatureRevolution 2024-02-27 09:58:13 -06:00
bgbsww
16c29ceb27 Toponaming/Part: Add tests and clean makeElementBSplineFace and makeElementFilledFace 2024-02-27 09:57:27 -06:00
Zheng, Lei
5aed0c78f5 Toposhape/Part: Transfer in makEFilledFace and makEBSplineFace 2024-02-27 09:57:27 -06:00
Chris Hennes
c356223702 Merge pull request #12572 from bgbsww/bgbsww-toponamingMakeElementRevolve
Toponaming/Part: make element revolve and prism
2024-02-26 15:32:22 -06:00
wmayer
51a01b9e2b Fix compiler warnings:
fix [-Winconsistent-missing-override]
fix [-Wunused-lambda-capture]
fix [-Wunused-variable]
fix [-Wswitch]
2024-02-26 11:01:37 -06:00
mos
a025af2d26 removed deprecaded functions
.

.
2024-02-26 17:38:01 +01:00
marioalexis
6132f25fdf Part: Make fromPlacement function return general trasformation 2024-02-26 04:01:28 -03:00
Chris Hennes
e99220daf6 Merge pull request #12553 from bgbsww/bgbsww-toponamingMakeElementSliceMirror
Toponaming: Part: make element slice mirror
2024-02-25 23:36:32 -06:00
Chris Hennes
7f8d6e2bb1 Update translations (#12557)
* 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-02-24 21:38:37 -06:00
wmayer
53b512da1c MSVC: fix compiler warnings 2024-02-25 00:12:34 +01:00
bgbsww
1fa89ea4c1 Toponaming/Part: Cleaning and tests for makeElementRevolve, makeElementPrism, makeElementPrismUntil 2024-02-23 15:04:28 -05:00
Zheng, Lei
c3d152540c Toponaming/Part: Transfer in makERevolve, makEPrism, makEPrismUntil 2024-02-23 14:50:44 -05:00
bgbsww
7bdf8f69ea Correct incorrect comment 2024-02-23 11:54:32 -05:00
bgbsww
331881ae22 Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:37:47 -05:00
bgbsww
85b5cfc62a Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:24:44 -05:00
bgbsww
8ecfd6883c Remove redundant from merge 2024-02-22 20:11:08 -05:00
bgbsww
68edc6f123 Merge branch 'main' into bgbsww-toponamingMakeElementSolid 2024-02-22 20:06:51 -05:00
bgbsww
405bf03ce9 Clean and add tests for makeElementSolid 2024-02-22 19:18:08 -05:00
bgbsww
e33e0a3f5e Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-22 17:28:35 -05:00
bgbsww
dbe7c9d372 Toposhape/Part: Cleanups and tests for makeElementSlice, makeElementSlices, and makeElementMirror 2024-02-22 17:16:46 -05:00
Zheng, Lei
7fc99b42e7 Toposhape/Part: Transfer in _makETransform, makETransform, makEGTransform 2024-02-22 12:13:54 -05:00
Zheng, Lei
8e91aad2f0 Toposhape/Part: Transfer in makESlice and makEMirror 2024-02-22 08:57:01 -05:00
bgbsww
715faeac54 Toposhape/Part: clean, add tests for makeElementFillet and makeElementChamfer 2024-02-22 08:27:40 -05:00
Zheng, Lei
3c53e10448 Toposhape/Part: Transfer in makEFillet and makEChamfer 2024-02-22 07:40:59 -05:00
Chris Hennes
14d2915e6c Merge pull request #12528 from bgbsww/bgbsww-toponamingMoveEqualOperator
Toponaming/Part:  Bring in = operator, resetMap and flushMap overrides, and fix affecte…
2024-02-21 16:08:32 -06:00
bgbsww
d7f14d3df5 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00