Archive for the ‘Bugs and Requests’ Category

rX rotations from KGC to SVG

Sunday, May 6th, 2018


Click to view larger image

KitCAD i3 KGC rX rotations from KGC to SVG (example). Image above displays on the left a KGC rotation of a BC2di Object Item, and on right is the SVG rotation (clearer lines). Some drawings may display differently after the change (such as w600 x h600, fix by changing width to 633 – other Object Items may not draw correctly)

Using the following code will cause position errors when drawing plan view Object Items and when generating 3D renderings. Use of code is for example only. SVG rotated Object Items will not align with 3d renderings (even after altering functions).

Edit _r5en.js and append to end of file, the following code block:

The KitCAD i3 KGC functions of testkp2r300 and testkp2r600 will require editing by an administrator to align SVG rotation with vrml/x3dom placements should it be required (this should cause errors with 3d renderings as SVG rotated Object Items center point of rotation may differ to the center point of KGC rotation). The Object Item Depth of 300 and 600 are provided by default, other depths could be added. The function of runkp2r is used to determine Object Item depth before calling the functions of testkp2r300 or testkp2r600 which set a list of values depending on depth. The function of runkp2r then runs a function of testkp2rX that is used to assign TOP and LEFT positions from the list of values only when matched with the WIDTH of an Object Item (from 2000mm to 50mm).


Click to view larger image

For KGC rotations; The best way to get the values for the function of testkp2r300; Is to place a row of WC2di Object Items (start with one 1000m width, 300mm depth which is placed on-top of a BC2di object item) onto plan view next to one another (largest 1000mm width to smallest 100mm) along the top of screen. Then a column of object items (largest 1000mm width to smallest 100mm) on the left most of screen, scrolling down to place Object Items (if required). Rendering the view should show a ‘L’ shaped view of Object Items (when 3d is spun 90deg) [See image above for an example L shape]. Remove any rendering position errors by altering the values within each function. Repeat this process using BC2di Object Items for testkp2r600 values.

Libsys i3 update – cbc2di

Friday, October 6th, 2017


Click to view image

Added a new Object item titled cbc2di as an example corner base cabinet Object Item, into the KitCAD library system (for all versions where required). Some cabinet makers can stockpile such corner Object items or order prefabricated and use when they are required – as such there is no cutting list (two infills may be listed) and the default size is 900Wx600D X 900Wx600D. The default size should NOT be altered as for such cases will require another Object Item to be coded by the end user. Limited testing was performed at 900Wx600D X 900Wx600D and minor corrections may still be required. Some older Object Item code from the CnrBC2di Object item was recycled and modified to suit.

The example titled cbc2di was modeled from the former CnrBC2di which was created from BC2di. The example library system is not a correct representation but is instead used to teach and test function of KitCAD2, KitCAD i3 KGC and above.

The image above shows testing of the KPD format whist using KitCAD i3 KGC rX – the image shows: Red line as Rotation, Blue box/line for an Object Item, and Green box/line is a KPD Fixed Item (and used to code cbc2di).

See comments of this posting for more information and a manual download link.

CutUp Machine-It, for KitCAD (HTML version)

Wednesday, March 23rd, 2016


Click to view larger image

Image above – completed testing of CutUp Machine-It, for KitCAD. Less then two days to write/recycle existing rX codes, and some 10 days of minor alterations to provide more ability and functional uses. Processing now consumes around 10 seconds for 230 lines. The processed data from this point can be further altered to suit manufacturing processes and provide an ability for custom changes (eg: door gaps, the door sizes may not include gaps). A solution in the form of filtering selection while processing to alter the filtered (eg: door) sizes inclusive of end-user supplied size (eg: sum of door gaps total could be expressed as a negative number and entered for the filtered size addition) is included to allow instant review and provide an ability for end-users to make changes on-the-go without having to edit Object Items, edit Volume values or edit processing templates.

Minor revision, help file (2Apr), and SDK information [PDF] (24Apr); The ‘DrillDown Machine-It‘ interface will reuse or be the same as the CutUp Machine-It code base and parts of the interface and is not included, read comments upon this post for more information in regards to Drill down and Processed Result/s Optimisation.

CutUp Machine-It, for KitCAD deployment to off-line KitCAD i3 KGC rX version installs and others occurred between April and May 2016. The May 1st is the Public release date however versions for all or some of the various target systems were released beforehand.

See post Comments (Below) for End-user help, developer notes, testing, and update information.