dish [Mon, 28 Oct 2024 08:34:36 +0000 (08:34 +0000)]
Rebase onto master. Merged with "Set colors on subshape":
- Added: Added ability to assign colors on subshape of shape. This work for Part and for PartSet
- Modified Python dump: can dump colored objects to python script:
For object inside part: Cylinder_1.result().setColor(model.selection("FACE", "Cylinder_1_1/Face_2"), 85, 170, 0)
For PartSet: Part_1.result().setColor(model.selection("FACE", "Part_1/Sphere_1_1/Face_1"), 249, 225, 104)
- In Preferences -> Shaper -> Visualization: Added checkbox for enable/disable this functionality - Set color on subshape of result
mbs [Wed, 2 Oct 2024 08:39:57 +0000 (09:39 +0100)]
[bos #37689] EDF 28575 - vertical edges are recognised as horizontal
There are different algorithms used to compute the orientation of a new sketch and the orientation of the view.
Explicitly set up vector to the view orientation to match the sketch orientation.
[GITHUB #2] problem in export dialog - difference in STEP vs BREP
When selecting a feature, the context is a Feature and not a Result.
Therefore, the result pointer is NULL and causes a SIGSEGV on Linux.
On Windows, the exception is caught in Model_Update::executeFeature().
mbs [Wed, 5 Jun 2024 14:10:55 +0000 (15:10 +0100)]
* Use new method to dump the volume and area value in shape dump
* check only NAMING in BearingSeparator.py test during checkPythonDump as the Revolution_1 body cannot be selected from a point
dish [Tue, 5 Dec 2023 13:44:50 +0000 (13:44 +0000)]
[bos #35160][EDF](2023-T1) Keyboard shortcuts.
The branch must be synchronized with GUI:/dish/CR35160--Keyboard_Shortcuts.
Add all SHAPER' sketch-features to the list of available for assigning shortcuts.
asozinov [Fri, 23 Jun 2023 01:06:02 +0000 (02:06 +0100)]
bos#35152 [EDF] (2023-T1) Sketch Circle should allow user to position construction point
WIll be modified Sketch Circle feature: Current implementation provide possibility change sewing point and rotate this point
Sketch.addCircleWithPoint(CenterPoint, Radius, Angle)
Sketch.addCircleWithPoint(CenterPoint, PassedPoint, Angle)
Sketch.addCircleWithPoint(PassPoint1, PassPoint2, PassPoint3, Angle)
Pascal Obry [Tue, 19 Dec 2023 14:04:46 +0000 (15:04 +0100)]
Test1967: Update tolerance ratio for moving vs creating.
It was expected that the time to move a point was 1/10 the time
needed to create the sketch. This ratio is just to restrictive
and proved to be wrong as many time we get an assertion error
on some machine:
We allow for 1/5 of the time now. This is not perfect nor good but
the previous ratio was boggus anyway. Maybe at some point we
will need to rewrite this test for something more stable in time.
asozinov [Fri, 23 Jun 2023 01:06:02 +0000 (02:06 +0100)]
bos#35152 [EDF] (2023-T1) Sketch Circle should allow user to position construction point
WIll be modified Sketch Circle feature: Current implementation provide possibility change sewing point and rotate this point
Sketch.addCircleWithPoint(CenterPoint, Radius, Angle)
Sketch.addCircleWithPoint(CenterPoint, PassedPoint, Angle)
Sketch.addCircleWithPoint(PassPoint1, PassPoint2, PassPoint3, Angle)
asozinov [Tue, 6 Jun 2023 10:52:31 +0000 (11:52 +0100)]
[EDF] (2023-T1) Sketch middle point constrain should create point if missing
- Added new way for create middle point constraint: Only by segment
- Added MacroMiddlePoint, which create point and middle constraint between point and passed object. Returns point
- SketchAPI: added setMiddlePoint() command, which pass only object and create middle point for object.
- will be updated documentation and tests
* po/29467_gui_log_file:
Use logStructuredUserEvent() for log message format consistency.
Minor correction
Log desktop actions
[bos #29467] [EDF] (2022-T1) Logging of SALOME usage: specific log in SALOME