kabeja-0.4
所属分类:Java编程
开发工具:Java
文件大小:5990KB
下载次数:18
上传日期:2013-01-04 14:47:55
上 传 者:
a30501139
说明: kabeja,java读取dxf文件,并转换为SVG
(kabeja, java read dxf file and converted to SVG)
文件列表:
kabeja-0.4\conf\parser.xml (4452, 2008-03-12)
kabeja-0.4\conf\process.xml (7499, 2008-03-12)
kabeja-0.4\conf\ui.xml (973, 2008-03-12)
kabeja-0.4\doc\userguide.pdf (650957, 2008-03-12)
kabeja-0.4\font.xml (600, 2008-03-12)
kabeja-0.4\inkscape-extension\kabeja (84, 2008-03-12)
kabeja-0.4\inkscape-extension\kabeja-dxf2svg.jar (368916, 2008-03-12)
kabeja-0.4\inkscape-extension\kabeja.bat (77, 2008-03-12)
kabeja-0.4\inkscape-extension\kabeja.inx (905, 2008-03-12)
kabeja-0.4\INSTALL (461, 2008-03-12)
kabeja-0.4\kabeja.exe (442368, 2008-03-12)
kabeja-0.4\kabeja.sh (68, 2008-03-12)
kabeja-0.4\launcher.jar (2602, 2008-03-12)
kabeja-0.4\legal\LICENSE.ant-contib (2336, 2008-03-12)
kabeja-0.4\legal\LICENSE.batik (11357, 2008-03-12)
kabeja-0.4\legal\LICENSE.js.txt (31398, 2008-03-12)
kabeja-0.4\legal\LICENSE.miethxml-toolkit.txt (11358, 2008-03-12)
kabeja-0.4\legal\LICENSE.pdf-transcoder.txt (11357, 2008-03-12)
kabeja-0.4\legal\LICENSE.txt (11358, 2008-03-12)
kabeja-0.4\lib\batik-all.jar (2996626, 2008-03-12)
kabeja-0.4\lib\js.jar (708951, 2008-03-12)
kabeja-0.4\lib\kabeja-0.4.jar (339366, 2008-03-12)
kabeja-0.4\lib\kabeja-svg-0.4.jar (202283, 2008-03-12)
kabeja-0.4\lib\kabeja-xslt.jar (2712, 2008-03-12)
kabeja-0.4\lib\miethxml-toolkit.jar (334892, 2008-03-12)
kabeja-0.4\lib\miethxml-ui.jar (62512, 2008-03-12)
kabeja-0.4\lib\nothing (0, 2008-03-12)
kabeja-0.4\lib\pdf-transcoder.jar (541815, 2008-03-12)
kabeja-0.4\lib\xml-apis-ext.jar (85686, 2008-03-12)
kabeja-0.4\lib\xml-apis.jar (194354, 2008-03-12)
kabeja-0.4\samples\dxf\draft1.dxf (1408408, 2008-03-12)
kabeja-0.4\samples\dxf\draft2.dxf (646954, 2008-03-12)
kabeja-0.4\samples\dxf\draft3.dxf (773779, 2008-03-12)
kabeja-0.4\samples\dxf\draft4.dxf (433045, 2008-03-12)
kabeja-0.4\samples\dxf\hatch_1.dxf (10626, 2008-03-12)
kabeja-0.4\samples\dxf\hatch_16.dxf (27295, 2008-03-12)
kabeja-0.4\samples\dxf (0, 2008-03-12)
kabeja-0.4\conf (0, 2008-03-12)
kabeja-0.4\doc (0, 2008-03-12)
... ...
Kabeja is a small library for parsing DXF-Files and converting
this to SVG. It is licensed under the Apache Software License 2.0.
Limitation:
-----------
There are not all Entities of DXF supported yet. Text-Entities generate problems too.
Supported:
*Arc
*Attrib
*Polyline
*Circle
*Line
*Blocks/Insert
*Text
*MText
*LWPolyline
*Solid
*Trace
*Ellipse
*Dimension
*Image
*Leader
*XLine
*Ray
*Hatch
*Spline
*MLine
Planned:
* Tolerance
You can use Kabeja from CLI (Command Line Interface) or embed in your application.
GUI:
----
Windows:
* double-click "kabeja.exe"
Linux:
* sh kabeja.sh
or:
* chmod a=rx kabeja.sh (only ones)
* ./kabeja.sh
Other:
* java -jar launcher.jar
CLI:
----
in the Kabeja-folder try:
* Help and pipeline list
java -jar launcher.jar --help
* Convert to svg
java -jar launcher.jar -nogui -pipeline svg myfile.dxf result.svg
* Convert to pdf|jpeg|png|...
java -jar launcher.jar -nogui -pipeline
myfile.dxf
Normally Java uses *** MB of your memory, to setup more use the following commandline
switch:
java -Xmx256m -jar .....
GUI-Viewer:
-----------
in the 'lib'-folder try:
java -jar kabeja-svgview.jar
Cocoon 2.1 (XML-Publishing-Framework http://cocoon.apache.org/2.1):
-------------------------------------------------------------------
Copy the 'kabeja.jar' and 'kabeja-svg2dxf-cocoon.jar' to your WEB-INF/lib-folder
of your Cocoon-Webapplication. Then you can use Kabeja as Generator like:
in your sitemap/subsitemap:
snippet:
--------
.....
....
...
....
Note: DXF-drafts often real large drafts, so the SVGDocument will consume a lot of memory. The Generator is
Cacheable so the first run will take more time.
Feedback and Help
-----------------
Any help and feedback are greatly appreciated.
Mail: simon.mieth@gmx.de
近期下载者:
相关文件:
收藏者: