[分享]把CAD中的矢量图转换成位图
yeguiren
yeguiren Lv.11
2003年12月23日 19:58:59
只看楼主

AutocadR14提供了矢量图转换在位图的功能。在Command:后输入Plot命令,会出现一个绘图的对话框,什么?没有!别忙,输入Cmddia,把系统变量的<0>改为1。(即由命令行形式改为菜单形式),这时我们发现Device and default information(设备及缺省信息)一栏中是Windows98中的打印机,看来我们先得对出图的设备进行一些设置,下面跟我来做,这可是最关键的哟。

AutocadR14提供了矢量图转换在位图的功能。在Command:后输入Plot命令,会出现一个绘图的对
话框,什么?没有!别忙,输入Cmddia,把系统变量的<0>改为1。(即由命令行形式改为菜单形
式),这时我们发现Device and default information(设备及缺省信息)一栏中是Windows98中的
打印机,看来我们先得对出图的设备进行一些设置,下面跟我来做,这可是最关键的哟。
选择Tools>Preferences选项,进入Printer设置界面,单击New,出现许多输出设备,选择Restar
file export ADI 4.3 - by Autodesk . Inc,你可在Add a description中看到可说明性的文
字,然后回车,这时会出现很多选项(见图3)。
Supported models: (选择输出图像的分辨率,如果想自己设定可以选11项)
1. 320 x 200 (CGA/MCGA Color)
……
9. 1152 x 900 (Sun standard)
10. 1600 x 1280 (Sun hi-res)
11. User-defined
Enter selection, 1 to 11 <1>: 9
You can export the drawing in any of the following raster file
formats. Please select the format you prefer.
1. Microsoft Windows Device-independent Bitmap (.BMP) (生成以Bmp为扩展名的图形文件、
以下选项类似,笔者建议选用Tiff格式)
2. TrueVision TGA Format
3. Z-Soft PCX Format
4. TIFF (Tag Image File Format)
Enter selection, 1 to 4 <1>: 4
The export file can be created as a monochrome or color image.(选择输出图片色位,可用
缺省值)
1. Monochrome
2. Color - 16 colors
3. Color - 256 colors
Enter selection, 1 to 3 <3>: 3
You can specify the background color to be any of AutoCAD's 256 standardcolors. The
default of 0 selects a black screen background.
Enter selection, 0 to 255 <0>(选择图形背景颜色,缺省是黑色)
Sizes are in Inches and the style is landscape
Plot origin is at (0.00,0.00)
Plotting area is 1024.00 wide by 768.00 high (MAX size)
Plot is NOT rotated
Hidden lines will NOT be removed
Plot will be scaled to fit available area
Do you want to change anything? (No/Yes/File):
如想再修改上面参数可输入Y,否则用N。
完成了以上的设置之后,我们会看到在Plot对话框中的设备栏可选用该设备,后面的工作就如同用
绘图机出图一样,就不废话了。如想修改可单击Modify,再选Reconfig重新配置就可以了。
四、 以PostScript光栅格式输出位图
这种方法完全可以满足用户高精度图片的输出要求,较利于在Photoshop中进行后期的精加工,但
数据量也大的惊人,随随便便就有二三十兆的文件。它的配置方法和上一种的很像(见图4),在
设备选项中选Postscript device ADI 4.3 - by Autodesk. IncSupported models:
1.300 dpi
2.600 dpi
3.1270 dpi
4.2540 dpi
Enter selection, 1 to 4 <1>: 2
Do you want color output? 是否要彩色输出
Some PostScript devices require a special ^Z (control-Z) character
at the end of the file.
Do you wish to append a ^Z? 是否把Ctrl-Z设为文件结束标记
Adobe recommends that a special ^D (control-D) character be added
at the end of the file if the Adobe Standard Protocol is used.
Do you wish to append a ^D?
If you have a roll-fed plotter with Level 2 PostScript you may want
to limit the paper used to the selected ACAD paper size.
Do you wish to limit the paper used? y是否限制纸张大小
Specify port: (选择输出的端口,注意勿与鼠标等冲突)
erial port (Local).

arallel port (Local).
etwork port.
What is your PostScript device connected to?
Do you wish to change the serial port communication parameters?
Do you wish to change the serial port communication parameters?
Enter serial port name for plotter or . for none :PLT1
Do you want to respecify the port?
全部设置完之后,在打印对话框中的设备栏选用该项,就可以输出以Eps为扩展名的图片了, 在进
入Photoshop中调用时会问你一下图形的分辨率,一般设为150dpi就足够了,太大了你的机器就只
会哼哼不会干活了,线的宽度也可以在出图参数中进行设定,可不要太粗了成了死黑一片了。
五、 位图转换成CAD的矢量图
如何把位图转换成CAD的知量图,以方便我们再编辑修改是很多人都梦寐以求的事了,虽然也有这
种软件如Vpmax等,不过实际用起来效果并不好。我在这儿告诉诸位一个好方法,利用前面所讲的
方法在CAD中调入位图
yanxxok
2003年12月23日 21:20:59
2楼
嘿嘿,偶第一个顶
回复
kays
2003年12月24日 10:31:59
3楼
谢谢分享,可惜前几天用cad描的图,已经做完了。
回复
msdg
2004年01月08日 03:03:59
4楼
《在Photoshop中拼接(见图5)》
这可不是一个好主意!在ACAD中拼接更准确(ALIGN),而且在ACAD中还可调整纵横比例(有的扫描图纵横比例不统一,这时你就麻烦了!……我遇到过)。多张扫描图拼接还应注意消除累计误差的问题。否则你描出来的就“此图非彼图了”
回复
lu
2004年02月02日 19:37:59
7楼
能的。
回复
wcg12
2004年02月04日 09:05:59
8楼
回复
gorilla
2004年02月05日 16:14:59
9楼
bucuo
ding
回复
xfzs
2004年02月06日 13:14:59
10楼
ok
回复
a5891867
2004年02月06日 15:47:59
11楼
回复
zhmqiu@sl
2004年02月07日 11:15:59
12楼
真的有价值
回复

相关推荐

APP内打开