How do I write a lisp program that makes elements of the old hatch into islands for the new hatch?

How do I write a lisp program that makes elements of the old hatch into islands for the new hatch?

edushka228
Enthusiast Enthusiast
206 Views
0 Replies
Message 1 of 1

How do I write a lisp program that makes elements of the old hatch into islands for the new hatch?

edushka228
Enthusiast
Enthusiast

I wrote python code that creates hatches in different areas in a loop. There can be more than one hatch in one area.

 

The task is to write a lisp program so that each new hatch will have islands of elements from previous hatches.

 

For example, there are three hatches in one area
The code adds the first hatch.
Then, the code adds the second hatch, its islands must be elements of the first hatch.
Then, the code adds the third hatch, its islands must be elements of the first and second hatch.

 

edushka228_0-1713169739457.png

 

That is, the script will be called in each iteration of the loop.

How to implement such a lisp script?

0 Likes
207 Views
0 Replies
Replies (0)