User Guide
Table of contents
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Install Binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Building from Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Commandline Interface (CLI) . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Viewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Processing Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Processing Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
Example pipelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
Browser SVG Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
Browser Support Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
OpenOffice dxf2calc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
Cocoon Integration Overview . . . . . . . . . . . . . . . . . . . . . . . . . .
5
Example Cocoon Webapplication . . . . . . . . . . . . . . . . . . . . . . .
5
Cocoon Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
Cocoon Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
Inkscape DXF Importfilter. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
Installation Java extension (the default) . . . . . . . . . . . . . . . . . . .
8
Installation native extension . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
Installation .NET extension. . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
Fonts Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
Font Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
Embedding Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
Default Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
Using Kabeja API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
Get data from the DXFDocument. . . . . . . . . . . . . . . . . . . . . . . .
10
Develop Kabeja Components . . . . . . . . . . . . . . . . . . . . . . . . . .
11
Parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
PostProcessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
User Guide
SAXGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
SAXFilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
SAXSerializer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
StreamGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
Component Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
Problem: Coordinate range - Java VM Crash . . . . . . . . . . . . . . . .
13
Problem:Unsupported Entities. . . . . . . . . . . . . . . . . . . . . . . . . .
13
State of DXF ENTITES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
DXF R12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
DXF R13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14
DXF R14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
DXF 2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
DXF 2002 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
DXF 2004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
DXF 2005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
DXF 2006 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
DXF 2007 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
Kabeja-License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
User Guide
User Guide
System Requirements
requires the following software to be already installed in your system:
•
1.3 or later.
Install Binary
•
Download a binary-distribution
•
Unzip
•
Change to the -folder
•
double click
•
use (for memory use java -Xmx512m -jar launcher.jar)
You can find DXF samples in the -folder.
Building from Source
For building Kabeja you need Ant 1.6 (or later). For the build use the following steps:
•
Download a source-distribution
•
Unzip
•
If you want to build the Cocoon-block, copy 'blocks.properties' to 'local.blocks.properties' and edit
the path to the Cocoon-libraries.
•
ant
User Interface
With the Kabeja GUI you can select files (or Drag and Drop to the main view) for processing and start different
procssing pipelines. You can load your own processing configuration or use the default processing configuration.
The SVG blocks provides a DXF2SVGViewer for viewing the result of the converted SVG. Please note this is not a
direct DXFViewer and will consume a lot of resources. With the JSScriptShell you can manipulate the parsed draft at
runtime. The draft is available as variable 'dxf''. If you use the reload button the changes will visible in other views of
the Kabeja GUI (DXFSVGViewer).
You can switch off the different views for processing if you have problems with memory or don't need the views.
Starting:
double click the Kabeja.exe in the folder
In the of the 'kabeja'-folder try:
java -jar launcher.jar
java -Xmx512m -jar launcher.jar
User Guide
- 1 -