iCAx开思网

标题: 关于UF_MODL_ask_bounding_box返回的座标 [打印本页]

作者: hunglau    时间: 2007-11-17 19:48
标题: 关于UF_MODL_ask_bounding_box返回的座标
UF_MODL_ask_bounding_box在装配下返回的座标是工作部件下的绝对座标还是在displaypart下的绝对座标?
作者: syqnet    时间: 2007-11-17 20:41
Returns the bounding box of wireframe and solid type objects.
Wireframe objects include lines, arcs, splines, and conics.  Solid type
objects include bodies, faces, and edges.  Bounding box values are
returned in absolute coordinate values according to where the object
exists in the part file.

If you call this function with an occurrence, the bounding box
of the underlying geometry is transformed into assembly space. This
may cause the bounding box that is returned to be larger than
expected. This happens in cases when the axes of the component part
are transformed such that they don't align with the axes of the
assembly coordinate system.

Note that the box returned favors speed over accuracy. The returned
box will contain the given entity and it will usually be close
to the minimum bounding box but this is not guaranteed.

This function may not return the correct information when the body
has been trimmed or is the result of a boolean operation.  In those
cases UF_MODL_ask_extreme can be used to get the correct bounding box size.
作者: syqnet    时间: 2007-11-17 20:45
work part
作者: hunglau    时间: 2007-11-17 21:11
不是显示的part下的绝对座标吗?
作者: gripcam    时间: 2008-5-26 22:59
这个函数好象不精确的




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3