KitCAD i3 Libsys 3.0

lse353637.kp2

Planning two Major upgrades that may occure over the last few months in 2008 (Began planning mid September for December release):

1] KitCAD i3 Libsys 3.0 to match the 2007 win version of KitCAD 2.27v5 Libsys 3.7 (requires alot of re-editing of WO, FRI, RH, UBO, DW files).

2] Addition of the ‘long awaited’ User option for Adding Library Files (with VRML and EST) to KitCAD i3

🙂

13 Responses to “KitCAD i3 Libsys 3.0”

  1. Admin Says:

    Added (1 above) the WO, FRI, RH, UBO, DW, SINK, HP files (with panels missing) to the folders of Objects, Quote, and VRML97. After testing the new object items will be posted within the Appliance drop-down selection listing of KitCAD i3.

    Started re-working on the pre-existing parts of an importing system (2 above).

    Also Updated MediaWiki 1.12.0 -> 1.13.1; and OpenIDEnabled 2.1.1 -> 2.1.2.

  2. Admin Says:

    In the quest to render LibSys 35->37…

    Raised the i3_image3d.php memory allowance from 16M to 32M (Issue: image3d.php); and added code to support missing colours (was causing Issue: lights3d.php) for WO, FRI, RH, UBO, DW, SINK, HP, WALL, FLOOR, KICKER, INFILL, PANEL, GREY, and all other to Black (rgb254,254,254).

    Uploaded screen shot of a test for the lse353637.kp2 example as rendered by KitCAD i3 using image3d (and 32M; was 16M without object items listed above). The KPD and VRML files for the Object Items above still need work (KPD incorrect 2D, and vrml/x3D/phpgd with missing panels in 3D); then – refine placement.

    🙂

  3. Admin Says:

    Added a Last-Modified and File name support HTTP headers to get.cgi as:

    HTTP/1.1 200 Default
    Date: Tue, 23 Sep 2008 09:23:03 GMT
    Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
    Information: KitCAD i3
    Content-Encoding: ISO-8859-1
    Content-Disposition: inline; filename=bc2di_1000w_600d_903h_0hf.kpd
    Last-Modified: Sat, 03 Nov 2007 04:50:40 GMT
    Cache-Control: max-age=604800
    Connection: close
    Content-Type: text/plain; charset=iso-8859-1

    PS: Other headers can be added by using .htaccess or .conf server methods. On the Linux Gentoo with an Unknown browser client may also get a Content-Length header on the 2/3/4th ping. On ‘some’ systems by default the data is chunked and/or closed (thus no real need for Content-Length and/or Connection in these cases because its being handled by the process of reply to the requestor client, and catche systems – along with status of 202, 204, 205, 206, 301, 302, 304, 307, or 404. The default returned by the get.cgi script is always 200; even with error).

  4. Admin Says:

    Added Content-Length and Vary headers to web server (not KitCAD i3, read-on).

    Updated the web server root hosting server paths of /root/htdocs/* to now allow ALL web based clients capable of the Inflate function to aquire negoation for a Deflate option with “some” file transfers (Still remarked out for KitCAD i3 download examples; un-remark if your server supports Deflate).

    The path of /root/htdocs/library/i3/* will now (if .htaccess is modified); would append the header value of Vary: User-Agent to Objects/get.cgi transfers as an example (no Encoding) while transfers that Deflate would be marked Vary: Accept-Encoding,User-Agent. The paths of /root/cgi-bin/* and /root/htdocs/*tmp/* does not have Deflate enabled by default in KitCAD i3 download examples.

    The .htaccess Deflate function is currently remarked in KitCAD i3 because it is already enabled on the web server from /root/htdocs/*

    Modified .htaccess to Un-remark, and modify the following lines as shown below (in the /root/htdocs/.htaccess file on this Unix Gentoo Apache box):-

    <ifmodule mod_deflate.c>
    ###Compressing with mod_deflate
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE application/json
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/javascript
    ###No need to compress images
    # AddOutputFilterByType DEFLATE image/gif
    # AddOutputFilterByType DEFLATE image/png
    # AddOutputFilterByType DEFLATE image/jpeg
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    ###Uncomment the next line Insert filter to compress everything except images
    ###SetOutputFilter DEFLATE
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4.0[678] no-gzip
    ###for IE use !no-gzip !gzip-only-text/html options ONLY if Deflate is turned ON, default is OFF!
    BrowserMatch ^Internet\sExplorer no-gzip gzip-only-text/html
    BrowserMatch \bMSIE no-gzip gzip-only-text/html
    BrowserMatch \bMSIE\s4 no-gzip
    BrowserMatch \bMSIE\s5 no-gzip
    BrowserMatch \bMSIE\s6 no-gzip
    ## # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
    ### the above regex won’t work. You can use the following
    ### workaround to get the desired effect:
    BrowserMatch \bMSI[E] no-gzip gzip-only-text/html
    ### Don’t compress images
    SetEnvIfNoCase Request_URI \
    \.(flv|gif|jpg|jpeg|swf|avi|mov|zip|tlb|jar|ico|exe|ocx|cab)$ no-gzip dont-vary
    SetEnvIfNoCase Request_URI \
    \.(vbs|gz|inf|rdf|ini|txt|wrl|x3d|x3dv|pdf|xaml|hmf)$ no-gzip dont-vary
    SetEnvIfNoCase Request_URI \
    \.(svgz|wrlz|wrz|x3dz|x3dvz|x3dbz|z|tar)$ no-gzip dont-vary
    ### Make sure proxies don’t deliver the wrong content
    Header append Vary User-Agent env=!dont-vary
    </ifmodule>

    Results in change to transfer sizes of KitCAD i3 Ads xhtml from 10Kb to 4Kb. Other browsers may vary.

    Special Note: Other IE 5/6 Browsers may require the no-gzip gzip-only-text/html option without the leading “!” symbols depending only when the Server is set NOT to DEFLATE anything, the default above is using AddOutputFilterByType DEFLATE to only Deflate selected types.

    Windows systems may find the SetOutputFilter DEFLATE method (and/or MSIE/Internet Explorer options of !no-gzip !gzip-only-text/html) works while AddOutputFilterByType DEFLATE method shown above will not.

    For more information see mod_deflate.c

    It should be noted the KitCAD i3 download examples include the option of mod_gzip.c along with mod_gzip_item_include mime commands (if present, for just some files like images which could get compression of 2, not 9) that could cause errors/clock use if mod_gzip.c and mod_deflate.c are both active (Un-remarked and actualy working) at the same time upon the same transfer; But “it may” be possible (something not advised) to allow encoding of gz, transfered using compress methods as an example.

  5. Admin Says:

    Finished first working tenative Alpha release of the KitCAD i3 Library System (libsys = NS 12th September -> ALPHA 26th September 2008->12th October 2008; Removed OSI and public distrabution option in sight of getting Completed code at 48% of inital NS to speed development time from years/months/days into hours of copy+paste em.. until debugging or running). Will review security and then implement simple intergration with Kitchen Page and KitCAD i3 users (with new links, options, and more functions).

    A converter for KitCAD i3 KPD file upload will allow generation from data created by KitCAD 2.27 v5 and KitCAD 1.19 to also be uploadable. This means that KitCAD 1 EST, DAT, KPTG, KPT, KPI, KPR, and KitCAD 2 INF files types will be converted by a KitCAD i3 KGC js based single web page around 60Kb/120Kb in size; The output will save files ready for uploading as KitCAD i3 KPD files.

    After the above – or – before, some bling will be used to identify the LibSys i3 screens from others of the same design/colours/look.

    🙂

  6. Admin Says:

    Upgraded get.cgi to allow LibSys i3 user over-rides. (the got.cgi ‘k’ and ‘i’ values match get.cgi ‘k’ and ‘i’ values)

    Added got.cgi to the /library/i3/Objects/ subfolder.

    got.cgi allows webserver versions * of KitCAD i3 to return data.

    2004-2007 (standalown – no user)
    src=”./vrml97/bc2di.js”
    src=”./quote/est_bc2di.js”

    USING GOT.CGI (no user)
    src=”../Objects/got.cgi?t=vrml&r=bc2di.js”
    src=”../Objects/got.cgi?t=quote&r=est_bc2di.js”

    USING GOT.CGI (Authorised user)
    src=”../Objects/got.cgi?t=vrml&k=81519201192038514161751931513&i=72151920&r=bc2di.js”
    src=”../Objects/got.cgi?t=quote&k=81519201192038514161751931513&i=72151920&r=est_bc2di.js”

    USING GET.CGI (Authorised user, upgraded to allow LibSys i3 overrides)
    src=”../Objects/get.cgi?k=81519201192038514161751931513&i=72151920&r=bc2di.kpd”
    src=”../Objects/get.cgi?k=81519201192038514161751931513&i=72151920&j=1&r=bc2di.json”

    * NOTE: A real “standalown” single web page version of KitCAD i3 does not exist at this time in the public domain, and if it did – would NOT use get.cgi or got.cgi scripts.

    WARNING: do NOT export the PASSWORD, as given by switch value “i” in URL’s “got.cgi examples” above. KitCAD i3 exporter script loads use i=1 instead of i=72151920 to prevent generating output files on the server that contain the users account with authorised password.

  7. Admin Says:

    Postponed an upgraded full i3 release to mid 2009 (no major re-write for additional functions like libsys).

    Updated files will appear in the KitCAD i3 browser/linux/xampp over time.

  8. Admin Says:

    Have made major corrections to KitCAD i3 KGC KPD files (removed 90Kb of spaces). Other changes were made to LibSys online processing to account for corrections; and fixing \n to \r\n.

    Corrected fault with ubo.kpd (see bug fix).

  9. Admin Says:

    LibSys function within KitCAD i3 online was disabled by mistake 🙁 in a past update – it has now been enabled again.

    Uploaded a clone system of LibSys that is named VolSys (aka online MachineIt/Cutup file storage) for later release within KitCAD i3 after more testing

  10. Admin Says:

    Updated KitCAD i3 got.cgi for getting stored LibSys (ImgSys) graphics. See detailed help for got.cgi

    Testing further before making changes to KitCAD i3 graphics path information 🙂

  11. Admin Says:

    A LibSys bundle (basicly the same as previous versions but includes both i3 *.JS and 2.27 *.INF files in the same Installer) has been Re-released in the 2010 download version of KitCAD2G*.zip

  12. Admin Says:

    got.cgi update

  13. Admin Says:

    The File LocalHost TEST version of KitCAD i3 KGC now supports basic LibSys editing functions.

    See :-

    Form Object Editor Interface to edit KPD files.

    KPT Editor Interface to edit a *.KPT shape.

    Script Editor Menu Interface to convert INF file data from KitCAD 2

    Javascript editor Interface to edit the known functions within standard KitCAD i3 KGC *.JS files.

Leave a Reply

You must be logged in to post a comment.