Commit Graph

41 Commits

Author SHA1 Message Date
Chris Hennes
9656bdb9fb Merge pull request #19468 from hyarion/AIRCAP_fixCompoundCuts
Part: OCCWrapper: Fix compound cuts
2025-02-14 14:16:17 -06:00
Benjamin Nauck
600b203683 Fix lint issues 2025-02-07 20:53:59 +01:00
PaddleStroke
4892fcaaf1 Core datums: Rework to improve new sketch 2024-12-30 09:05:44 +01:00
luzpaz
2902ea4995 Trim lines ending with superfluous whitespace 2024-12-22 08:50:37 -05:00
PaddleStroke
4ebb66838c Core: Add App::LocalCoordinateSystem.
Most of App::Origin is moved into this sub class of App::Origin.
Add App::Point. Change graphics of the planes/axis.
Remove scale-by-content behavior and make it fixed size on screen.
2024-11-26 17:36:02 +01:00
wmayer
c44da80843 Part: Fix alpha <> transparency conversion 2024-11-25 12:05:25 -05:00
Eric Price
6ffa0817ae Added test case 2024-11-17 17:59:13 +01:00
PaddleStroke
5697087aab Test: remove unecessary toggle that is failing the test 2024-09-03 18:17:01 +02:00
CalligaroV
cc5a6a8ac6 Applied review hints
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-02 18:05:42 +02:00
CalligaroV
7d9cb71b4d Part/Toponaming: import code for TopoShape::prepareProfiles() from LS3
* add test for issue #15735

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-02 18:05:42 +02:00
wmayer
073f56eb7c Part: Fixes #15411: ColorPerFace test fails 2024-07-14 12:52:52 -05:00
luzpaz
2837b46c3e Fix various typos throughout the codebase 2024-07-08 17:19:20 -05:00
wmayer
c2d5bf03a1 Tests: Make PD and Sketcher tests independent of user settings
The Refine property must be explicitly set as otherwise some tests will break because of different user settings
2024-07-08 11:19:36 -05:00
bgbsww
aa66518568 Toponaming: Fix save and restore of elementmaps 2024-06-23 23:33:12 -04:00
David Carter
c5df1b3e55 Materials: Editor UI enhancements
When creating a new material, assigning the basic
rendering model to the material resulted in an all
black color. This will now be assigned the default
color as specified in the preferences.

The name of the material Properties tab has been
changed to Physical for improved consistency in
the user interface.
2024-05-27 11:35:00 -05:00
bgbsww
471f0a6ab7 Toponaming: replace MultiFuse implementation to fix face colors 2024-05-20 12:40:43 -05:00
bgbsww
6a947afda5 Toponaming: adjust tests 2024-05-18 14:12:04 -05:00
wmayer
5b98af4591 Part: Fix memory leaks 2024-05-08 20:01:54 +02:00
tomate44
b17f744ed7 add unit test for edge split method 2024-05-01 22:15:09 +02:00
wmayer
95b57d4dd4 Part: add unit test for PR #13507 2024-04-20 14:31:59 +02:00
wmayer
f84224bb43 Mod: Show regressions in shape colouring
This PR demonstrates the known regressions of the recently merged material branch:
* Changing the transparency after setting color per face will reset them
* The result of boolean operations or compound doesn't inherit the colour of its input objects
* If colour is set per face to a boolean operaton object then saving and restoring the file causes weird rendering behaviour
  because material binding is set to PER_PART but only a single colour is defined
* If a shape inside a part container has set colour per face then saving and restoring as STEP file causes weird rendering
behaviour for the same reason
* Shape binder or datum objects don't show the correct default shape colour
2024-04-09 22:13:42 +02:00
David Carter
ba20441935 Material: Material appearance
Uses new material system for appearance

Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.

The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.

A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
bgbsww
a2f342fe54 Add Tests 2024-03-31 09:32:06 -04:00
bgbsww
f0581fd768 Toponaming/Part Tests 2024-03-28 13:09:14 -04:00
bgbsww
58bfabf925 Toponaming/Part: Rework and clean python interface and add tests 2024-03-28 12:47:33 -04:00
bgbsww
07180280a0 Clean and test ComplexGeoData python interface 2024-03-25 21:52:37 -04:00
bdieterm
f0eb40f155 Part: add color transparency unit tests 2024-01-22 19:28:35 +01:00
bgbsww
494cb9388c Detect circular references in sketches, and add corresponding tests (#11716)
* Possible fix for 10482 circular reference regression with tests

* Remove redundant test

* Cleanup pre PR

* [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-06 18:13:44 -06: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
wmayer
5d2308e16f Part: add test for Geom2d.toShape 2023-11-20 13:00:09 +01:00
wmayer
1e7825cc02 Part: add a unit test for PR #9905 2023-07-14 11:29:20 -05:00
wmayer
f99205a4bc Part: delete created document in unit test TopoShapeListTest.testMakeTopoShapeList 2023-07-14 11:04:23 +02:00
luzpaz
01e8bbc2bf Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
wmayer
3ca5e80ea9 Part: fix TopoShapeListTest 2023-03-01 14:51:47 +01:00
wandererfan
10fd7db620 [Part]add test for PropertyTopoShapeList 2023-03-01 14:24:40 +01:00
Roy-043
8b14bc9dff Part: Fix typo in regression_tests.py 2022-11-06 11:40:19 +01:00
Priit Laes
4151ec279b Part: Enable test for issue 4456
Now that issue 4456 is fixed, we don't need to skip this test anymore.
2020-10-18 16:26:18 +02:00
Priit Laes
aeb82223ea Part: Add regression test for issue #4456 (skipped for now) 2020-10-17 09:37:59 +02:00
vocx-fc
74e109c614 Part: update the part_test_objects script
This script is based on a similar script
created for the Draft Workbench.
2020-05-20 09:34:39 +02:00
vocx-fc
599b56ead0 Part: add script to create the primitive shapes 2020-02-19 11:42:54 +01:00