CAD USER Posted May 1, 2016 Share Posted May 1, 2016 (edited) Please find attached Lisp routine, This Lisp routine I download from 'tzframpton' to draw the duct in double line, but each joint create some gap (distance), it is possible to remove that gap? so each joint will be overlap each other. extremely request to modify this lisp routine. any help will be greatly appreciated. Duct.LSP Edited May 1, 2016 by CAD USER Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 Please modify attached lisp routine, Please help me.. Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 2, 2016 Share Posted May 2, 2016 The gap that you refer to is so small it is insignificant. I don't see where it would affect anything. It certainly would not affect the fabrication or installation of any ductwork in my opinion. BTW...I had to go out five decimal places just to measure it. Tell me... who manufactures ductwork to that tolerance and what installer requires that kind of accuracy? Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 The gap that you refer to is so small it is insignificant. I don't see where it would affect anything. It certainly would not affect the fabrication or installation of any ductwork in my opinion. BTW...I had to go out five decimal places just to measure it. Tell me... who manufactures ductwork to that tolerance and what installer requires that kind of accuracy? Dear ReMark, Thanks for your response, Nobody asking for accuracy and it's not required for manufactures duct work, but after explode multi line each joint has double line and I would like to remove it, if that lines overlapping each other so I can use overkill command. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted May 2, 2016 Share Posted May 2, 2016 The gap that you refer to is so small it is insignificant. I don't see where it would affect anything. It certainly would not affect the fabrication or installation of any ductwork in my opinion. BTW...I had to go out five decimal places just to measure it. Tell me... who manufactures ductwork to that tolerance and what installer requires that kind of accuracy? Hi, This thread is due to these extra created lines in THIS THREAD Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 2, 2016 Share Posted May 2, 2016 CAD USER: Why are you exploding the multiline in the first place? Tharwat: So what we really have here is a dissatisfied customer who started a second thread on the exact same subject as his first thread? Quote Link to comment Share on other sites More sharing options...
Tharwat Posted May 2, 2016 Share Posted May 2, 2016 Tharwat: So what we really have here is a dissatisfied customer who started a second thread on the exact same subject as his first thread? Straight to the point. Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 CAD USER: Why are you exploding the multiline in the first place? Dear ReMark, I am exploding because I have to Draw the "Neck" in Each Main branch and sub branch. Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 2, 2016 Share Posted May 2, 2016 You didn't like the answers you received in the first thread you posted on this very same topic? Couldn't you mask the multiline using a wipeout when you draw a neck? Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 You didn't like the answers you received in the first thread you posted on this very same topic? Couldn't you mask the multiline using a wipeout when you draw a neck? Dear ReMark, basically I don't want to keep the duct in multiline, and I don't want extra lines also. please if you can do something, please do your best, because I have plenty of drawings. Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 2, 2016 Share Posted May 2, 2016 So what was wrong with marko_ribar's lisp routine in the first thread? Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 So what was wrong with marko_ribar's lisp routine in the first thread? I am not saying that was wrong, but it was lengthy procedures. Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 2, 2016 Share Posted May 2, 2016 Then I'd suggest you spend the money to either 1) have a custom lisp routine written to your exact specifications or 2) buy a duct cad drawing program like Trimble DuctDesigner 3D. Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 Thanks for your Suggestions. Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted May 2, 2016 Share Posted May 2, 2016 (edited) Here test attachment lisp modification... Is the same but now without missed end points... [EDIT : Updated modified code as per last feedback... There were 17 downloads till I reattached file again...] [EDIT : Fixed small mistake... There were 3 downloads till I reattached file again...] HTH, M.R. Duct.LSP Edited October 5, 2016 by marko_ribar Quote Link to comment Share on other sites More sharing options...
CAD USER Posted May 2, 2016 Author Share Posted May 2, 2016 Here test attachment lisp modification... Is the same but now without missed end points... HTH, M.R. Thanks, Dear marko_ribar for your great help, I test your given Lisp, it has two problems 1st is after exploding it's converting in one line instead of double line, 2nd is after first elbow second elbow is not coming in radius. Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted May 2, 2016 Share Posted May 2, 2016 Thanks, Dear marko_ribar for your great help,I test your given Lisp, it has two problems 1st is after exploding it's converting in one line instead of double line, 2nd is after first elbow second elbow is not coming in radius. Can you post DWG showing what's wrong... I have to admit I don't quite understand, but I've found other issues, so I've reattached lisp ("Mitered" option)... Bare me, but I think it has no lack in vertices wrong displacements - older had small gaps... Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted May 5, 2016 Share Posted May 5, 2016 I've modified the lisp further to accept reducers and wider components... Something similar like shown on this topic... : http://www.cadtutor.net/forum/showthread.php?30545-*FREE*-HVAC-or-Piping-program-for-AutoCAD M.R. Quote Link to comment Share on other sites More sharing options...
tzframpton Posted May 6, 2016 Share Posted May 6, 2016 What is so important in deleting the duplicated line? Is this being exported to some type of CNC? Or is it simply an OCD thing you can't let your mind go of? I've been using this LISP for almost ten years and I'm as OCD as they come and the double line doesn't bother me at all. Nor do I explode anything unless it's required. Not sure if the motivation behind your request is due to some type of actual problem with another process. If not, some duplicated lines are a non issue. But, there is in fact a fix. What you can do is run the Multiline in your template file and explode it. Once exploded, you can now modify the Multiline Style. Type MLSTYLE, and modify the style to not have a end lines and save this template. Now each time you create a new project, and begin the LISP routine, no more duplicated lines. Hope this helps. Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted May 6, 2016 Share 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... Quote Link to comment Share on other sites More sharing options...
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.