Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PathSurface now uses base object from job.
This means Surface won't work on Meshes directly. They should be converted so FreeCAD solids first. Surface still needs lots of work.
- Loading branch information
1 parent
df38242
commit 8d0af8f
Showing
8 changed files
with
449 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,365 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>TaskPanel</class> | ||
<widget class="QWidget" name="TaskPanel"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>352</width> | ||
<height>455</height> | ||
</rect> | ||
</property> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>0</width> | ||
<height>400</height> | ||
</size> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Contour</string> | ||
</property> | ||
<layout class="QGridLayout" name="gridLayout"> | ||
<item row="0" column="0"> | ||
<widget class="QToolBox" name="toolBox"> | ||
<property name="currentIndex"> | ||
<number>4</number> | ||
</property> | ||
<widget class="QWidget" name="Geometry"> | ||
<property name="enabled"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>334</width> | ||
<height>288</height> | ||
</rect> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Contour works on shape outer loop but maybe could work on something else</string> | ||
</property> | ||
<attribute name="icon"> | ||
<iconset resource="../../../FreeCAD/src/Mod/Path/Gui/Resources/Path.qrc"> | ||
<normaloff>:/icons/Path-BaseGeometry.svg</normaloff>:/icons/Path-BaseGeometry.svg</iconset> | ||
</attribute> | ||
<attribute name="label"> | ||
<string>Base Geometry</string> | ||
</attribute> | ||
<layout class="QGridLayout" name="gridLayout_2"/> | ||
</widget> | ||
<widget class="QWidget" name="Depths"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>334</width> | ||
<height>288</height> | ||
</rect> | ||
</property> | ||
<attribute name="icon"> | ||
<iconset resource="../../../FreeCAD/src/Mod/Path/Gui/Resources/Path.qrc"> | ||
<normaloff>:/icons/Path-Depths.svg</normaloff>:/icons/Path-Depths.svg</iconset> | ||
</attribute> | ||
<attribute name="label"> | ||
<string>Depths</string> | ||
</attribute> | ||
<layout class="QFormLayout" name="formLayout_3"> | ||
<item row="0" column="0"> | ||
<widget class="Gui::InputField" name="startDepth"> | ||
<property name="unit" stdset="0"> | ||
<string notr="true">mm</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QLabel" name="label_3"> | ||
<property name="text"> | ||
<string>Start Depth</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="Gui::InputField" name="finalDepth"> | ||
<property name="unit" stdset="0"> | ||
<string notr="true">mm</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QLabel" name="label_4"> | ||
<property name="text"> | ||
<string>Final Depth</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="0"> | ||
<widget class="QDoubleSpinBox" name="stepDown"> | ||
<property name="decimals"> | ||
<number>3</number> | ||
</property> | ||
<property name="minimum"> | ||
<double>0.100000000000000</double> | ||
</property> | ||
<property name="value"> | ||
<double>1.000000000000000</double> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="1"> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="text"> | ||
<string>Step Down</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<widget class="QWidget" name="Heights"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>334</width> | ||
<height>288</height> | ||
</rect> | ||
</property> | ||
<attribute name="icon"> | ||
<iconset resource="../../../FreeCAD/src/Mod/Path/Gui/Resources/Path.qrc"> | ||
<normaloff>:/icons/Path-Heights.svg</normaloff>:/icons/Path-Heights.svg</iconset> | ||
</attribute> | ||
<attribute name="label"> | ||
<string>Heights</string> | ||
</attribute> | ||
<layout class="QFormLayout" name="formLayout"> | ||
<property name="fieldGrowthPolicy"> | ||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum> | ||
</property> | ||
<item row="0" column="0"> | ||
<widget class="Gui::InputField" name="safeHeight"> | ||
<property name="unit" stdset="0"> | ||
<string notr="true">mm</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QLabel" name="label_5"> | ||
<property name="text"> | ||
<string>Safe Height</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="Gui::InputField" name="clearanceHeight"> | ||
<property name="unit" stdset="0"> | ||
<string notr="true">mm</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QLabel" name="label_6"> | ||
<property name="text"> | ||
<string>Clearance Height</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<widget class="QWidget" name="Holding"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>334</width> | ||
<height>288</height> | ||
</rect> | ||
</property> | ||
<attribute name="label"> | ||
<string>Holding</string> | ||
</attribute> | ||
<layout class="QGridLayout" name="gridLayout_3"> | ||
<item row="1" column="0"> | ||
<widget class="QPushButton" name="addTag"> | ||
<property name="text"> | ||
<string>Add New</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QPushButton" name="deleteTag"> | ||
<property name="text"> | ||
<string>Delete</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="0" rowspan="2" colspan="2"> | ||
<widget class="QTreeWidget" name="tagTree"> | ||
<column> | ||
<property name="text"> | ||
<string>Tag</string> | ||
</property> | ||
</column> | ||
<column> | ||
<property name="text"> | ||
<string>Location</string> | ||
</property> | ||
</column> | ||
<column> | ||
<property name="text"> | ||
<string>Height</string> | ||
</property> | ||
</column> | ||
<column> | ||
<property name="text"> | ||
<string>Length</string> | ||
</property> | ||
</column> | ||
<column> | ||
<property name="text"> | ||
<string>Angle</string> | ||
</property> | ||
</column> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<widget class="QWidget" name="page_3"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>334</width> | ||
<height>288</height> | ||
</rect> | ||
</property> | ||
<attribute name="icon"> | ||
<iconset resource="../../../FreeCAD/src/Mod/Path/Gui/Resources/Path.qrc"> | ||
<normaloff>:/icons/Path-OperationB.svg</normaloff>:/icons/Path-OperationB.svg</iconset> | ||
</attribute> | ||
<attribute name="label"> | ||
<string>Operation</string> | ||
</attribute> | ||
<layout class="QFormLayout" name="formLayout_2"> | ||
<property name="fieldGrowthPolicy"> | ||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum> | ||
</property> | ||
<item row="0" column="1"> | ||
<widget class="QWidget" name="widget_3" native="true"> | ||
<layout class="QGridLayout" name="gridLayout_5"> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="label_12"> | ||
<property name="text"> | ||
<string>Direction</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QComboBox" name="direction"> | ||
<item> | ||
<property name="text"> | ||
<string>CW</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>CCW</string> | ||
</property> | ||
</item> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QWidget" name="widget_2" native="true"> | ||
<layout class="QGridLayout" name="gridLayout_4"> | ||
<item row="0" column="0"> | ||
<widget class="QCheckBox" name="useStartPoint"> | ||
<property name="text"> | ||
<string>Use Start Point</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QCheckBox" name="useCompensation"> | ||
<property name="text"> | ||
<string>Use Compensation</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="QCheckBox" name="useEndPoint"> | ||
<property name="text"> | ||
<string>Use End Point</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item row="3" column="1"> | ||
<widget class="QWidget" name="widget_4" native="true"> | ||
<layout class="QGridLayout" name="gridLayout_6"> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="label_8"> | ||
<property name="text"> | ||
<string>Extra Offset</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QDoubleSpinBox" name="extraOffset"/> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="QLabel" name="label_10"> | ||
<property name="text"> | ||
<string>Segment Length</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QDoubleSpinBox" name="segLen"/> | ||
</item> | ||
<item row="2" column="0"> | ||
<widget class="QLabel" name="label_11"> | ||
<property name="text"> | ||
<string>Roll Radius</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="1"> | ||
<widget class="QDoubleSpinBox" name="rollRadius"/> | ||
</item> | ||
<item row="3" column="0"> | ||
<widget class="QLabel" name="label_13"> | ||
<property name="text"> | ||
<string>Plunge Angle</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="3" column="1"> | ||
<widget class="QDoubleSpinBox" name="plungeAngle"/> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<customwidgets> | ||
<customwidget> | ||
<class>Gui::InputField</class> | ||
<extends>QLineEdit</extends> | ||
<header>Gui/InputField.h</header> | ||
</customwidget> | ||
</customwidgets> | ||
<resources> | ||
<include location="../../../FreeCAD/src/Mod/Path/Gui/Resources/Path.qrc"/> | ||
<include location="../../../FreeCAD/src/Mod/Path/Gui/Resources/Path.qrc"/> | ||
</resources> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.