diff --git a/CadQuery/Examples/Ex033_Shelled_Cube_Inside_Chamfer_With_Logical_Selector_Operators.py b/CadQuery/Examples/Ex033_Shelled_Cube_Inside_Chamfer_With_Logical_Selector_Operators.py new file mode 100644 index 0000000..3137055 --- /dev/null +++ b/CadQuery/Examples/Ex033_Shelled_Cube_Inside_Chamfer_With_Logical_Selector_Operators.py @@ -0,0 +1,11 @@ +# Example using advanced logical operators in string selectors +# to select only the inside edges on a shelled cube to chamfer. +import cadquery as cq +from Helpers import show + +result = cq.Workplane("XY").box(2, 2, 2).\ + faces(">Z").shell(-0.2).\ + faces(">Z").edges("not(X or Y)").\ + chamfer(0.125) + +show(result)