Vigilante Posted September 11, 2007 Author Posted September 11, 2007 Hi, been a while but I have one more thing to ask of you guys on this script. I've been using it extensively for the past weeks and have become quite used to it, but there is one problem I hope we can address. Here is an error that I get sometimes: "Command: ; error: An error has occurred inside the *error* functionbad argument type: 2D/3D point: nil" This happens when my turns are to narrow for the script to create a radius corner. Refer to the attached image, this is what it looks like when it draws to narrow. This is not that big of a deal, I understand if the turn is to tight to make. But what happens is that I loose all my object snapping settings, it turns it all off and I have to go in DS and put it all back on again. The other setting that it messes up is FILLMODE, it gets set to zero and all my hatches turn off. And I don't know if any other settings get reverted. So basically, if we can catch this error and make sure to set my settings properly, it will be OK. And lastly, it would be ok to make the radius a little less. In other words, corners don't need to be so wide, if we can reduce radius size kind of like the second attached image, that would be cool. Thanks a lot! Quote
ASMI Posted September 12, 2007 Posted September 12, 2007 Ok, I will to try fix it, but not today. Some beer and sleep... Quote
Vigilante Posted September 25, 2007 Author Posted September 25, 2007 I wonder why the script changes DS and FILLMODE anyway? Or is that just an odd side effect? Quote
ASMI Posted September 25, 2007 Posted September 25, 2007 Not, it seems a bag. Excuse me that I fogot your problem, this week is very hard and i don't write anything (maybe a few at the theswamp.org). I will look it at holidays. Note: Baseline radius is 1/2 of pipe diameter is StykFacE request, but i can modify it. Quote
tzframpton Posted September 26, 2007 Posted September 26, 2007 Not, it seems a bag. Excuse me that I fogot your problem, this week is very hard and i don't write anything (maybe a few at the theswamp.org). I will look it at holidays. Note: Baseline radius is 1/2 of pipe diameter is StykFacE request, but i can modify it. There are a few glitches in the code, the FILLMODE being one error, and if you cancel the command it will erase the last entity that was created/modified before you started the code. I never complained about it, I just got used to it. the FILLMODE variable happens once in a blue moon. this program has done wonders for my effeciency, and like I said before it is something I just simply got used to. The radius is just fine for what I do. Granted it's not EXACTLY the radius of a true 90 degree fitting in the real world, but that is completely irrevelant because the people who manufacture our duct for our jobs aren't dimensioning their jobs off of our plans. They know what radius a 90 degree fitting is suppose to be. That's my outlook on it. However i'm now upgraded to AutoCAD MEP '08 so I'm fully in 3D now. The Lisp from ASMI is used by some other guys up here at the office, and trust me, they're 100% appreciative of that little program too, haha. Quote
Vigilante Posted September 28, 2007 Author Posted September 28, 2007 It is a wonderful script for sure. A tighter radius would let me get those small corners and not have the script fail and mess up the variables as much. I'm used to the bugs too Styk, but we must not stop on the road to perfection. If the radius is 50%, maybe try making is 35% or 40%. Maybe I'll look in the LSP and see if I can find it. Peace Quote
ASMI Posted October 3, 2007 Posted October 3, 2007 >Vigilante Excuse me for long waiting. It seems for you. WPIPE.LSP Quote
Vigilante Posted October 8, 2007 Author Posted October 8, 2007 Beautiful, the radius is MUCH better now! However, the width command is broken, it does make transitions right. Just draw a 12" duct and change the transition and you'll see. Thanks a ton, Peace Quote
CAB Posted October 8, 2007 Posted October 8, 2007 Flex Duct anyone? http://www.theswamp.org/index.php?topic=19272.0 Quote
Vigilante Posted October 9, 2007 Author Posted October 9, 2007 I ran your script there CAB but I can't figure out what it does. I see that if a click a circular object or arc, it spits out this spider web of lines. What is it for and how does it work? Quote
CAB Posted October 9, 2007 Posted October 9, 2007 Very strange results, unless I am misunderstanding you. The circle was just folly on my part & no real world application. Or perhaps you are not accustom to seeing Flex Duct represented in that way. Well for me it creates the flex duct that follows the center line selected. If the lisp doesn't create objects that resemble the picture in that post, could you attach the test DWG file with the center line object in it so that I might test it? What version of Autocad are you running? The typical objects that would be used for center lines would be Lines, Plines, arcs, & Splines. Quote
CAB Posted October 9, 2007 Posted October 9, 2007 Another problem might be that the default (16 units) duct diameter might be too large for your centerline. What happens when you change the Diameter (enter D at the prompt) to say two? Are you using metric or feet or inches as your units? Quote
CAB Posted October 9, 2007 Posted October 9, 2007 Updated code to display the duct diameter in the prompt and added a warning & option to skip if the duct will overlap itself. This occurs when the turns are too tight. Quote
Vigilante Posted November 15, 2007 Author Posted November 15, 2007 Hello. The latest version worked great for smaller radius. But somehow the transitions got tweaked. Check this video out: http://www.megafileupload.com/en/file/24064/Messed-up-avi.html Any idea about that? Thanks! Quote
Ronso Posted November 16, 2007 Posted November 16, 2007 >ASMI, I had the same problem and tweaked the code..., Hope you don't mind the fix >Vigilante, this should fix the problem WPIPE[1].LSP Quote
Vigilante Posted November 20, 2007 Author Posted November 20, 2007 Ya that is great! I did a file compare on the old version and the new and couldn't find any changes that would have caused that, I have no idea how you fixed it. Anyway, now if only this error could be trapped and not screw up my DS and fillmode settings. http://www.megafileupload.com/en/file/24723/Error-avi.html Peace Quote
ASMI Posted November 21, 2007 Posted November 21, 2007 Excuse me. I have been very busy and long time did not to participate the forum though sometimes looked through messages. I shall try to find time of days off and to correct bugs. While good-bye, very much busy Quote
Ronso Posted November 21, 2007 Posted November 21, 2007 Updated *error* function in this one. WPIPE[2].LSP Quote
Vigilante Posted November 21, 2007 Author Posted November 21, 2007 That looks good Ronso, at least it won't screw up my variables. This is really one fine piece of code right here, freaking brilliant! A heartfelt thanks to all who continue to work on it! 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.