VDF常见问题整理(四):如何在ShadeON模式下始终绘制黑色线框?

本系列教程整理了VectorDraw Developer Framework(VDF)最常见问题,教程整理的很齐全,非常适合新手学习,本节教程将会介绍如何在ShadeON模式下始终绘制黑色线框。

VectorDraw Developer Framework试用版下载


问:

    在ShadeOn模式下,能否始终绘制黑色线框忽略后facelist或vdPolyface的颜色)

答:

    在版本6021中,在vdLayout,vdViewPort和vdDocument对象中添加了一个新属性EdgeColor。此属性仅适用于多边形边缘可见的Hide,Wire3D和ShadeON模式。

    在3d中渲染时获取/设置所有面的边的显示颜色。(当RenderMode为Wire3d时,Hide或ShadeOn)默认值为Color.Empty时,边的颜色具有其实体的颜色,从vdDocument对象获取/设置此属性时,将会获取/设置ActiveLayOut的ActiveLayOut或ActiveViewPort边缘的显示颜色(如果存在)。

    在GlobalRenderProperties中也可以选择属性EdgePenWidth,您可以选择ShadeOn和Wire3D以及Hide模式中的线条厚度。查看同一图纸中的一些图像,并更改上述属性:

ShadeOn中的原始文件,默认为EdgeColor(Color.Empty)和EdgePenWidth(0.0016英寸,屏幕大约2像素)

The original file in ShadeOn with default EdgeColor (Color.Empty) and EdgePenWidth (0.0016 of an inch, about 2 pixels in screen)

ShadeOn中的原始文件带有绿色EdgeColor(Color.OliveDrab)

The original file in ShadeOn with a greenish EdgeColor (Color.OliveDrab)

ShadeOn中的原始文件带有偏红的EdgeColor(Color.Tomato)和EdgePenWidth(0.001英寸,屏幕大约1个像素)

The original file in ShadeOn with a reddish EdgeColor (Color.Tomato) and EdgePenWidth (0.001 of an inch, about 1 pixels in screen)

ShadeOn中的原始文件具有相同的EdgeColor(Color.Tomato)和EdgePenWidth(0.03英寸,屏幕大约3个像素)

The original file in ShadeOn with the same EdgeColor (Color.Tomato) and EdgePenWidth (0.03 of an inch, about 3 pixels in screen)

隐藏的原始文件带有偏红的EdgeColor(Color.Tomato)和EdgePenWidth(0.0001英寸,屏幕大约1个像素)

The original file in Hide with a reddish EdgeColor (Color.Tomato) and EdgePenWidth (0.0001 of an inch, about 1 pixels in screen)

Wire3D中的原始文件带有偏红的EdgeColor(Color.Tomato)和EdgePenWidth(0.0001英寸,屏幕大约1个像素)

The original file in Wire3D with reddish EdgeColor (Color.Tomato) and EdgePenWidth (0.0001 of an inch, about 1 pixels in screen)

8月省钱式嗨购|Office 365三大版本免费送,云端办公更畅快!

标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2019年7月10日
下一篇 2019年7月10日

相关推荐

发表回复

登录后才能评论