Door(Single) Lisp 2D for plan

Door(Single) Lisp 2D for plan

DC-MWA
Collaborator Collaborator
1,641 Views
9 Replies
Message 1 of 10

Door(Single) Lisp 2D for plan

DC-MWA
Collaborator
Collaborator

Hello,

I am trying to develop a wall section opening routine. I used to have a 2d door plan routine that was similar that i was going to start with but I can't seem to locate the file.

I'm hoping to pick one side, the opposite side then the length of the opening and have it break the lines, draw the cut in lines on the same layer.

I have attached a drawing showing what I'm trying to acheive. Any assistance would be greatly appreciated.

Capture.JPG

0 Likes
1,642 Views
9 Replies
Replies (9)
Message 2 of 10

ronjonp
Advisor
Advisor

Have you thought about making a dynamic block for this? You could use a mask to hide the lines you're trimming out.

0 Likes
Message 3 of 10

DC-MWA
Collaborator
Collaborator

I end up doing forever battle with draworder to keep macking correct.

0 Likes
Message 4 of 10

ronjonp
Advisor
Advisor

Something like this?

image.png

0 Likes
Message 5 of 10

DC-MWA
Collaborator
Collaborator

Thats cool Although I've had trouble nursing staff with dynamic blocks and masks. I sued LT for a while and thats how I did my floor plan dorrs and windows. It was a constant battle.

Thank you though for  your time and input.

0 Likes
Message 6 of 10

pendean
Community Legend
Community Legend
Are you talking about DLINE command that is built into LT? That exists as a lisp, try a web search for that classic, does what you want if I understood it correctly.


0 Likes
Message 7 of 10

Kent1Cooper
Consultant
Consultant

@DC-MWA wrote:

.... I used to have a 2d door plan routine that was similar that i was going to start with but I can't seem to locate the file. ....


 

Something like that could be located, if not necessarily the same one you had before, for you to start with.  Perhaps something like >this< ?  [I haven't tried it.]  Put something like "door opening" into the Search window here for a bunch more possibilities.

Kent Cooper, AIA
0 Likes
Message 8 of 10

DC-MWA
Collaborator
Collaborator

I pulled together something that gets me close. It cuts the wall and caps the ends using the same layer as the wall being cut.

I will continue to work on it.

I have attached the file. Input and assistance is always appreciated.

0 Likes
Message 9 of 10

Kent1Cooper
Consultant
Consultant

One suggestion:  Replace this:

 

   (setq opwidth (getint "\nEnter Opening size <in inches>? :"))

 

with this:

 

   (setq opwidth (getdist 1st_pt "\nEnter Opening size: "))

 

That will allow fractional or decimal other-than-whole-number sizes, and  you will be able to either  type in a value, including in feet-and-inches format [so I omitted the <in inches> qualifier] and/or with a fraction, or pick on-screen in relation to the first point for the other side, if you have some reference location to use for that.

Kent Cooper, AIA
0 Likes
Message 10 of 10

DC-MWA
Collaborator
Collaborator

Kent my friend...

This is awesome! I have learned so much from you.

Thank you so much. You have helped me develop a super fast 2d drafting protocol in our office that is so fast and efficient... amazing!

After wrestling with BIM and 3d software and it's shortcomings. The need to babysit and find work arounds, only to turn around and export back to vanilla dwg or dxf for consultants seems crazy... I finally decided to take it back to a more simple time. I dug out the old lisp files from the 90's and have spent the last few months developing our system. It's old school, but super fast. The kids don't love it, but I find that contractors and builders do not care how the drawings are developed, they only want thorough, code compliant, ada compliant plans that get the project built with as few RFI's as possible. The "kids" (under 40) in our office call me the "flat lander"...

Sketchup for models, 2d autocad for plans. Can't beat it!!

To you and everybody in these forums who have helped nurse me along... I am forever greatful!