文件名称:js-dxf:JavaScript DXF编写器
文件大小:140KB
文件格式:ZIP
更新时间:2024-05-26 05:58:43
JavaScript
JavaScript DXF编写器 简单的编写器。 正在安装 npm install dxf-writer Node.js示例 const Drawing = require ( 'dxf-writer' ) ; const fs = require ( 'fs' ) ; let d = new Drawing ( ) ; d . setUnits ( 'Decimeters' ) ; d . drawText ( 10 , 0 , 10 , 0 , 'Hello World' ) ; // draw text in the default layer named "0" d . addLayer ( 'l_green' , Drawing . ACI . GREEN , 'CONTINUOUS' ) ; d . setActiveLayer ( 'l_green' ) ; d . dra
【文件预览】:
js-dxf-master
----src()
--------Ellipse.js(1KB)
--------Line.js(482B)
--------Circle.js(561B)
--------LineType.js(1KB)
--------Spline.js(4KB)
--------Text.js(2KB)
--------Polyline.js(1KB)
--------Polyline3d.js(853B)
--------Drawing.js(10KB)
--------Point.js(370B)
--------Layer.js(1KB)
--------Arc.js(776B)
--------Face.js(842B)
----.npmignore(13B)
----spec()
--------DrawingSpec.js(1KB)
--------support()
----examples()
--------redraw()
--------#spline.js.dxf(17KB)
--------add_line_type.js(319B)
--------line.js(370B)
--------circle.js.dxf(524B)
--------text.js(380B)
--------face.js.dxf(451B)
--------arc.js(263B)
--------true_color.js.dxf(724B)
--------ellipse.js(388B)
--------point.js.dxf(502B)
--------spline.js.dxf(2KB)
--------arc.js.dxf(409B)
--------true_color.js(709B)
--------polyline.js(371B)
--------face.js(304B)
--------browser()
--------polyline3d.js(348B)
--------circle.js(345B)
--------line.js.dxf(618B)
--------polyline.js.dxf(685B)
--------ellipse.js.dxf(825B)
--------spline.js(747B)
--------demo.js.dxf(555B)
--------add_line_type.js.dxf(487B)
--------data()
--------polyline3d.js.dxf(599B)
--------demo.js(485B)
--------point.js(315B)
--------text.js.dxf(623B)
--------inject()
--------demo.png(48KB)
----LICENSE(1KB)
----README.md(2KB)
----index.d.ts(10KB)
----.gitignore(35B)
----index.js(42B)
----package-lock.json(45KB)
----package.json(804B)