Jump to content

From autolisp to icon


rengised

Recommended Posts

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • rengised

    11

  • Lee Mac

    11

  • alanjt

    6

  • lpseifert

    2

Top Posters In This Topic

Posted Images

Same method as I described?

Wow, that's sad. I purposely didn't look at your code so I wouldn't be influenced and I still did the same thing. Seemed like the easiest way to get the individual intersections. The only difference was I used a lambda expression instead of defining a separate subroutine. I feel rather uncreative.

Link to comment
Share on other sites

Wow, that's sad. I purposely didn't look at your code so I wouldn't be influenced and I still did the same thing. Seemed like the easiest way to get the individual intersections. The only difference was I used a lambda expression instead of defining a separate subroutine. I feel rather uncreative.

 

Yeah, I was just curious - it does seem like the easiest way to approach the problem, I suppose you could avoid the break by creating the lines manually (feasible I suppose as we are dealing only with lines), but tbh break just seems easier...

Link to comment
Share on other sites

Yeah, I was just curious - it does seem like the easiest way to approach the problem, I suppose you could avoid the break by creating the lines manually (feasible I suppose as we are dealing only with lines), but tbh break just seems easier...
Yeah, I thought about that, but then you'd have to delete the old lines and get all the necessary data from them. It just wasn't worth it. I suppose you could copy each line, then entmod accordingly, but as you said, Break was the easiest route.

Did you remember to trans your points to match UCS?

Link to comment
Share on other sites

You've got a thing about that lol... yep 0 -> 1 :)

LoL

I deal with a lot of rotated UCS, so I have to always remember to trans my (getpoint). It's funky with command usage, because you have to remember to trans your WCS to UCS.

Link to comment
Share on other sites

Nice idea! - that is probably a lot more robust than using a LISP...

Funny how doing so much LISP programming rots one's brain. I can't believe I didn't suggest this earlier. :roll:

Link to comment
Share on other sites

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...