Skip to content

Commit da8983c

Browse files
committed
alternative boolean syntax
1 parent 9b08e60 commit da8983c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/examples/brep_from_booleans.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,16 @@
2323
B1 = BRep.from_cylinder(cx)
2424
B2 = BRep.from_cylinder(cy)
2525
B3 = BRep.from_cylinder(cz)
26-
C = BRep.from_boolean_difference(A, BRep.from_boolean_union(BRep.from_boolean_union(B1, B2), B3))
26+
27+
# C = BRep.from_boolean_difference(
28+
# A,
29+
# BRep.from_boolean_union(
30+
# BRep.from_boolean_union(B1, B2),
31+
# B3
32+
# )
33+
# )
34+
35+
C = A - (B1 + B2 + B3)
2736

2837
# ==============================================================================
2938
# Visualisation

0 commit comments

Comments
 (0)