高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】ellipse and extrusion
ellipse and extrusion
ellipse and extrusion
hi,
i have a problem with the ellipse angles and extrusion. i have the next ellipse data:
startangle = 245º
endangle = 303º
ellipseangle = 135º
extrusion (0,0,-1).
i would like to know what's the transformation order?
extrusion and rotate ellipse or
rotate ellipse or extrusion.
thank you.
assuming it's all about oddbellipse.
it has no extrusion but has normal.
normal defines transformation between ocs (object coordinate system) and wcs (world coordinate system).
odgematrix3d functions worldtoplane(normal) and planetoworld(normal) return transformation matrices between ocs and wcs.
angles are measured in ocs: in plane which is ortogonal to normal from ocs x axis around ocs z axis.
sergey slezkin
|