<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Sorry, I just did a wrong statement, the distance tolerance is important if you have a curved edge which changes curvature, like BezierCurve or spline curve. </span></div><div></div><div> </div><div>Jane Hu</div><div><br><br></div><div>Asst. Researcher<br>Dept. of Engineering Physics<br>UW @ Madison</div><br><div><br></div><div>"And we know that for those who love God, that is, for those who are called according to his purpose, all things are working together for good." (Romans 8:28)</div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On , Jiangtao Hu <jiangtao_ma@yahoo.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv8786067845"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div><span>Yes, the interface before was just one tolerance, which in OCC is interpreted as angle tolerance, cubit didn't give a good documentation. Yet, get_graphics is to get system faceting of geometry, not a user set mesh. So Angle tolerance is more important than distance tolerance for curved edges and less important than distance tolerance for straight large differed edge lengths. </span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent;
font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I don't have a cgm on cubit12.2 build, can Andy double check for me if the change of this tolerance will get different facet data? If not, then the system is not using this option; or can you change the tolerance to 5 for a circular edge to see if you get 73 points; or change the tolerance to 1/36 for the same edge to see if you get 73 points. I wouldn't think it uses the tolerance for a distance, but I could be wrong.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size:
13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Now in cubit13.1, it added more accuracy to several functions, including reflect and
scale, and get_graphics for edge has 2 tolerances and an edge_length option:</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="background-color:transparent;"><span>angle_tolerance, <br clear="none"></span></div><div style="background-color:transparent;"><span>distance_tolerance,<br clear="none"></span></div><div style="background-color:transparent;"><span>max_edge_length<br clear="none"></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span><br clear="none"></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span>while in OCC, the edge_length option is not used, since this function is not a mesh function, rather a graphics call. There is no corresponse if this argument get changed. </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span><br clear="none"></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span>If distance tolerance is needed as you have large differences in edge lengths, I can add it separately for cubit13.1 and above. Please let me know.</span></div><div></div><div> </div><div>Jane </div><div><br clear="none"><br clear="none"></div><div>Asst.
Researcher<br clear="none">Dept. of Engineering Physics<br clear="none">UW @ Madison</div><br clear="none"><div><br clear="none"></div><div>"And we know
that for those who love God, that is, for those who are called according to his purpose, all things are working together for good." (Romans 8:28)</div><div class="yiv8786067845yqt0733667289" id="yiv8786067845yqt78215"><div class="yiv8786067845yahoo_quoted" style="display: block;"> <br clear="none"> <br clear="none"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, December 3, 2013 11:24 AM, Paul Wilson <wilsonp@engr.wisc.edu> wrote:<br clear="none"> </font> </div> <div class="yiv8786067845y_msg_container">Hi Jane<br clear="none"><br clear="none">Did this interface change? In CGM? In ACIS?<br clear="none"><br clear="none">Since faceting tolerance is the primary parameter we use, it probably needs
to be still passed into the get_graphics method, perhaps as well as a default norm_tol.<br clear="none"><br clear="none">Paul<br clear="none"><br clear="none">-- --<br clear="none">Professor, Nuclear Engineering<br clear="none">Faculty Director, Advanced Computing Infrastructure<br clear="none">UW-Madison<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:wilsonp@engr.wisc.edu" target="_blank" href="mailto:wilsonp@engr.wisc.edu">wilsonp@engr.wisc.edu</a>, 608.263.0807<br clear="none">Sent from my iPhone<br clear="none"><div class="yiv8786067845yqt6604769449" id="yiv8786067845yqtfd64219"><br clear="none">On Dec 3, 2013, at 11:17, <a rel="nofollow" shape="rect" ymailto="mailto:commits-noreply@bitbucket.org" target="_blank" href="mailto:commits-noreply@bitbucket.org">commits-noreply@bitbucket.org</a> wrote:<br clear="none"><br clear="none">> 1 new commit in MOAB:<br clear="none">> <br clear="none">> <a rel="nofollow" shape="rect"
target="_blank" href="https://bitbucket.org/fathomteam/moab/commits/119198dc4d96/">https://bitbucket.org/fathomteam/moab/commits/119198dc4d96/</a><br clear="none">> Changeset: 119198dc4d96<br clear="none">> Branch:
master<br clear="none">> User: janehu<br clear="none">> Date: 2013-12-03 18:15:13<br clear="none">> Summary: Fixed the bug Andy Davis reported for getting graphics for edges, the first tol is angle tolerance, in degree.<br clear="none">> <br clear="none">> Affected #: 1 file<br clear="none">> <br clear="none">> diff --git a/src/io/ReadCGM.cpp b/src/io/ReadCGM.cpp<br clear="none">> index 13b64fb..9b6ba09 100644<br clear="none">> --- a/src/io/ReadCGM.cpp<br clear="none">> +++ b/src/io/ReadCGM.cpp<br clear="none">> @@ -474,7 +474,7 @@ ErrorCode ReadCGM::load_file(const char *cgm_file_name,<br clear="none">> RefEdge* edge = dynamic_cast<RefEdge*>(ci->first);<br clear="none">> Curve* curve = edge->get_curve_ptr();<br clear="none">> data.clean_out();<br clear="none">> -
edge->get_graphics( data, faceting_tol);<br clear="none">> + edge->get_graphics( data, norm_tol);<br clear="none">> if (CUBIT_SUCCESS != s)<br clear="none">> return MB_FAILURE;<br clear="none">> <br clear="none">> Repository URL: <a rel="nofollow" shape="rect" target="_blank" href="https://bitbucket.org/fathomteam/moab/">https://bitbucket.org/fathomteam/moab/</a><br clear="none">> <br clear="none">> --<br clear="none">> <br clear="none">> This is a commit notification from bitbucket.org. You are receiving<br clear="none">> this because you have the service enabled, addressing the recipient of<br clear="none">> this email.<br clear="none">> </div><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div><br><br></div> </div> </div> </div> </div></body></html>