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
Issue #1351: partition is not done
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
extrusionfuse_widget.xml
diff --git
a/src/FeaturesPlugin/extrusionfuse_widget.xml
b/src/FeaturesPlugin/extrusionfuse_widget.xml
index 08a2605f801dce5ec956f623cae4dd2417e5096c..fb06968e0f41c5605b047a695b44266342c7b107 100644
(file)
--- a/
src/FeaturesPlugin/extrusionfuse_widget.xml
+++ b/
src/FeaturesPlugin/extrusionfuse_widget.xml
@@
-8,59
+8,57
@@
tooltip="Create or edit a sketch">
</sketch_launcher>
<toolbox id="CreationMethod">
tooltip="Create or edit a sketch">
</sketch_launcher>
<toolbox id="CreationMethod">
- <box id="By
Offsets" title="By offsets
">
+ <box id="By
Sizes" title="By sizes" icon=":icons/dimension_up_down_32x32.png
">
<groupbox>
<doublevalue
id="to_size"
label="Size"
<groupbox>
<doublevalue
id="to_size"
label="Size"
- min="0"
step="1.0"
default="10"
icon=":icons/dimension_up.png"
step="1.0"
default="10"
icon=":icons/dimension_up.png"
- tooltip="
S
ize">
+ tooltip="
To s
ize">
</doublevalue>
</groupbox>
<groupbox>
<doublevalue
id="from_size"
label="Size"
</doublevalue>
</groupbox>
<groupbox>
<doublevalue
id="from_size"
label="Size"
- min="0"
step="1.0"
default="0"
icon=":icons/dimension_down.png"
step="1.0"
default="0"
icon=":icons/dimension_down.png"
- tooltip="
S
ize">
+ tooltip="
From s
ize">
</doublevalue>
</groupbox>
</box>
</doublevalue>
</groupbox>
</box>
- <box id="ByPlanesAndOffsets" title="By bounding planes and offsets">
- <groupbox title="
To
">
- <shape_selector id="
to
_object"
- icon=":icons/plane
_inverted
.png"
+ <box id="ByPlanesAndOffsets" title="By bounding planes and offsets"
icon=":icons/plane_inverted_32x32.png"
>
+ <groupbox title="
From
">
+ <shape_selector id="
from
_object"
+ icon=":icons/plane.png"
label="Plane face"
label="Plane face"
- tooltip="
Select a planar face
"
+ tooltip="
Bounding plane (select a planar face)
"
shape_types="face"
default="<base sketch>">
<validator id="GeomValidators_Face" parameters="plane"/>
</shape_selector>
shape_types="face"
default="<base sketch>">
<validator id="GeomValidators_Face" parameters="plane"/>
</shape_selector>
- <doublevalue
id="to_size
"
- label="
Size" min="0
" step="1.0" default="0"
- icon=":icons/dimension_up.png"
- tooltip="
Siz
e">
+ <doublevalue
id="from_offset
"
+ label="
Offset
" step="1.0" default="0"
+ icon=":icons/dimension_up
_down
.png"
+ tooltip="
Offset for bounding plan
e">
</doublevalue>
</groupbox>
</doublevalue>
</groupbox>
- <groupbox title="
From
">
- <shape_selector id="
from
_object"
- icon=":icons/plane.png"
+ <groupbox title="
To
">
+ <shape_selector id="
to
_object"
+ icon=":icons/plane
_inverted
.png"
label="Plane face"
label="Plane face"
- tooltip="
Select a planar face
"
+ tooltip="
Bounding plane (select a planar face)
"
shape_types="face"
default="<base sketch>">
<validator id="GeomValidators_Face" parameters="plane"/>
</shape_selector>
shape_types="face"
default="<base sketch>">
<validator id="GeomValidators_Face" parameters="plane"/>
</shape_selector>
- <doublevalue
id="from_size" label="Size
"
-
min="0" step="1.0" default="1
0"
- icon=":icons/dimension_down.png"
- tooltip="
Siz
e">
+ <doublevalue
id="to_offset
"
+
label="Offset" step="1.0" default="
0"
+ icon=":icons/dimension_
up_
down.png"
+ tooltip="
Offset for bounding plan
e">
</doublevalue>
</groupbox>
</box>
</doublevalue>
</groupbox>
</box>
@@
-72,5
+70,7
@@
tooltip="Objects to Fuse"
type_choice="Solids"
concealment="true">
tooltip="Objects to Fuse"
type_choice="Solids"
concealment="true">
+ <validator id="GeomValidators_ShapeType" parameters="solid"/>
</multi_selector>
</multi_selector>
+ <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
</source>
</source>