![]() |
【转帖】urning A Drawing Right Side Up
turning a drawing right side up
turning a drawing right side up i am trying to take the points that i get from the various entities in a database flip them right side up so that the drawing appears right side up. when i just take the data as is in wcs the drawing appears upside down. i thought the odgematrix3d::mirroring would work, but it seems to have no affect. i am taking the data out of the database, flipping it, and storing it in another format for drawing, because of this i can't just flip the drawing as a whole. i need to transform each of the positions of the points i get from the database. using the dd methods for drawing is not an option right now. thanks, dan it is easy to check if odgematrix3d::mirroring works - need to see matrix members in debugger. oddbentity inheritants can be transformed by matrix using transformby() member. btw, depending on kind of other format it may be better to use vectorization for your task. for example, our dwf and svg exports (that are samples) are implemented using vectorization engine. sincerely yours, george udov more info i have since realized the mirroring function will mirror (it just flipped the objects in place) the objects, but is there an equivalent method for the whole drawing or database? would it make sense to recalculate the points by hand? dan i think there are no such method. because it is not clear what is should to do. should it flip modelspace only? should it flip layouts? or it shouldn't flip database data, but should change viewing matrix to display drawing flipped? sincerely yours, george udov |
| 所有的时间均为北京时间。 现在的时间是 02:07 AM. |