Jump to content

Recommended Posts

Posted

Hi to all experts,

 

Need to get a feedback on this lisp i found that draws pipes ,elbows and tee's.

 

The problem i have is that once the lisp loaded in a new drawing, i get an error message that the center_lines when running it is missing therefore can it be fixed and get the lisp to create the green layer default cad center line created automatically.

 

Thank you for for your precious help and posting back the corrected version.

 

Best

 

R

Posted

In addition to being very poorly written, there are functions missing ( layercenter_lines layer0 layercenter )

 

The pipedata appears to be only valuable snippet and it needs to be rewritten and verified.

 

I would think that there are much better 2d pipe routines out there.

 

Unless that is you want to invest the energy into the rewrite. -David

Posted (edited)

Robp,

 

Here it should work more or less.

 

I went the lazy way and replace the call to the missing routine

with a (setvar 'CLAYER "Center Lines") or a (setvar 'CLAYER "0")

 

I agree with David that there are much better routine out there.

 

There is one here on Afralisp DDPIPE by Kenny Ramage

However it is a VLX and is for metric pipe.

 

Also this, as an early work by Lee Mac PIPE & FLANGE DRAUGHTSMAN

 

At least you'll be able to run it and make your own opinion.

 

ymg

pipe.lsp

Edited by ymg3

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...