[cgma-dev] Faceting tolerances in OCC

Tim Tautges tautges at mcs.anl.gov
Thu Dec 8 12:33:36 CST 2011


Jane, could you check the implementation of this in OCC?

Steve, in general, users should beware of this tolerance setting for all engines, since it's commonly taken as "advice" 
to the engine.  I'm not sure it's appropriate for a warning message, even in OCC.  It should definitely be documented, 
though, if it's hardwired to be ignored.  That should probably go into the release notes.

- tim

On 12/08/2011 11:41 AM, Steve Jackson wrote:
> I am interested in two functions in CGM's OCCQueryEngine: get_graphics( Surface* ... ), and get_graphics( Curve* ... ).  Both these functions take faceting tolerances as arguments, and then silently ignore them.
>
> This becomes confusing for users who convert CAD geometries to Moab meshes (e.g. using dag-mcnp5, dagmc_preproc, or mbconvert).  When OCC is the CGM backend for a client of Moab's ReadCGM, all faceting tolerances are silently ignored.  This behavior should be documented, at minimum; it may also be helpful if ReadCGM issues a warning that faceting tolerances are being ignored for an OCC-based backend.  The ideal would be a fix to the OCCQueryEngine to support the faceting tolerance parameters.
> ~S

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
  phone (gvoice): (608) 354-1459      1500 Engineering Dr.
             fax: (608) 263-4499      Madison, WI 53706



More information about the cgma-dev mailing list