VectorDraw常见问题合集,让你从菜鸡到大神(一)

188 阅读2分钟

    VectorDraw Developer Framework(VDF)是一个用于应用程序可视化的图形引擎库。有了VDF提供的功能,您可以轻松地创建、编辑、管理、输出、输入和打印2D和3D图形文件。

                        VectorDraw Developer Framework试用版下载

VectorDraw web library (javascript)不仅能打开CAD图纸,而且能显示任何支持HTML5标准平台上的通用矢量对象,如Windows,安卓,iOS和Linux。无需任何安装,VectorDraw web library (javascript)就可以运行在任何支持canvas标签和Javascript的主流浏览器(Chrome, Firefox, Safari, Opera, Dolphin, Boat等等)中。这意味着可以用DXF,DWG,DGN,SKP(Google的Sketchup),VDML等多种格式在任何台式、平板电脑,智能手机和便携式笔记本上展现出你的业务。

                              VectorDraw web library (javascript)试用版下载

问:

  • 是否支持设置渲染和打印输出的灰度?

答:

在版本6021中添加了一个新属性ColorPalette,它是vdRender,vdPrint,vdLayout和vdViewport对象的属性。这意味着您可以拥有多个具有不同渲染属性的视口,1个truecolor视口,1个灰度视口或甚至一个用于打印功能的灰度布局。

使用以下vdRender.ColorDisplay枚举类型值获取/设置这些对象的输出调色板。

  • TrueColor是默认的实体颜色,图像不会更改。

  • BlackAndWhite-实体和图像的颜色更改为最接近的黑色或白色。

  • GrayScale-实体和图像的颜色更改为最接近的灰度颜色。

vdPrint的旧属性OutInBlackWhite设置为True时,将ColorPalette更改为vdRender.ColorDisplay.BlackAndWhite。

当when设置为False时,将ColorPalette更改为vdRender.ColorDisplay.TrueColor。

The original file in Render mode TrueColor

The original file in Render mode TrueColor

The original file in Render mode GrayScale

The original file in Render mode GrayScale

The original file in Render mode Black & White

The original file in Render mode Black & White

The original file in Render mode in PrintPreview with GrayScale

The original file in Render mode in PrintPreview with GrayScale