CutUp Machine-It, for KitCAD (HTML version)

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.

4 Responses to “CutUp Machine-It, for KitCAD (HTML version)”

  1. Admin Says:

    Click each image to view

    Images above of Screen shot/s – Working on CutUp-MachineIt with VolEditor (HTML version in second image, CutUp-MachineIt includes +10Kb of user configurable example output template data, and requires VolEditor with another +40Kb of user configurable example data from CutUp.exe offline examples). Unlike the off-line Installs of CutUp.exe the output will be correct after processing, needing no further reprocessing by Grep.exe or other application to produce final output (originally intended as a security feature which is no longer required). The CutUp Machine-It HTML version output template processing will support the swaps of [REPEATS], [CLIENTNAME], [JOBNUMBER], [FILE] and [ID] for respective values. Test example of CutUp Machine-It data loader and CutUp Machine-It VolEditor can be accessed at /library/i3/machine/; A domain alternative is accessible with the .net domain name extension.

    Click each image to view

    Images above of Screen shot/s – Testing and tested interfaces of CutUp-MachineIt (without bells – whistles, or user configurable example data but can be added from localStorage or manually if required by end users). Tested CutUp-MachineIt processing data and results (taking less then two-days), Images added 14th March 2016. Processing time of around 2 seconds will generate 222 lines (generated without the repeat function; processing 565 lines; And kind-of Cardinality from lines={kp2}(15)*{kpd}(3-8)*((({vol}(1-15)*{value}(1-8))*r)+”\r\n”); eg:- The Object Item of ‘bc2di’ with 6 volume files will produce 16 lines; The {vol} and {value} products are conditional by each {kpd} that is an element of the {kp2} that is rendered by one of three templates {and looping the second template}). A usable release will be modified and may differ greatly from the images displayed. Some updates to code will be applied to the existing VolEditor interface for future retesting (uploaded on the 17-19th March, 2016).

    Click image to view

    Image above of Screen shot – Bug testing across various platforms and systems, showing a minor issue that was ‘renamed’ the ‘565’ (that only produced errors when using HTTP/HTTPS protocols, however 565 represents the amount of loops/processing required during tests and no solution was employed that would reduce the loops/processing needed to complete processing). Completed bug testing on the 19th March, 2016. Single web page file sized at around/less 60kB when external scripting requirements are provided by sources; Open source code base; Runs almost anywhere depending on Web Browser security models and restrictions that are employed; With additional web pages the output can be loaded back-into KitCAD i3 KGC rX and converted into other text formatted file types. Processing ‘now’ requires more then 5 seconds to complete with an additional headroom of 3 seconds for the display and rendering of processed data that can be then sent after user revision to various CNC machines. The default library system can be loaded by clicking the submit button, without the need to enter any email address. An unload library hypertext link is included and intended to return the library system to a previous rX parent window.

    Click image to view

    Image above of Screen shot – test running on other Operating Systems, image shows issue where maths that required the use of functions ‘ceil’ or ‘floor’ were not able to access such functions, only normal sum or subtractions were possible. The ‘Door’ items should be subjected to the maths statement of ‘/2’ however without a ‘ceil’ function the result was 0 and that allowed the Items Object default library system volume size of 1000 to be used. The kicker sizes are of error because the included example .vol files were from the CNR test examples of 2006 or before.

    Click image to view

    Image above of Screen shot – Example of simple filtering / pre-runtime/pre-processing adjustment of vol files that can be achieved without making changes to any vol files, and by using the ‘f12’ Web Browser console (or pre-written Javascript). The simple filtering of vol files can be expanded to filter other information types available to the interface. Targeting KPX data for alteration to filters can be achieved using the functions which are called during processing to retrieve data (eg: end-users can also modify functions of _W, _D, _H, _HF to test the global value of cufile during processing and set the filter as required backing up the previous filter into a global accessible sting so the filter can be restored when not in use is advised). A primary function of the filter is to allow end-user rotation of parts, for grain direction matching. The filter syntax is in the format of vol,record,key,value; and may be expanded depending on value processing.

    Click image to view

    Image above of Screen shot – Testing with online versions of KitCAD i3 KGC rX/r5/r3.

    Further end-user testing has found that 4 lines (a minimum, that could be reduced by scripting to be a file/Object Item name) entered by the End-user is the requirement to produce output. This benefit will allow stand-alone calculations to be performed without restriction of the default sizes imposed from the library system or Object Items them selves which in part is because of the method used to transfer the request (3 transfer types are supported:- eg: text ‘bc’ matching {filename/short-ID is not supported by CutUp MachineIT HTML version at this time}, ‘_’ separated and marked values, library system defaults, or values within kp2 file aka 4 lines).

    The processed output can be modified to produce data exporting formats such as CVS and Tab determined text while retaining the ability to produce end-user supplied quotations, data exporting, price and component lists. Optimization is not required because many software products installed upon various machines will have a sorting function (Machine Software optimization can/may include largest to smallest area, largest to smallest size; and the reverse). A PC based spreadsheet program like Star/Open Office Spreadsheet/Calc (using import/paste-special and sort functions {Descending order for Docs, Ascending order on Rips; or vise versa}) could also be used before machine transmission.

    End-users which find garbled text within a Windows Operating System printed result save file should review Printer driver selection and/or Printer device settings (Control Panel|Printers); See Q127156/kb(127156) for more information/guide using Device Manager as an example of application with similar issue – follow steps to install the Generic/Text Only printer as described.

    See above, or next reply for updates to CutUp Machine-It.

    See KitCAD i3 KGC rX development testing for more information in relation to KitCAD i3 KGC rX.

  2. Admin Says:

    CutUp Machine-It, for KitCAD (HTML Version) will provide a code base and part of application interface that can be recycled to create DrillDown Machine-It function 🙂

    The DrillDown Machine-It function within CutUp Machine-It will be able to process with the new dynamic or existing static *.dri file content; linking dynamic processed .dri files as end-user configured filename like [JOBNUMBER]-[COUNT]-[POS]-[RUN].dri or the existing static non-processed .dri files with matching TAG name.

    NOTE: If included in Public releases; Use of the DrillDown function processed result/s (more so if using dynamic .dri) generating computer created sizes must be avoided where possible at ALL TIMES to avoid injury, avoid risk, and avoid damage to machine and plant or fitness of use (eg: warranties) – as such support for this feature may be limited or removed completely before release. Work practices can be altered to avoid these issues and complex projects that require such support of computer processing should always be re-checked by a human before any use by another (end-user support for the application use on-site is not being offered or provided by the author, and use of static file content which is created by the machine included software is best practice).

    A work-around to no DrillDown Machine-It is to manually alter a CutUp Machine-It data load of kps|kpm|kpe file content and replace the kps content with *.dri file content for processing as the result can be rechecked before before saving/storing as a specifically named *.dri file that can then be sent for final-checking/reuse by another. Suggest loading only the single Object Item for processing. Please note that any work-around of this method will require *.vol file content to also be altered to suit the requirements of processed output.

  3. Admin Says:

    Published non minified version online because of external issues not related to KitCAD or Kitchen Pages. Please note: Re-Opening of saved CutUp generated HTML pages is not supported at the current time without manual editing of the contents; The original txt/KP2 files are to be saved though the use of KitCAD KGC i3 rX.

    CutUp Machine-It online :

    CutUp Machine-It documents : Online User help and information

    CutUp Machine-It in web store : Chrome Web Store **

    ** – Stand alone version, End-users because of not starting from a KitCAD i3 KGC r3/r5/r50/rX window will need to manually paste the contents of a KitCAD2 file into the KP2 textarea provided; End-users may manually enter the required information to produce a simple cutting list result, as the following example:-


    Firefox end-users may need to click the submit button to load the default library system even when opened from a KitCAD i3 KGC rX window, for processing to function; before setting/selecting other options or running of processing load the a user supplied or the default library systems, if required to allow processing.

  4. Admin Says:

    Bug/Issue:- Missing item of door within wc1dp, wc1di, and wc1d
    Description:- Cutup result of 9 lines, should be 10 lines; Cutup failed to list WALL TC Door.

    As a work-around, Edit the files of 81519201192038514161751931513.js (as used for cutup.html), KitCAD i3 KGC {kpd and json files of wc1dp.*, wc1di.*, wc1d.*} and find all lines with text of (json example)

    Change text above to be like the following (increasing item count and adding a null object in last place)

    Code solution (if not performing change above), add the = as an increase for processed loops:-

    Edit the file of cutup.html and find the text of:

    Change text above to be as follows


    The cutup.html file will be updated where required for all downloadable versions, see release notice for more information. Reversing this edit and applying the work-around whist using the updated version would have the effect of stripping benchtop items (and by mistake WALL TC Door)

Leave a Reply

You must be logged in to post a comment.