From 317a8e19de8fb56edbebb54e6ac97756dacc048c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Ecorchard?= Date: Fri, 2 Oct 2015 21:57:13 +0200 Subject: [PATCH] Remove flipLid parameter from Parametric Enclosure The parameter didn't work anyway --- CadQuery/Examples/Ex023_Parametric_Enclosure.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CadQuery/Examples/Ex023_Parametric_Enclosure.py b/CadQuery/Examples/Ex023_Parametric_Enclosure.py index 5de638d..82ebee4 100644 --- a/CadQuery/Examples/Ex023_Parametric_Enclosure.py +++ b/CadQuery/Examples/Ex023_Parametric_Enclosure.py @@ -19,7 +19,6 @@ p_boreDiameter = 8.0 # Diameter of the counterbore hole, if any p_boreDepth = 1.0 # Depth of the counterbore hole, if p_countersinkDiameter = 0.0 # Outer diameter of countersink. Should roughly match the outer diameter of the screw head p_countersinkAngle = 90.0 # Countersink angle (complete angle between opposite sides, not from center to one side) -p_flipLid = True # Whether to place the lid with the top facing down or not. p_lipHeight = 1.0 # Height of lip on the underside of the lid. Sits inside the box body for a snug fit. # Outer shell @@ -73,10 +72,6 @@ elif p_countersinkDiameter > 0 and p_countersinkAngle > 0: else: topOfLid= topOfLidCenters.hole(p_screwpostID, 2.0 * p_thickness) -# Flip lid upside down if desired -if p_flipLid: - topOfLid.rotateAboutCenter((1, 0, 0), 180) - # Return the combined result result = topOfLid.combineSolids(bottom)