Super complicated lisp help

Super complicated lisp help

DC-MWA
Collaborator Collaborator
998 Views
3 Replies
Message 1 of 4

Super complicated lisp help

DC-MWA
Collaborator
Collaborator

Hello,

I have been trying to get a handrail routine to work for several days. I even tried "utilizing" parts from STAIRS.lsp by Mr. Kent Cooper, February 2008. I keep coming with random errors, strange results. Then when I realized I needed to do more than just straight runs... This thing is way over my head.

I'm wondering if someone has tried to do the same or something similar?

Or, I am willing to pay for someone's time to get this figured out.

Thursday after christmas I have a big meeting and it sure would be nice to add this to my showcase of tools I've been working on.

As always, I appreciate any assistance received.

See image below to help explain my goal.

HANDRAIL LISP.PNG

0 Likes
999 Views
3 Replies
Replies (3)
Message 2 of 4

marko_ribar
Advisor
Advisor

MLINE entity can produce almost exactly the result you showed... Experiment with MLSTYLE command before - you have to set offset on 1 side only... Then when you use MLINE command you have to pick points in correct order - for ex. if inside railway is like on the picture then for outside one order of picking points should be opposite than in your picture and if outside is correct then inside should be picked opposite direction... For anchoring rail to wall you have to figure something different than in your pictures - maybe just small rectangles connecting wall and rail - this could be automated too, but maybe not even that if you are precise and know distance between wall and rail, so just few more steps than just single click - RECTANGLE - pick point on wall (nearest OSNAP) and "D" - dimension option - you enter width and length and final click on side... Still automation would be more efficient but you'll have to think it more over...

 

HTH., M.R.

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes
Message 3 of 4

Moshe-A
Mentor
Mentor

@DC-MWA hi,

 

i recommend you to explore the (vla-offset) method cause the if the offset distance is negative the offset would be inside and if it positive it would be outside  (i never tried it on open polyline so you tell us Smiley LOL)

i do not recommend using mline cause the options for modifing it is very poor.

 

moshe

 

 

 

 

0 Likes
Message 4 of 4

marko_ribar
Advisor
Advisor

Ha... You can always explode MLINE and join it into PLINE... What kind of modifying are you talking about with this task?

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes