JavaScript
-
This was a fun one. It was really only a single line of code but I decided to embellish it a bit to make it a bit more useful. The "task" I set myself was to open a web-page – this blog, in fact – inside AutoCAD as an MDI child. AutoCAD can now host […]
-
The "call for proposals" for AU2014 is going out on April 23rd and will remain open for about a month. This is approaching quickly, so get your thinking hats on if you're considering submitting a class proposal. From my side I'm thinking about a few possible topics: Implementing a tangible user interface for AutoCAD using […]
-
We first introduced a JavaScript API into AutoCAD as a "preview" in the 2014 release. Take a look at this post for more details on this implementation. In the 2015 release the API has matured in a number of key ways, making it really ready for primetime usage. Firstly it's been made much more robust: […]
-
It's been a really interesting and productive few days here in Tel Aviv. In a sense it was too short a trip – I was penned in by commitments during the weekends either side of it – but despite that a lot was achieved. I didn't get to see very much of the city – […]
-
The Tinkercad team have been busy enabling an interesting new capability in their product called Community Shape Scripts. As I've mentioned before, for some time it's been possible to make Shape Scripts public for other Tinkercad users to inspect and learn from, but now it's even easier to share – and to discover – interesting […]
-
So after several posts leading up to the big reveal, as it were, in today's post we're going to see the full "De-skew Raster" application in action – and give you the complete source to fool around with. The main addition over where we were in the last post is the HTML5 and JavaScript UI […]
-
As part of the project I'm working on to deskew perspective images and insert them as RasterImage entities inside AutoCAD, I spent quite some time migrating pure Python code – a good deal of which I had to create for various assignments as part of the linear algebra class I've now finished – for it […]
-
After my initial fooling around with combining the Leap Motion JavaScript library with Paper.js – and some gentle prompting from Kerry Brown – I started looking at how it might be possible to integrate Leap Motion support into the Meta Balls and Voronoi samples from the Paper.js website. These are both somewhat more complex samples, […]
-
Today marks the public release of the Leap Motion controller: people who pre-ordered devices will start to receive them today, so it seemed a good time to post something related to it. Last week I came across a really interesting JavaScript library called Paper.js. According to its website, it's "an open source vector graphics scripting […]
-
After working out how generally to use Brandon Cole's Shape Script code to display mathematical shapes in Tinkercad, I carried on looking for some interesting functions to "plot". I ended up finding definitions for two Cinquefoil knots, specifically the (2,5) and the (5,2) variations (I also tried the (5,1), but that ended up looking just […]