Thanks, James. I&#39;ve just checked the two files in.<br><br>Jane<br><br><div class="gmail_quote">On Mon, Jun 6, 2011 at 2:08 PM, James Porter <span dir="ltr">&lt;<a href="mailto:jvporter@wisc.edu">jvporter@wisc.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">So I finally figured out (part of?) what&#39;s going on with the distcheck<br>
errors. There are some missing files that never got added to this<br>
commit: Line_1.brep and Line_2.brep.<br>
<br>
There may be other errors of course, so adding those might not fix<br>
everything...<br>
<div><div></div><div class="h5"><br>
On Thu, 2011-05-26 at 13:29 -0500, <a href="mailto:jiangtao_ma@yahoo.com">jiangtao_ma@yahoo.com</a> wrote:<br>
&gt; Author: janehu<br>
&gt; Date: 2011-05-26 13:29:34 -0500 (Thu, 26 May 2011)<br>
&gt; New Revision: 4884<br>
&gt;<br>
&gt; Modified:<br>
&gt;    cgm/trunk/geom/OCC/OCCModifyEngine.cpp<br>
&gt;    cgm/trunk/geom/OCC/OCCSurface.cpp<br>
&gt;    cgm/trunk/test/Makefile.am<br>
&gt;    cgm/trunk/test/modify.cpp<br>
&gt; Log:<br>
&gt; Made changes regarding webcut using sweep curve method that is a possible bug that Yu Wenhui asked. Passed make distcheck. Testcase is in modify.cpp<br>
&gt;<br>
&gt; Modified: cgm/trunk/geom/OCC/OCCModifyEngine.cpp<br>
&gt; ===================================================================<br>
&gt; --- cgm/trunk/geom/OCC/OCCModifyEngine.cpp    2011-05-26 13:49:07 UTC (rev 4883)<br>
&gt; +++ cgm/trunk/geom/OCC/OCCModifyEngine.cpp    2011-05-26 18:29:34 UTC (rev 4884)<br>
&gt; @@ -4442,19 +4442,17 @@<br>
&gt;            }<br>
&gt;          }<br>
&gt;        }<br>
&gt; -      else //sheet body<br>
&gt; -      {<br>
&gt; -        TopoDS_Face* topoface = occ_surface-&gt;get_TopoDS_Face();<br>
&gt; -        TopAbs_Orientation ori = topoface-&gt;Orientation();<br>
&gt; -        topoface-&gt;Orientation(ori == TopAbs_FORWARD ? TopAbs_REVERSED :<br>
&gt; +    }<br>
&gt; +    if(!occ_shell || occ_shell-&gt;is_sheet()) //sheet body<br>
&gt; +    {<br>
&gt; +      TopoDS_Face* topoface = occ_surface-&gt;get_TopoDS_Face();<br>
&gt; +      TopAbs_Orientation ori = topoface-&gt;Orientation();<br>
&gt; +      topoface-&gt;Orientation(ori == TopAbs_FORWARD ? TopAbs_REVERSED :<br>
&gt;                                                      TopAbs_FORWARD);<br>
&gt; -        occ_surface-&gt;set_TopoDS_Face(*topoface);<br>
&gt; -        surface_list.append(occ_surface);<br>
&gt; -      }<br>
&gt; +      occ_surface-&gt;set_TopoDS_Face(*topoface);<br>
&gt; +      surface_list.append(occ_surface);<br>
&gt;        PRINT_INFO( &quot;Modified volume\n&quot; );<br>
&gt;      }<br>
&gt; -    else<br>
&gt; -      PRINT_WARNING( &quot;Volume was not modified\n&quot; );<br>
&gt;    }<br>
&gt;    face_list = surface_list;<br>
&gt;    return CUBIT_SUCCESS;<br>
&gt; @@ -4639,22 +4637,12 @@<br>
&gt;  CubitStatus OCCModifyEngine::get_sweepable_toposhape(OCCCurve*&amp; curve,<br>
&gt;                                                TopoDS_Shape&amp; toposhape)const<br>
&gt;  {<br>
&gt; -  DLIList&lt;OCCLoop*&gt; loops;<br>
&gt; -  loops =  curve-&gt;loops();<br>
&gt; -  if( loops.size()) //not a free curve<br>
&gt; -  {<br>
&gt; -    //copy the curve<br>
&gt; -    Curve* c_curve = make_Curve(curve);<br>
&gt; -    if(c_curve)<br>
&gt; -     curve = CAST_TO(c_curve, OCCCurve);<br>
&gt; -    else<br>
&gt; -    {<br>
&gt; -      PRINT_ERROR(&quot;Can&#39;t copy the curve for sweep.\n&quot;);<br>
&gt; -      return CUBIT_FAILURE;<br>
&gt; -    }<br>
&gt; -  }<br>
&gt;    TopoDS_Edge *edge = curve-&gt;get_TopoDS_Edge( );<br>
<br>
<br>
</div></div></blockquote></div><br>