Unite a Block and a Cylinder
List of: Discussion Topic
Subjects: Scheme AIDE Application
Contents: Getting Started Guide

Example 6-3 creates a block and a cylinder, then unites them. Figure 6-2 shows the model before and after the entities are united.

; Create a solid block
(define b1 (solid:block (position -20 -20 -20)

(position 20 20 20)))
;; b1
; Create a cylinder
(define c1 (solid:cylinder (position 20 0 -20)

(position 20 0 20) 20)))
;; c1
; Unite the two bodies into a new body
(define u1 (bool:unite b1 c1))
;; u1

Example 6-3. Unite Block and Cylinder


Figure 6-2. Unite Block and Cylinder
PDF/GET/06SCUSE.PDF
HTM/DATA/ACIS/GET/06SCUSE/0019.HTM