OffSet封闭多边形的偏移(OffSet)方向问题
.OffSet封闭多边形的偏移(OffSet)方向问题,帮助中说:<BR> “The offset can be a positive or negative number, but it cannot equal zero. If the offset is negative, this is interpreted as being an offset to make a "smaller" curve (that is, for an arc it would offset to a radius that is "Distance less" than the starting curve's radius). If "smaller" has no meaning, then it would offset in the direction of smaller X, Y, and Z WCS coordinates. ”<BR> 可是同样的形状,lwpolyline和2Dpolyline会偏向不同的方向。就算是同样的线型如lwpolyline当偏移值为正时,有时向外偏,有时向内偏。特别是当多边形时斜着的时候。 我的苯办法是,先Offset,然后比较两者的面积,不对再反过来Offset sieben发表于2005-11-8 11:07:00static/image/common/back.gif我的苯办法是,先Offset,然后比较两者的面积,不对再反过来Offset<BR>我也用此法. <P>我也用的这方法</P>
<P>难道就没有更好的办法吗?</P>
<P>还有offset好像对线要比较高,有时偏0.0001会出错,改为偏0.5就可以</P>
<P>有的就反过来了,晕</P> sieben 发表于 2005-11-8 11:07 static/image/common/back.gif
我的苯办法是,先Offset,然后比较两者的面积,不对再反过来Offset
向内偏移时会出现这样的问题:
该方法中的“Distance”是用来指定偏移距离的。 偏移可以是正值或负值,但不能等于0。如果偏移为负值,这意味着将得到更“小”的曲线 (例如,一个圆以负值偏移后的得到的圆的半径将会比原对象半径小). 如果“小”没有意义,则AutoCAD将向小的X,Y,Z WCS坐标方向偏移。如果偏移距离无效,则返回错误。,该怎么办?
页:
[1]