Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
axis_widget.xml
diff --git
a/src/ConstructionPlugin/axis_widget.xml
b/src/ConstructionPlugin/axis_widget.xml
index 7173f114c221a717744fadfb16b72a478dd964e9..b683cceed5d72b9cb7e935821273f66c0183a17b 100644
(file)
--- a/
src/ConstructionPlugin/axis_widget.xml
+++ b/
src/ConstructionPlugin/axis_widget.xml
@@
-1,30
+1,33
@@
<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
<source>
<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
<source>
- <toolbox id="
c
reationMethod">
- <box id="AxisByPointsCase" title="By two points">
- <shape_selector id="
f
irstPoint"
+ <toolbox id="
C
reationMethod">
+ <box id="AxisByPointsCase" title="By two points"
icon=":icons/by_two_points_32x32.png"
>
+ <shape_selector id="
F
irstPoint"
label="First point"
icon=":icons/point.png"
tooltip="Select a first point"
shape_types="vertex">
label="First point"
icon=":icons/point.png"
tooltip="Select a first point"
shape_types="vertex">
- <selection_filter id="NoConstructionSubShapesFilter"/>
+ <validator id="GeomValidators_ConstructionComposite"/>
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
</shape_selector>
</shape_selector>
- <shape_selector id="
s
econdPoint"
+ <shape_selector id="
S
econdPoint"
label="Second point"
icon=":icons/point.png"
tooltip="Select a second point"
shape_types="vertex">
label="Second point"
icon=":icons/point.png"
tooltip="Select a second point"
shape_types="vertex">
- <selection_filter id="NoConstructionSubShapesFilter"/>
- <validator id="PartSet_DifferentShapes"/>
+ <validator id="GeomValidators_ConstructionComposite"/>
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+ <validator id="GeomValidators_DifferentShapes"/>
</shape_selector>
</box>
</shape_selector>
</box>
- <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face">
- <shape_selector id="
cylindricalFace"
+ <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face"
icon=":icons/cylindrical_face_32x32.png"
>
+ <shape_selector id="
CylindricalFace"
label="Main object"
icon=":icons/circle.png"
tooltip="Select a cylindrical object"
shape_types="face solid shell">
label="Main object"
icon=":icons/circle.png"
tooltip="Select a cylindrical object"
shape_types="face solid shell">
+ <validator id="GeomValidators_Face" parameters="cylinder"/>
</shape_selector>
</box>
</toolbox>
</shape_selector>
</box>
</toolbox>