Archive for the ‘Bugs and Requests’ Category

KitCAD i3 KGC and Decimal Fractions

Thursday, April 22nd, 2010

Past versions of KitCAD software packages have always supported simple Integer numbers (1,2,…,9,0) that are processed with Cutup.exe into Floated numbers (if required 16.5mm, 1.5mm, etc).

KitCAD i3 KGC now includes a basic option to view Decimal Fractions (and provide simple corrections). The Fraction Display unit functions can be enabled from the Options page.
Setting the Display of units to Fraction will convert sizes into Inch”Numerator/Denomator.
Setting the Display of units to Fraction2 will convert sizes into Feet’Inch”Numerator/Denomator.
The default Setting is Decimal will NOT convert sizes provided by a *.kp2 file format.

Script converting of non-Decimal Fractions may take up to 1 minute, longer, or even cause Javascript runtime errors when converting Integer numbers into Fraction or Fraction2. As a work-around:- Use the correct Decimal Fraction sizes – Do not use 500mm, Instead ALWAYS use the size of 500.38mm or 19″7/10 to remove over 50% of converter functions processing time.

No Library System has been developed for Decimal Fractions at this time (As a result the quotation reporting will only show Millimetres). A library system will be developed and deployed at a later date.

Using the Option of Fraction or Fraction2 will also cause the KitCAD i3 KGC exe TEST Setup version to fail – A message relating to JavaScript errors will be displayed during *.kp2 file loads because no Decimal Fraction library has been deployed – there are no 15″, 30″, or 35″ deep cabinets in the library system (The default demo Library System is Integer based for 300mm, and 600mm deep cabinets).

See the Decimal Fraction Scale Maths functions for JavaScript example for more information.

No notice of update to KitCAD i3 will be shown (release date of latest update will be 17th April 2010). Downloaded KitCAD i3 versions after the 22nd of April will include the updated files for Decimal Fraction support.

KitCAD Standard User Account Support

Wednesday, April 7th, 2010

Created and Uploaded a mirror system patch (includes limited support for KitCAD2v5) for use with XP Standard User Accounts (SU).

This upgrade is NOT recommended for KitCAD i3 or KitCAD 2. Parts of the KitCAD i3 Standard User Account support (or UAC support) may be included with other KitCAD downloads at a later time. This is a short-term fix/work-around for Standard User Account Support and may be dis-continued without further notice. It is recomended that users ALWAYS run KitCAD using an Account with Administrator Rights to avoid any runtime security issues caused by the Operating System or other security applications.

This upgrade creates a shaddow file system at %USERPROFILE%\Local Settings\Applicaiton Data\Kitchen Pages\ or at %USERPROFILE%\Applicaiton Data\Kitchen Pages\ which allows Standard Users to modify and run KitCAD files (limited by secruity). A maintenance system is provided that allows users to add files from the source installed KitCAD version located at %PROGRAMFILES%\Kitchen\ into a target default copy at %USERPROFILE%\Local Settings\Applicaiton Data\Kitchen Pages\. An additional Icon Support installer is provided for creating Standard User Account Start menu program shortcuts. KitCAD 2 Windows Registry entries for mime program kpd/kp2 file types are NOT updated to support UAC Shortcut Icons.

See more about Windows UAC at cc731316. Microsoft ACT 5.5 at cc722367. Reference for CSIDL_APPDATA, CSIDL_LOCAL_APPDATA  bb762494 and cc749104.

The Default settings of this update v1.2 for the Standard User Account are:- Per user, local profile; <CSIDL_LOCAL_APPDATA> which resolves to %USERPROFILE%\Local Settings\Application data.

Past versions made only referance to %APPDATA%, and <CSIDL_APPDATA> – users of past versions (v1.0,v1.1) are advised to run \1.1\del_i3user.bat and \1.1\del_i3user.bat before updating User Roaming Profile information. <CSIDL_APPDATA> should have full write access while others have write access restrictions or are read only.

Future updates will include option for User supplied locations, %APPDATA% corrections for Vista, and <CSIDL_LOCAL_APPDATA> %USERPROFILE%\Local Settings\Application data or %LOCALAPPDATA% for Vista/2008/7. No option will be given to include <CSIDL_COMMON_APPDATA> All Users\Application data. See dd378457 for the current file paths of Vista/7.


:: Installing KitCADi3_file_localhost_test_UAC_support.zip ::

Download link :- KitCADi3_file_localhost_test_UAC_support.zip
As a Administrator User (PA); Run included Setup.exe, and follow instructions in Readme.txt (for each Standard User Account)


:: Un-Installing KitCADi3_file_localhost_test_UAC_support.zip ::

As a Standard User (SU); Files located at %USERPROFILE%\Local Settings\Applicaiton Data\Kitchen Pages\ may not require any special un-installer. On each Standard User Account Run %PROGRAMFILES%\Kitchen\Setup\UAC\del_user.bat OR manually delete the folders contents at %USERPROFILE%\Local Settings\Applicaiton Data\Kitchen Pages\. See Readme.txt (for each Standard User Account)

As a Standard User (SU); To manually remove any installed KitCAD UAC Standard User Account support Icons navigate to %USERPROFILE%\Local Settings\Applicaiton Data\Kitchen Pages\Icons and run unins000.exe (no Un-Install icon is included for Control Panel)
OR from the START button->All Programs->Kitchen->Setup->Un-Install KitCAD i3 UAC Icon Support; Or use del_user.bat

As a Administrator User (PA); To manually remove KitCADi3_file_localhost_test_UAC_support.zip; navigate to %PROGRAMFILES%\Kitchen\Setup\UAC\admin and run unins000.exe (no Un-Install icon is included for Control Panel or Start Menu Programs)

KitCAD2Xg OCX 2010

Sunday, March 28th, 2010

The KitCAD2X Control OCX (kp2 writer only) example has been re-released as KitCAD2Xg Control.

The only change made at this time is in code for using StrToIntDef inplace of StrToInt (Bug report).

Converting the BCB4 KitCAD Active X project into Rad Studio caused problems. As a work-around three new form interfaces were created to replace the previous version.