Rotated axis
Moderators: SDS, support, admin
Rotated axis
Hi
Can you help me with drawing using rotated axis?
I have closed IFC polyline for example. (0,0,0), (10,0,0), (10,10,0), (0,10,0)
Then I know that x-axis is rotated as (0.655, 0, 0). Should i use matrix or ucs coordinates?
So how I can draw this polyline correctly or calculate coordinates.
Can you help me with drawing using rotated axis?
I have closed IFC polyline for example. (0,0,0), (10,0,0), (10,10,0), (0,10,0)
Then I know that x-axis is rotated as (0.655, 0, 0). Should i use matrix or ucs coordinates?
So how I can draw this polyline correctly or calculate coordinates.
Re: Rotated axis
Hi,Timo wrote: ↑01 Dec 2023, 14:45Hi
Can you help me with drawing using rotated axis?
I have closed IFC polyline for example. (0,0,0), (10,0,0), (10,10,0), (0,10,0)
Then I know that x-axis is rotated as (0.655, 0, 0). Should i use matrix or ucs coordinates?
So how I can draw this polyline correctly or calculate coordinates.
You should get the matrix, multiply by your coordinates and "draw" the polyline.
Please, have a look at the sgFunction.BuildRotMatrix. In the sgFunction.pas module there are three overloaded functions BuildRotMatrix, and you could use any of them.
Best regards,
Catherine.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support