AJAX

  • [This post continues from part 1 of this series. The source for the below applications is available here: DWF Toolkit application source, Design Review application source & Freewheel application source.] Mining the data with the DWF Toolkit Now we're going to look at using the DWF Toolkit – the freely available, cross platform toolkit for creating and reading DWF files – to extract the "identity" and "material" metadata associated with our geometry. The DWF Toolkit is a C++ toolkit, so we have two components to our project: A C++ DLL that uses the DWF Toolkit to read a DWF, storing…

  • I decided to go ahead and put a test page together for the DWFRender Web Service. It still wasn't feasible to make it part of the blog itself, given the issues with scripting, particularly, but I've included the files here for you to download and run locally: Download freewheel_web_service_test.zip There are three web methods called by this code: pdkVersion - gets the version of the PDK on the server (a string value) pageCount - gets the number of pages for a particular DWF file (an integer value) load - gets more detailed information about each page in a DWF (a…