
Wed, 06/20/2012 - 22:04
Forums:
Hi, This may be a rather simple issue, but I haven't found the solution anywhere. I'm drawing simple objects such as solid spheres or cylinders. I have set the number of iso lines to 0 because I want to show only the solid object. However, I am still getting lines -- for instance, in the case of a sphere, an ugly half-circle appears from north to south. I realised after some investigation that it's not an iso line but a seam line instead. How can I turn those off so that they don't show up? Thanks, Stig
Thu, 06/21/2012 - 12:41
Never mind:
Context()->DefaultDrawer()->SetUnFreeBoundaryDraw(false);
Tue, 03/01/2016 - 02:09
I use OCC 6.7.1 and I tried the above.
But it doesn't work. the uv iso display is on.
I searched about this.
The uv iso display set by the line below.
Handle(Prs3d_IsoAspect) hia = new Prs3d_IsoAspect(clr, Aspect_TOL_SOLID, 2.0, 1);
hia->SetNumber(0); // 1 is used when i need to see the iso.
hAISPrs->GetAIS()->Attributes()->SetUIsoAspect(hia);
hAISPrs->GetAIS()->Attributes()->SetVIsoAspect(hia);
Thu, 08/23/2018 - 18:59
the display
Giovanni