From 2fe53c58bffb052fbcc8126000c14775d16e2602 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Wed, 3 Jun 2020 12:47:10 -0500 Subject: [PATCH] Path: Fix failure to create model STL when selecting faces --- src/Mod/Path/PathScripts/PathSurfaceSupport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathSurfaceSupport.py b/src/Mod/Path/PathScripts/PathSurfaceSupport.py index 5599eb4ac3..ae891d3503 100644 --- a/src/Mod/Path/PathScripts/PathSurfaceSupport.py +++ b/src/Mod/Path/PathScripts/PathSurfaceSupport.py @@ -425,7 +425,7 @@ class PathGeometryGenerator: '''_getFaceOffset(shape, offset) ... internal function. Original _buildPathArea() version copied from PathAreaOp.py module. This version is modified. Adjustments made based on notes by @sliptonic at this webpage: https://github.com/sliptonic/FreeCAD/wiki/PathArea-notes.''' - PathLog.debug('_getFaceOffset()') + # PathLog.debug('_getFaceOffset()') areaParams = {} areaParams['Offset'] = offset @@ -559,7 +559,7 @@ class ProcessSelectedFaces: # Process each model base, as a whole, as needed # PathLog.debug(' -Pre-processing all models in Job.') for m in range(0, lenGRP): - if fShapes[m] is False: + if self.modelSTLs[m] and not fShapes[m]: PathLog.debug(' -Pre-processing {} as a whole.'.format(GRP[m].Label)) if self.obj.BoundBox == 'BaseBoundBox': base = GRP[m]