Help and Information about the Rule.exe program.
Rule.exe 1.12, 1.10, 1.0.
Rule.exe can be started from the Start Menu in Windows | Programs | Kitchen | Rule Manager Application. There are no configuration files. The Rule.exe program processes scripts found with KPD and DAT files for KitCAD. The Rules are made for Ruler.exe and are stored in the KPR file types. The Formula or Settings for the KPR file are kept in KPI (KPD) files.
A Backup Batch Utility is provided on the Server and recomended
for users who edit or create their own rules for ruler. - obackup.zip.
Please see Help Tab in the Rule.exe Application for a Updated
Copy of Text Below.
An Example File is Included with the 19.2cb+++ update.
bc2di.kpi, bc2di.kpr, bc2di.dbf, bc2di.kpd, and bc2di.dat
Rule.exe can also create .dat .kpd .kpr .kpi if requested. If
any files are missing they are replaced. The DBF file is not
replaced as it has to be generated by a database connection
like that found in the main KitCAD programs. Rule.exe conforms
to the win32 ini file standard and helps the user convert files
into the KPR extension for KPD objects. The ; symbol tells the
win32 ini program that the text after is for comments.
A KPI is a standard ini file. KPD is modified, and has a
header. KPR files are the same format as the KPI ini files but
must have ; after each line.
A KPI is the file which remembers settings in the KPR file.
DAT or KPD is the KitCAD file. KPR is the same format as KPI
but must have ; after each line. The default files are created
without the ; symbol.
KPi = Formula or Settings for Ruler files created by Rule.exe
(Right Coloum, formula or value. should have ; at end of
line).
KPr = Ruler.exe files for dynamic size of objects
KPd = A users KitCAD drawing file type (Left Coloum,
Value that KitCAD currently uses, must be of the correct type,
use numbers if not sure).
DAT = KitCAD object or KPd renamed, selected from the drop
down menu in KitCAD
The KPD file is opened on the Left Size while the KPI file is
opened on the Right (formula) Side.
A user changes the formula stored in the KPI file to generate
a KPR file based on the KPI and KPD files. The KPI File is
saved for later use with the script is run.
A copy of the result KPD file is stored as a DAT file
also.
This provides a layer of secuitry between changes to objects
and the actual construction but still allows changes to the
sizes of the objects.
The KPR file is used by Ruler.exe along with the DAT file to
allow a user to have dynamic sized objects in both KitCAD
programs (not fully tested in
1.19.2b).
Updated on the 02nd of October, 2005.