micheledag
Guest
Good morning to all the friends of the forum.
in order to speed up the resolution of one of the many problems that afflict me during the designs, I ask you if you can get the following.
Taking inspiration from a lisp already treated in this forum, called diag that inserts the diagonals inside rectangle polylines, it would very convenient a lisp that allows to insert all the diagonals possible within any geometric shape.
I explain better, given for example a pentagon formed by lines or polylines, of vertices to,b,c,d,e:
the lisp once launched, after asking to select the sides of the pentagon, will insert a link lines of the vertices: ac, ad, bd, be, ce. the other diagonals, obviously coincide with those already inserted (e.g. db or ca) and therefore should not be drawn.
If then, you could make the lisp the operation required even on several figures with common sides (of course empty inside) would be the top. e.g. data 4 rectangles (but could also be hexagons, octagons, dodecagoni...) with common sides:
the lisp should, once you select all the lines, insert all the diagonals inside the figures (obviously without crossing them: e.g., an ah or bg line is not allowed).
thanks to those who will have the patience to reason us on, and to solve the question eventually.
autocad 2007, 2011, 2014.
in order to speed up the resolution of one of the many problems that afflict me during the designs, I ask you if you can get the following.
Taking inspiration from a lisp already treated in this forum, called diag that inserts the diagonals inside rectangle polylines, it would very convenient a lisp that allows to insert all the diagonals possible within any geometric shape.
I explain better, given for example a pentagon formed by lines or polylines, of vertices to,b,c,d,e:
the lisp once launched, after asking to select the sides of the pentagon, will insert a link lines of the vertices: ac, ad, bd, be, ce. the other diagonals, obviously coincide with those already inserted (e.g. db or ca) and therefore should not be drawn.If then, you could make the lisp the operation required even on several figures with common sides (of course empty inside) would be the top. e.g. data 4 rectangles (but could also be hexagons, octagons, dodecagoni...) with common sides:
the lisp should, once you select all the lines, insert all the diagonals inside the figures (obviously without crossing them: e.g., an ah or bg line is not allowed).thanks to those who will have the patience to reason us on, and to solve the question eventually.
autocad 2007, 2011, 2014.