Make Offset and Thickness features discoverable in Find Action dialog and assignable to shortcuts.
Two Offset algorithms are:
-.. figure:: images/offset.png
+.. figure:: images/offset3D.png
:align: left
:height: 24px
offset the whole shape by the same value
-.. figure:: images/offset_partial.png
+.. figure:: images/offset3D_partial.png
:align: left
:height: 24px
- **Shape** defines the base shape (solid, shell or face) selected in 3D OCC viewer or object browser;
- **Distance** defines the offset value. Negative value meaning inner offset;
-- **Join by pipes** check box defines the mode of filling the gaps between translated
+- **Join by pipes** check box defines the mode of filling the gaps between translated
adjacent surfaces:
- if <b>Join by pipes</b> is activated, they are filled with pipes;
<toolbox id="creation_method">
<box id="offset_equal"
title="Offset"
- icon="icons/Features/offset.png">
+ icon="icons/Features/offset3D.png">
<boolvalue id="pipe_joint" label="Join by pipes" default="true" tooltip="Join by pipes"/>
</box>
<box id="offset_partial"
title="Partial offset"
- icon="icons/Features/offset_partial.png">
+ icon="icons/Features/offset3D_partial.png">
<multi_selector id="faces_to_offset"
label="Faces to offset:"
tooltip="Select faces of the main shape."
<source path="scale_widget.xml"/>
</feature>
<feature id="Offset3d" title="Offset" tooltip="Perform offset"
- icon="icons/Features/offset.png" helpfile="offsetFeature.html">
+ icon="icons/Features/offset3D.png" helpfile="offsetFeature.html">
<source path="offset_widget.xml"/>
</feature>
</group>
<parameter name="midSurface" value=""/>
<parameter name="pipeNetwork" value=""/>
<parameter name="SketchDrawer" value=""/>
+ <parameter name="Offset3d" value=""/>
+ <parameter name="Thickness" value=""/>
</section>
</document>
"tooltip": "Créer un réseau de tuyaux"
}
}
+ },
+ "SHAPER/Offset3d": {
+ "iconPath": "%SHAPER_ROOT_DIR%/share/salome/resources/shaper/icons/Features/offset3D.png",
+ "langDependentAssets": {
+ "en": {
+ "name": "Offset (3D)",
+ "tooltip": "Offset face or shell"
+ },
+ "fr": {
+ "name": "Offset (3D)",
+ "tooltip": "Face ou coque décalée"
+ }
+ }
+ },
+ "SHAPER/Thickness": {
+ "iconPath": "%SHAPER_ROOT_DIR%/share/salome/resources/shaper/icons/Features/thickness.png",
+ "langDependentAssets": {
+ "en": {
+ "name": "Thickness (3D)",
+ "tooltip": "Thicken faces"
+ },
+ "fr": {
+ "name": "Thickness (3D)",
+ "tooltip": "Épaissir les visages"
+ }
+ }
}
}
\ No newline at end of file