Path: disable diameter checking in Drilling
I'm turning this off for now. tolerance problems are making it less than useful.
This commit is contained in:
committed by
Yorik van Havre
parent
6da8c1ba94
commit
d27870e7e3
@@ -33,8 +33,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>285</width>
|
||||
<height>277</height>
|
||||
<width>381</width>
|
||||
<height>381</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="icon">
|
||||
@@ -111,8 +111,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>120</width>
|
||||
<height>96</height>
|
||||
<width>381</width>
|
||||
<height>381</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="icon">
|
||||
@@ -178,8 +178,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>154</width>
|
||||
<height>68</height>
|
||||
<width>381</width>
|
||||
<height>381</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="icon">
|
||||
@@ -359,20 +359,6 @@
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_2" native="true">
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="2" column="2">
|
||||
<widget class="QCheckBox" name="processPerimeter">
|
||||
<property name="text">
|
||||
<string>Process Perimeter</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QCheckBox" name="processHoles">
|
||||
<property name="text">
|
||||
<string>Process Holes</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="useStartPoint">
|
||||
<property name="text">
|
||||
@@ -380,20 +366,34 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<item row="1" column="0">
|
||||
<widget class="QCheckBox" name="useCompensation">
|
||||
<property name="text">
|
||||
<string>Use Compensation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<item row="0" column="1">
|
||||
<widget class="QCheckBox" name="processHoles">
|
||||
<property name="text">
|
||||
<string>Process Holes</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QCheckBox" name="processCircles">
|
||||
<property name="text">
|
||||
<string>Process Circles</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QCheckBox" name="processPerimeter">
|
||||
<property name="text">
|
||||
<string>Process Perimeter</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -239,7 +239,8 @@ class ObjectDrilling:
|
||||
import DraftGeomUtils as dgu
|
||||
PathLog.track('obj: {} shape: {}'.format(obj, shape))
|
||||
holelist = []
|
||||
tooldiameter = obj.ToolController.Proxy.getTool(obj.ToolController).Diameter
|
||||
# tooldiameter = obj.ToolController.Proxy.getTool(obj.ToolController).Diameter
|
||||
tooldiameter = None
|
||||
PathLog.debug('search for holes larger than tooldiameter: {}: '.format(tooldiameter))
|
||||
if dgu.isPlanar(shape):
|
||||
PathLog.debug("shape is planar")
|
||||
@@ -459,7 +460,7 @@ class TaskPanel:
|
||||
self.form.uiToolController.blockSignals(False)
|
||||
|
||||
def open(self):
|
||||
""" """
|
||||
pass
|
||||
# self.s = SelObserver()
|
||||
# FreeCADGui.Selection.addObserver(self.s)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user