dish [Tue, 19 Nov 2024 02:05:58 +0000 (02:05 +0000)]
[bos #35154][EDF](2023-T1) Edge thickness.
Add edge thickness feature. Edge thickness can be assigned to any shapes and subshapes, except vertices.
If different edge thickness values assigned both to a shape and to its subshape, subshape value overrides shape value.
Thickness data (de)serialized into xCAF and TUI.py files.
asozinov [Fri, 17 Feb 2023 00:16:09 +0000 (00:16 +0000)]
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, 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