The KitCAD file format
This document is for the KP2 Web specification of a text format that is
used on the Web. Users require a configured MIME type for the format to be
correctly transferred across the Web, and so that a suitable viewer (KitCAD2
compliant) that can be located at the other end.
In practice, certain formats are more widely understood than others; certain
formats are more suited to one type of graphical data than another; so you
should make an informed choice about what format to use.
The KP2 format is intended to be text for use with application interfaces that
generate graphical and other data formats.
The KitCAD2 application interface/s
Several application interfaces exist for the KitCAD software package.
KitCAD2.27 is the current Windows 32bit build version at the time this document was
written. 3 example versions of application interfaces that use the file format
defined by this document are written are listed as follows;
The binary run-time code to operate KitCAD2 is free to download from
the KitchenPages.com web site without charge.
+ Windows 32bit, EXE :- http://www.kitcad.com/
+ Windows, ActiveX, OCX :- http://www.kitchenpages.com/library/net/
+ Web browser, Java Script :- http://www.kitchenpages.com/library/i3/
Each version above has different uses but all include support for the *.kp2 file
extension and the KitCAD2 file protocol defined by this document.
The KitCAD source code
The source code to create KitCAD software package is free to download from the
KitchenPages.com web site without charge.
+ C++ VCL, Borland BCB 4 : - http://www.kitchenpages.com/GNU-KitCAD.zip
+ Linux CLI, Borland Kylinx 3 :- http://www.kitchenpages.com/kp_kylinx3_open.zip *
+ Web Server, CGI, Perl :- http://www.kitchenpages.com/mirror/KitCADi3_setup.zip *
Note: * - source code has errors; the Kylinx edition is written for
testing portability.
The KitCAD2 default MIME type
KP2 has been a used MIME type name space since 2002. The correct un-registered
MIME type for KitCAD2 is:
application/kp2
The KitCAD2 default MINE and ClassID values
KP2 name space since 2000. The Class Identification value for the current version
control for KitCAD2 was randomly generated.
The current KitCAD2 version is assessable when using the windows CLSID form object
control value of:
BDC75F00-714C-11D4-A28A-40BD04C10008
To configure the above; for Windows requires the following registry keys:
HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/kp2\CLSID="{BDC75F00-714C-11D4-A28A-40BD04C10008}"
HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/kp2\Extension=".kp2"
HKEY_CLASSES_ROOT\.kp2\Default="kp2file"
HKEY_CLASSES_ROOT\kp2file\shell\Open\Command\Default="\"c:\Program Files\Kitchen\KitCAD\KitCAD2v5.exe\" \"%1\""
HKEY_CLASSES_ROOT\AppID\KitCAD2v5.exe\Default="{BDC75F00-714C-11D4-A28A-40BD04C10008}"
HKEY_CLASSES_ROOT\CLSID\{BDC75F00-714C-11D4-A28A-40BD04C10008}\LocalServer32\Default="C:\Progra~1\Kitchen\KitCAD\KitCAD2v5.exe"
Additional Information
http://www.kitchenpages.com/help/i3/draft-kitcad1-2004.txt
http://www.kitchenpages.com/help/i3/draft-kitcad2-2004.txt
http://www.kitchenpages.com/help/i3/draft-kitcad2-kp2-bpl-2004.txt
http://www.kitchenpages.com/help/i3/draft-kitcad2-kp2-file-2004.txt
Extra Information
Cascading Style Sheets, level 1, W3C Recommendation
- http://www.w3.org/TR/REC-CSS1
ISO/IEC 14772-1:1997, The Virtual Reality Modeling Language (VRML)
- http://www.web3d.org/
ISO/IEC 10646-1, Universal Multiple-Octet Coded Character Set (UCS)
- http://www.iso.org/
Java Script: language specification
- http://www.sun.com/
RFC 2396, URI Uniform Resource Identifier, W3C Recommendation
- http://www.ietf.org/