For better supporting Link and groups. The original implementation can still be used by uncheck the STEP import setting 'Use Link Group'.
413 lines
13 KiB
XML
413 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PartGui::DlgImportExportStep</class>
|
|
<widget class="QWidget" name="PartGui::DlgImportExportStep">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>445</width>
|
|
<height>637</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>STEP</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Export</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="6" column="0" colspan="3">
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Scheme</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radioButtonAP203">
|
|
<property name="text">
|
|
<string notr="true">AP 203</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QRadioButton" name="radioButtonAP214">
|
|
<property name="text">
|
|
<string notr="true">AP 214</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxExportHiddenObj">
|
|
<property name="toolTip">
|
|
<string>Uncheck this to skip invisible object when exporting, which is useful for CADs that do not support invisibility STEP styling.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Export invisible objects</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ExportHiddenObject</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Units for export of STEP</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="3">
|
|
<widget class="QCheckBox" name="checkBoxPcurves">
|
|
<property name="text">
|
|
<string>Write out curves in parametric space of surface</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QComboBox" name="comboBoxUnits">
|
|
<item>
|
|
<property name="text">
|
|
<string>Millimeter</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Meter</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Inch</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxExportLegacy">
|
|
<property name="text">
|
|
<string>Use legacy exporter</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ExportLegacy</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxKeepPlacement">
|
|
<property name="toolTip">
|
|
<string>Check this option to keep the placement information when exporting
|
|
a single object. Please note that when import back the STEP file, the
|
|
placement will be encoded into the shape geometry, instead of keeping
|
|
it inside the Placement property.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Export single object placement</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ExportKeepPlacement</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>82</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QGroupBox" name="groupBoxHeader">
|
|
<property name="toolTip">
|
|
<string>If not empty, field contents will be used in the STEP file header.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Header</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="lineEditAuthor"/>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="lineEditProduct"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Author</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Product</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Company</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="lineEditCompany"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QGroupBox" name="GroupBox2">
|
|
<property name="title">
|
|
<string>Import</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxMergeCompound">
|
|
<property name="toolTip">
|
|
<string>If checked, no Compound merge will be done
|
|
during file reading (slower but higher details).</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable STEP Compound merge</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>ReadShapeCompoundMode</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Import/hSTEP</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxUseLinkGroup">
|
|
<property name="toolTip">
|
|
<string>Select this to use App::LinkGroup as group container, or else use App::Part.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use LinkGroup</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>UseLinkGroup</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxImportHiddenObj">
|
|
<property name="toolTip">
|
|
<string>Select this to not import any invisible objects.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Import invisible objects</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ImportHiddenObject</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxReduceObjects">
|
|
<property name="toolTip">
|
|
<string>Reduce number of objects using Link array</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reduce number of objects</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ReduceObjects</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxExpandCompound">
|
|
<property name="toolTip">
|
|
<string>Expand compound shape with multiple solids</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Expand compound shape</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ExpandCompound</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxShowProgress">
|
|
<property name="toolTip">
|
|
<string>Show progress bar when importing</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show progress bar when importing</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ShowProgress</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBoxUseBaseName">
|
|
<property name="toolTip">
|
|
<string>Do not use instance name. Useful for some legacy STEP file with non-meaningful auto generated instance names.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ignore instance names</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>UseBaseName</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefComboBox" name="comboBoxImportMode">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<string>ImportMode</string>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<string>Mod/Import</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Single document</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Assembly per document</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Assembly per document in sub-directory</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Object per document</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Object per document in sub-directory</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::PrefCheckBox</class>
|
|
<extends>QCheckBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>comboBoxUnits</tabstop>
|
|
<tabstop>checkBoxPcurves</tabstop>
|
|
<tabstop>checkBoxExportHiddenObj</tabstop>
|
|
<tabstop>radioButtonAP203</tabstop>
|
|
<tabstop>radioButtonAP214</tabstop>
|
|
<tabstop>checkBoxMergeCompound</tabstop>
|
|
<tabstop>checkBoxUseLinkGroup</tabstop>
|
|
<tabstop>checkBoxImportHiddenObj</tabstop>
|
|
<tabstop>checkBoxReduceObjects</tabstop>
|
|
<tabstop>checkBoxExpandCompound</tabstop>
|
|
<tabstop>checkBoxShowProgress</tabstop>
|
|
<tabstop>checkBoxUseBaseName</tabstop>
|
|
<tabstop>comboBoxImportMode</tabstop>
|
|
<tabstop>lineEditCompany</tabstop>
|
|
<tabstop>lineEditAuthor</tabstop>
|
|
<tabstop>lineEditProduct</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|