Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

j.palmeL29YX
en respuesta a: a0985684202


@a0985684202 wrote:
Could you please send your lisp code?
I know nothing about programming languages

If that is true, the LISPs will be nearly worthless for you. 

Nevertheless I post the 3 LISPs which I used in the attached zip.file. 

Perhaps you can "play" with these, following this steps: 

 

1.) load the mesh-test.lsp and run the command "test".

=> a number of randomly placed points in a 1x1 area are created

2.) load the triangulate-2.lsp and run the command "triangulate"

=> after selecting all in step 1 created points a bunch of 3dfaces is created

3.) run the command "flatten" (Express Tools) to convert the 3dfaces to lines.

4.) run the command "overkill" (Express Tools) to delete duplicate lines.

5.) load the del_lines.lsp

=> after selecting all lines (from step 4) a number of randomly selected lines are deleted.

6.) If necessary: Delete (manually) lines, which don't describe a closed area. (In the video were not such lines)

 

For demonstration a video: 

 

 

Again: This suggestion above is far away from a final solution. But perhaps it helps you to refine this idea to your needs.

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature