Re: [brlcad-devel] rtedge output (vs. old lgt) and possible changes or additions
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Christopher S. M. <br...@ma...> - 2012-01-31 04:26:04
|
On Jan 30, 2012, at 9:53 PM, Tom Browder wrote: >> Assuming you don't run the viewsize command, it already is centered >> on the bounding box. The issue, I believe, is that it aims for displaying > > On visiting another TGM I see that doesn't appear to be true UNLESS > you're talking about the bounding box of all primitives comprising the > view. That's exactly what happens, it's the bounding box of all primitives. It behaves that way so that the entire wireframe draws entirely in-view for mged. Of course, for the rt* tools, that's lame. Begs for another option to autoview, perhaps to only consider union and intersection primitives. The real/robust solution -- which we're not yet capable of calculating -- requires converting all primitives to brep/nurbs (done), evaluating the boolean intersections for all surfaces (not done), then extracting an exact bounding box (done). Cheers! Sean |