t.freriks Posted April 24, 2008 Share Posted April 24, 2008 Hey there! Maybe one of you can help me with this, I'va been searching for three days now, but cannot figure out how I can do this. I am sure it should be possible. I've tested several (multi- or double-) 'offset' routines, but none of them does what i need. I need to offset (or you can call it outline, or add a boundary) hundreds of polylines, all with the same distance (lets say 25 units) but fully around the original polyline. See for example the image below. If The poliline is closed, it shoud result in 2 offset lines, an inner- and an outer-offset line. What i need it for? I need to make a shapefile of the 'area' 25 meters (or another variable units like 15 meters) around a certain trace of cables. Anybody know which lisp to use for this? Thomas The Netherlands PS, anybody like Acad 2009? I don't! way too slow... Quote Link to comment Share on other sites More sharing options...
NBC Posted April 24, 2008 Share Posted April 24, 2008 a job for Multi Line ? Quote Link to comment Share on other sites More sharing options...
Guest Alan Cullen Posted April 24, 2008 Share Posted April 24, 2008 Definitely looks like it. I would suggest going to help and exploring multiline. I can't remember if too many threads exist that discussed this issue. Quote Link to comment Share on other sites More sharing options...
t.freriks Posted April 24, 2008 Author Share Posted April 24, 2008 I would suggest going to help and exploring multiline. I am sorry, but multiline is not an option: 1) I have to redraw all of the existing (many hundreds) of very complicated and long polylines 2) With my software i cannot create the correct shapefile of multilines... anybody else? Thomas Quote Link to comment Share on other sites More sharing options...
GhostRider Posted April 24, 2008 Share Posted April 24, 2008 Here's a couple of lisps that offset to both sides, that might help, you'd have to close the ends I'm sure, or could be edited for your use. http://www.cadtutor.net/forum/showthread.php?t=20971 Quote Link to comment Share on other sites More sharing options...
VovKa Posted April 24, 2008 Share Posted April 24, 2008 t.freriks, its' called buffer and can easily be done with Autodesk Map Quote Link to comment Share on other sites More sharing options...
t.freriks Posted April 24, 2008 Author Share Posted April 24, 2008 t.freriks, its' called buffer and can easily be done with Autodesk Map Nice to know... but I don't have that. The multi-offset routines i already tried, but still it would take me a week to close all the ends... Must be a too big a problem I'm afraid... I don't know enough about lisp to write it myself... Quote Link to comment Share on other sites More sharing options...
ASMI Posted April 24, 2008 Share Posted April 24, 2008 Something like this http://www.cadtutor.net/forum/showthread.php?t=10787&highlight=offset ? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 28, 2008 Share Posted April 28, 2008 The old autocad about version 12 had a multiline lisp and I am sure it had the option cap Found it page 23 to be exact and it was called "Dline" Quote Link to comment Share on other sites More sharing options...
t.freriks Posted April 28, 2008 Author Share Posted April 28, 2008 Found it page 23 to be exact and it was called "Dline" 'Dline' doesnt work in Autocad 2007 anymore... The script ASMI talked about 'almost' does the job: Something like this http://www.cadtutor.net/forum/showthread.php?t=10787&highlight=offset ? But I am afraid my (many) polylines are so complex that this script runs on error all the time. It only works if I 'break' the polylines in many more short ones... (Means lots and lots of work) And still I would have to 'cap' them manyally... No one got a full working script they are aware off? Thomas Quote Link to comment Share on other sites More sharing options...
lpseifert Posted April 28, 2008 Share Posted April 28, 2008 'Dline' doesnt work in Autocad 2007 anymore... Attached is Adesk's Dline from 1994, doesn't give rounded end caps though. DLINE.zip Quote Link to comment Share on other sites More sharing options...
t.freriks Posted September 12, 2008 Author Share Posted September 12, 2008 couldn't get this to work... anyone? Thomas Quote Link to comment Share on other sites More sharing options...
lemacs Posted September 24, 2009 Share Posted September 24, 2009 Try this:? OC.LSP 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.