Hi, Boyd:<br><br>I'll verify the problem and let you know.<br><br>Jane<br><br><div class="gmail_quote">On Mon, Dec 19, 2011 at 3:07 PM, Boyd Tidwell <span dir="ltr"><<a href="mailto:bktidwell373@gmail.com">bktidwell373@gmail.com</a>></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">First, thanks to Tim and Jane for your responses and help.<br>
<br>
Second, I have run into a problem with the "Create Curve" command.<br>
Most forms seem to work except one (not counting helix that is not<br>
implemented). Here's the scoop:<br>
<br>
create vertex 0 0 0<br>
create vertex 1 0 0<br>
create vertex 1 1 0<br>
create vertex 0 1 0<br>
create curve 2 3 4<br>
<br>
The create curve command hits an exception in<br>
<br>
Curve* OCCModifyEngine::make_Curve( GeometryType curve_type,<br>
TBPoint<br>
const* point1_ptr,<br>
TBPoint<br>
const* point2_ptr,<br>
<br>
CubitVector const* intermediate_point_ptr,<br>
CubitSense<br>
sense) const<br>
<br>
offending line is 639 (in my code) which is:<br>
<br>
TopoDS_Edge new_edge = BRepBuilderAPI_MakeEdge(curve_ptr,<br>
*vt1, *vt2);<br>
<br>
debug reveals at the time of the call vt1 is a pointer to something<br>
with an Id of 0. When I play with the executing code to force it down<br>
the path where vt1 actually points to vertex 2 it still fails.<br>
Putting "circular" on the end of the command gives proper results<br>
but, of course, it's a different curve and probably goes down a<br>
different path.<br>
<br>
Yet, the command "create curve 2 3 4" with the same vertices works just fine.<br>
<br>
Thanks in advance for looking into this one.<br>
<br>
Take Care,<br>
<br>
- Boyd<br>
</blockquote></div><br>