tzframpton Posted May 6, 2016 Posted May 6, 2016 Tannar, I've fixed it in another way... I've added next mline segment in each loop and added END osnap while creating in between polyline... Then before next loop, I've entdel that next segment, so that final result after all loops are processed is without gaps at point vertices... There is also one trick if you want reducer or wider component - you must draw it as extension of previous segment and in code you must include (if) statement to check for changes of width factor and if changes occur, you must predict not next segment for mlineing, but next of next segment to be able to force hitting end osnaps for in between polyline... Before next loop next of next segment is entdeleted... And that's all... Still maybe I missed something important, but this fix solved this issue posted by OP...No problem at all Marko. You are a LISP guru so I'm beyond certain that your fix is a better fix. Mine is simply a non-LISP approach to fixing the issue is all. The O.P. can decide what's best for himself from here. Quote
marko_ribar Posted May 6, 2016 Posted May 6, 2016 If OP want to avoid OVERKILL-ing at all at the end, then combination of my and your solution is the best... And thanks for kind words, I only fixed what was lack in orig. code... All credits to author - I think ASMI... And I am not so lisp skilled that should be called guru... I just try to be better and keep coding not to forget and to fill emptiness in my ALISP library with more useful staff... Quote
marko_ribar Posted May 6, 2016 Posted May 6, 2016 Well no one downloaded it... It seems that OP don't need it anymore... Latest version can be found here : http://www.cadtutor.net/forum/showthread.php?96683-Remove-distance-from-each-joint&p=660639#post660639 M.R. Quote
xpr0 Posted October 5, 2016 Posted October 5, 2016 (edited) Well no one downloaded it... It seems that OP don't need it anymore...Latest version can be found here : http://www.cadtutor.net/forum/showthread.php?96683-Remove-distance-from-each-joint&p=660639#post660639 M.R. hey marko i tested your lisp & it does solve the problem of gap as mentioned earlier in the thread which is great. but there're some problems. 1. it creates mlines and polylines & when i explode the plines it converts them in to (1)single line. 2. it also turnsoff the Osnap & dosen't turns it back on. 3. it also changes the System Variable 'Fillmode' to 0. i'm not complaing, just giving the feed back. if u could fix'em it would wonderfull. Edited October 5, 2016 by xpr0 Quote
marko_ribar Posted October 5, 2016 Posted October 5, 2016 Yes, I see, thanks for feedback... I hope that now it's fine... New attachment on the post where was my modification posted... M.R. Quote
xpr0 Posted October 5, 2016 Posted October 5, 2016 (edited) Yes, I see, thanks for feedback... I hope that now it's fine... New attachment on the post where was my modification posted... M.R. thanx marko now its working properly.. Latest Modified Lisp by marko_ribar Edited October 5, 2016 by xpr0 Quote
marko_ribar Posted October 5, 2016 Posted October 5, 2016 Sorry for inconvenience, I've found some small mistakes in 2 places... Routine reattached... My name is Marko Ribar it's in signature with "k" char... Quote
xpr0 Posted October 5, 2016 Posted October 5, 2016 Sorry for inconvenience, I've found some small mistakes in 2 places... Routine reattached... My name is Marko Ribar it's in signature with "k" char... sorry my bad, i corrected ur name. what were the two mistakes. Quote
Ronso Posted October 5, 2016 Posted October 5, 2016 Post #204 will allow you to apply duct label suffix etc. http://www.cadtutor.net/forum/showthread.php?10882-Need-better-multiline/page21&highlight=mline Quote
marko_ribar Posted October 5, 2016 Posted October 5, 2016 sorry my bad, i corrected ur name. what were the two mistakes. Just small mistakes : They were concerned correct OSNAP functionality... Just search in text editor for word "osmode"... On 1 place after "OSMODE" was set to 1 which is needed, "OSMODE" was set to 0 and should be (nth 3 oldVars)... Then when you continue searching, you'll find that I incorrectly wrote (nth oldVars 3) and should be (nth 3 oldVars)... That's all, but I've reattached file again... Quote
Recommended Posts
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.