TheSwamp

Code Red => VB(A) => Topic started by: Twitch on January 17, 2005, 12:28:37 AM

Title: Super Flatten
Post by: Twitch on January 17, 2005, 12:28:37 AM
Lately, the company I work for has been getting customer drawings in with random Z values.  Seeing how we try to work in 2D, this is causing no end of grief.

So, I've taken it upon myself to conjure up a Super Flatten routine.  Has anyone here tried this in the past?  My main concerns include entities that are not planar to the WCS and 3D objects.  I'll post updates as I work through it, any feedback would be greatly apperciated.

Here's the first brain teaser for you digerati: If I am viewing an ellipse that is on a custom UCS from the WCS, how can I modify the Ellipse to be on the WCS but look the way it did in the UCS?   :shock:   Please, no answers with calculus...
Title: Super Flatten
Post by: whdjr on January 21, 2005, 11:41:37 AM
I don't know VBA, but it seems you could flatten the ellipse to "its" ucs and then rotate it parallel to the world ucs and then flatten it to the world ucs.  Sounds simple, but I can't do VBA just lisp.