[cgma-dev] [MOAB-dev] Faceting tolerances in OCC

Jiangtao Hu jiangtao_ma at yahoo.com
Thu Dec 8 12:39:45 CST 2011


Hi, Steve:

Thank you for reporting this bug. It's been fixed now. However, OCC doesn't consider max_edge_length in get graphics function, users will be given a warning about it if they give a criteria for this argument.

Thanks.

Jane

--- On Thu, 12/8/11, Steve Jackson <sjackson at cae.wisc.edu> wrote:

From: Steve Jackson <sjackson at cae.wisc.edu>
Subject: [MOAB-dev] Faceting tolerances in OCC
To: cgma-dev at mcs.anl.gov, moab-dev at mcs.anl.gov
Date: Thursday, December 8, 2011, 12:41 PM

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20111208/ee3ec058/attachment.htm>


More information about the cgma-dev mailing list