</export_file_selector>
<multi_selector id="selection_list"
tooltip="Select a set of objects"
- type_choice="Vertices Edges Faces Solids Objects">
+ type_choice="Vertices Edges Faces Solids Compsolids Objects">
<validator id="GeomValidators_Finite"/>
</multi_selector>
</case>
<group id="Exchange">
<feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png" document="Part">
<file_selector id="file_path" title="Import file" path="">
- <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES,XAO:XAO" />
+ <validator id="ExchangePlugin_ImportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES" />
</file_selector>
</feature>
<feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png">
<validator id="ExchangePlugin_ExportFormat" parameters="BREP|BRP:BREP,STEP|STP:STEP,IGES|IGS:IGES-5.1,IGES|IGS:IGES-5.3" />
</export_file_selector>
<multi_selector id="selection_list" tooltip="Select a set of objects"
- type_choice="Vertices Edges Faces Solids Objects" use_choice="true">
+ type_choice="Vertices Edges Faces Solids Compsolids Objects" use_choice="true">
<validator id="GeomValidators_Finite"/>
</multi_selector>
</feature>
label="Main objects"
icon=""
tooltip="Select solid objects"
- type_choice="solids edges faces"
+ type_choice="solids compsolids edges faces"
use_choice="false"
concealment="true">
<validator id="PartSet_DifferentObjects"/>
label="Tool objects"
icon=""
tooltip="Select a tool solid"
- type_choice="solids edges faces"
+ type_choice="solids compsolids edges faces"
use_choice="false"
concealment="true" >
<validator id="PartSet_DifferentObjects"/>
label="Cut from:"
icon="icons/Features/cut_shape.png"
tooltip="Objects to Cut"
- type_choice="Solids"
+ type_choice="Solids Compsolids"
+ use_choice="false"
concealment="true">
<validator id="GeomValidators_ShapeType" parameters="solid"/>
</multi_selector>
label="Fuse with:"
icon="icons/Features/cut_shape.png"
tooltip="Objects to Fuse"
- type_choice="Solids"
+ type_choice="Solids Compsolids"
+ use_choice="false"
concealment="true">
<validator id="GeomValidators_ShapeType" parameters="solid"/>
</multi_selector>
<source>
<multi_selector id="group_list"
tooltip="Select a set of objects"
- type_choice="vertices edges faces solids"
+ type_choice="Vertices Edges Faces Solids"
use_choice="true"
clear_in_neutral_point="false">
<validator id="GeomValidators_BodyShapes"/>
label="Cut from:"
icon="icons/Features/cut_shape.png"
tooltip="Objects to Cut"
- type_choice="Solids"
+ type_choice="Solids Compsolids"
+ use_choice="false"
concealment="true">
<validator id="GeomValidators_ShapeType" parameters="solid"/>
</multi_selector>
label="Fuse with:"
icon="icons/Features/cut_shape.png"
tooltip="Objects to Fuse"
- type_choice="Solids"
+ type_choice="Solids Compsolids"
+ use_choice="false"
concealment="true">
<validator id="GeomValidators_ShapeType" parameters="solid"/>
</multi_selector>
<multi_selector id="base_objects"
label="Base objects:"
tooltip="Select solids for union."
- type_choice="solids"
+ type_choice="solids compsolids"
+ use_choice="false"
concealment="true">
<validator id="FeaturesPlugin_ValidatorUnionSelection"/>
</multi_selector>
QIntList ModuleBase_WidgetSelector::getShapeTypes() const
{
QIntList aShapeTypes = shapeTypes();
- if (aShapeTypes.contains(TopAbs_SOLID) || aShapeTypes.contains(ModuleBase_ResultPrs::Sel_Result/*TopAbs_SHAPE*/)) {
+ if (/*aShapeTypes.contains(TopAbs_SOLID) ||*/ // this type should be mentioned in XML, poor selection otherwise
+ aShapeTypes.contains(ModuleBase_ResultPrs::Sel_Result/*TopAbs_SHAPE*/)) {
// it should be selectable for both, "solids" and "objects" types
aShapeTypes.append(TopAbs_COMPSOLID);
}