Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
As stated in the title, I am trying to get a function which lets me straighten collinear segments in a closed polylines by removing the useless vertex in the middle. I would prefer to use angular fuzz as an input in the function.
I found @Kent1Cooper 's PLDiet (2009 version) on https://forums.intellicadms.com/viewtopic.php?t=1622 and adapted it as a function instead of a command :
;;; PLDIET.lsp (version 2009) [command name: PLD]
; [ Edited the post to remove the old code...]
; [ See update posts below ]
Using this following function call in the testing drawing attached to this post,
(KC:PLD 99999 0.003 "Retain" (ssget '((0 . "LWPOLYLINE"))))
I was unable to straighten 2 perfectly colinear segments (identified in the test drawing).
Does some one knows how could i fix this?
Solved! Go to Solution.