mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
27 lines
395 B
Plaintext
27 lines
395 B
Plaintext
# This series od example is designed to compare
|
|
# a very simple Boolean operation with what is
|
|
# possible under Euclid Designer
|
|
|
|
# face constructed from four points
|
|
|
|
box ba 3 3 0 5 7 4
|
|
|
|
vertex v1 7 0 2
|
|
vertex v2 8 0 2
|
|
vertex v3 8 0 3
|
|
vertex v4 7 0 3
|
|
|
|
edge ea v1 v2
|
|
edge eb v2 v3
|
|
edge ec v3 v4
|
|
edge ed v4 v1
|
|
|
|
wire w ea eb ec ed
|
|
mkplane f w
|
|
|
|
prism bb f 0 6 0
|
|
|
|
bcommon result ba bb
|
|
|
|
set square 14
|