2D (ortho) editing


Re: 2D (ortho) editing
#14
Roland Melkert Wrote:Actually proper auto scaling (to fit) is a tough thing to implement, I redid my scaling code in LDCad about 3 times now and it's still not perfect (as a result of boundingbox deadspace ). But I agree scaling should only be upon request or after the first load.

Zoom to Fit in LDView is incredibly complicated. And the code that does the heavy math actually came from Lars Hassing. It's also relatively slow. (On a big model, there is a noticeable delay between the time you do Zoom to Fit, and the time it actually finishes.) But LDView uses all part geometry for its zoom to fit, not just part bounding boxes, and just using the bounding boxes would speed it up dramatically. For most parts, the bounding box is "close enough" to not have a bad negative impact on a zoom to fit. I think doing zoom to fit on an orthographic 3D view would be a lot easier.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
2D (ortho) editing - by Roland Melkert - 2012-05-03, 20:19
Re: 2D (ortho) editing - by Tim Gould - 2012-05-03, 21:30
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-03, 22:09
Re: 2D (ortho) editing - by Tim Gould - 2012-05-04, 0:52
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 16:20
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-04, 18:04
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 18:14
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-04, 18:23
Re: 2D (ortho) editing - by Willy Tschager - 2012-05-04, 12:08
Re: 2D (ortho) editing - by Philippe Hurbain - 2012-05-04, 12:23
Re: 2D (ortho) editing - by Steffen - 2012-05-04, 15:55
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 16:05
Re: 2D (ortho) editing - by Steffen - 2012-05-04, 16:09
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 16:38
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-04, 18:10
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 18:27
Re: 2D (ortho) editing - by Tim Gould - 2012-05-04, 23:57
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-05, 17:36
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-06, 16:43
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-12, 20:06

Forum Jump:


Users browsing this thread: 3 Guest(s)