几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】creating a curve-fit polyline (http://www.dimcax.com/hust/showthread.php?t=15569)

yang686526 2009-05-04 06:45 PM

【转帖】creating a curve-fit polyline
 
creating a curve-fit polyline
creating a curve-fit polyline
when i create a oddb2dpolyline as a simple polyline, and then call the curvefit() function on the polyline to calculate the curve-fit vertices and insert them into the polyline, the vertices calculated, and the bulge values for all the vertices are completely different to those calculated by autocad. currently i am creating it as i would a simple polyline (no bulges or smoothing etc.), then calling curvefit(). is there some flag that must be set (other than setpolytype(), which sets the type as curve fit)?
curvefit() should set the flags itself.
the best place for reporting bugs is
sample is required to reproduce the problem: a file with oddb2dpolyline entity curvefit() for which works incorrectly.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 10:47 PM.