![]() |
【转帖】oddbarc use
oddbarc use
oddbarc use can some tell me how to use oddbarc ? i have 3 points in 3d describing very simply an arc of circle. i can perfectly know the xdir, ydir, zdir and the start angle and end angle in this local system. how can i transform these data to a correct oddbarc ? the tranformation in center + startangle + endangle + normal is never correct when i try with my data. has someone a robust algorithm to get good result ? thanks for any help. philippe my own answer is : set the arc center point in wcs (world coordinate) set angle don't set the normal do a transformby from wcs to local system by using odgematrix3d::setcoorsystem(location, xdir,ydir,zdir) then (dbarc)arc->transformby(matrix) can't you use the version of odgecircarc3d::set(), which creates an arc of 3 points? regards chudomir this question is correct but ... i cant' use 3d arc because the file generated will be used by other software that are not full acad compliant. a lot of them read only 2d simple shapes. |
所有的时间均为北京时间。 现在的时间是 11:10 PM. |