几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】oddb2dpolylinesetpolytype90 (http://www.dimcax.com/hust/showthread.php?t=17455)

yang686526 2009-05-06 07:18 PM

【转帖】oddb2dpolylinesetpolytype90
 
oddb2dpolyline::setpolytype()?
oddb2dpolyline::setpolytype()?
if you create a 2dpolyline with dwgdirect (1.13.05) and set it's type to k2dfitcurvepoly, is dwgdirect supposed to actually make it curve fit like autocad does? because when i open the file in autocad, the polyline i created is still composed of straight line segments. autocad shows in polyline's properties that it is curve fitted but in reality it isn't. when i change the polyline's fit/smooth-property in autocad to simple and then back to fit curve, i get the result i wanted.
i can provide the code i use to generate the polyline if needed.
regards,
kimmok
curve fitting is not implemented in dd yet. (autocad adds curve fit vertices and sets bulges in this case)
sergey slezkin


所有的时间均为北京时间。 现在的时间是 06:43 AM.