Title: DXFViewer
Author: aviket
Published: <strong>2016 年 10 月 20 日</strong>
Last modified: 2016 年 10 月 20 日

---

搜索插件

![](https://ps.w.org/dxfview/assets/banner-772x250.png?rev=1526101)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/dxfview/assets/icon-128x128.png?rev=1545584)

# DXFViewer

 作者：[aviket](https://profiles.wordpress.org/aviket/)

[下载](https://downloads.wordpress.org/plugin/dxfview.zip)

 * [详情](https://cn.wordpress.org/plugins/dxfview/#description)
 * [评价](https://cn.wordpress.org/plugins/dxfview/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/dxfview/#developers)

 [支持](https://wordpress.org/support/plugin/dxfview/)

## 描述

This plugin displays a DXF file on your WordPress post or page.
 DXF (Drawing eXchange
Format) is industry standard format for CAD drawings. For DXF specifications: refer-
http://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf DXF
is an Ascii file. You can create it by AutoCAD or a few other packages like LibreCAD
or QCad. Some free samples of DXF files can be found online. This plugin uses javascript
and fully works on client side and hence works at lightening speed.

How to Use:
 This plugin requires the browser that supports HTML5 Canvas, most modern
browsers do. After installation and Activation, you have to use shortcode [DXF] (
ie simply type “[DXF]” on the page or post). The starting page is loaded with some
default DXF contents. Viewer of your post will see a black coloured rectangle and
a button to select a DXF file on the client machine. Depending on the size of the
DXF file, the file will be rendered in the black rectangle. For zooming, use mouse
wheels, for panning click, hold and drag with the left mouse button. The links below
the rendering area can be used to save the canvas as a JPG or PNG file. Background
color and border are not shown in the saved images downloaded images. For setting
the Background color and Border, use the settings page. Settings can be configured
at: Admin area->Settings->DXFView Options. This plugin uses JCanvas and DXFParser:
Link to JCanvas: http://projects.calebevans.me/jcanvas/ Link to DXF parser: https://
github.com/gdsestimating/dxf-parser Commonly supported Entities in both Jcanvas 
and DXF parser are : Line, polyline, circle, text and arc and only these much are
rendered. Polylines with arcs, buldges etc are rendered as line string joining vertices.
Different text fonts are ignored and all the texts are displayed in one common font.
Entities on hidden or freezed layers are also rendered.

## 评价

此插件暂无评价。

## 贡献者及开发者

「DXFViewer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ aviket ](https://profiles.wordpress.org/aviket/)

[帮助将「DXFViewer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dxfview)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dxfview/)，查看[SVN仓库](https://plugins.svn.wordpress.org/dxfview/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/dxfview/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dxfview/)。

## 额外信息

 *  版本 **1.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 4.5.4 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/dxfview/)
 * 标签
 * [DXF](https://cn.wordpress.org/plugins/tags/dxf/)
 *  [高级视图](https://cn.wordpress.org/plugins/dxfview/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/dxfview/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dxfview/reviews/)

## 贡献者

 *   [ aviket ](https://profiles.wordpress.org/aviket/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dxfview/)