這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

DXFViewer

描述

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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“DXFViewer” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 DXFViewer 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄