Jump to content

CALCULAR LINDEROS Y DISTANCIAS DE UN POLÍGONO IRREGULAR


ingoscarmora

Recommended Posts

Buen dia  trate de realizar una rutina que calcule los linderos de un polígono irregular   con función VLax-curve el problema sucede que el program calcula los linderos ok excepto cuando debo pasa por el punto de origen en el  a continuación relaciono el error y como debe quedar el programa el programa funciona seleccionando el polígono, segundo seleccionando los bloques que identifican los puntos en este orden noroeste, noreste, sureste, suroeste.  y calcula la distancia norte, sur, oriente, occidente. el problema sucede cuando debo calcular la distancia cuando pasa por el punto de origen o termina en el punto de origen.  a continuación muestro las imagenes como se realiza el lisp y como debe quedar, adjunto el archivo y el lisp que trate de programar otra cosa si lo pudieran revisar haber si se simplifica el archivo o se utiliza un mejor método.

 

 

image.thumb.png.ff9e362dad98fa6d1435d4d8e24226b5.png 

image.thumb.png.7c3d02985ce6cfcf25c3f26a7bb56b76.png

(lindero) calcular linderos de un poligono02.lsp archivo base coordendas.dwg

Link to comment
Share on other sites

translated to English.

 

Good morning, try to make a routine that calculates the boundaries of an irregular polygon with the VLax-curve function. The problem happens that the program calculates the boundaries. the program works by selecting the polygon, second by selecting the blocks that identify the points in this order northwest, northeast, southeast, southwest. and calculate the distance north, south, east, west. the problem happens when I need to calculate the distance when it passes the origin point or ends at the origin point. below I show the images how the lisp is made and how it should look, I attach the file and the lisp that tries to program something else if they could check it if the file is simplified or a better method is used.

  • Confused 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...