Trying to get a fillet generated between 2 lines with a common vertex, The returned FilletDetail <bvector> always has a size of zero:
// create my "fillet" arc CurveVectorPtr previousCurve = ICurvePathQuery::ElementToCurveVector(eeh1); CurveVectorPtr currentCurve = ICurvePathQuery::ElementToCurveVector(eeh2); ICurvePrimitivePtr &previousSegment = previousCurve->front(); ICurvePrimitivePtr ¤tSegment = previousCurve->front(); bvector<CurveCurve::FilletDetail> arcs; CurveCurve::CollectFilletArcs(*previousSegment,*currentSegment,SRS::SRSConvert::InchToUOR(1.5), false, arcs); wprintf(L"%d arcs \n",arcs.size());
I have also used 'true' to allow the extension of the lines, but still, it seems no arcs (fillets) are created...
Bruce
Bruce Reeves SRNS said:Trying to get a fillet
Try this...
ICurvePrimitivePtr& previousSegment = previousCurve->front(); ICurvePrimitivePtr& currentSegment = currentCurve->front();
Regards, Jon Summers LA Solutions