2015
-
Tomorrow marks the 20th anniversary of the day I joined Autodesk. I know: it's tomorrow, not today, but then you really can't beat good Beatles lyrics (and it hopefully helps reset the cosmic balance after quoting an Olivia Newton John song in the title of the last post ;-). I already used this title – somewhat […]
-
After building a web-site to create files that help make laser-cuttable jigsaws, it made sense to actually go ahead and cut some. In the flesh, so to speak. My initial findings weren't good: I'd assumed that I could output 2D solids from AutoCAD – each representing a pixel to be engraved on the jigsaw – […]
-
We started this series by looking at how to get the centroid of a region, and then how to create text that fits an arbitrary space. In this post we're going to wrap up by looking at the original question of how to resize block attributes to fit their container. The core algorithm is actually […]
-
After going down the path of making this blog responsive, it made sense to do the same for Jigsawify.com: I think it's a really nice illustration of the potential for AutoCAD I/O to use the web-site from your mobile phone to generate a DWG in the cloud. The site itself was functional enough on mobile: […]
-
After the last post, where we saw how to get the centroid of a Region, today we're going to use that information to place some text inside a detected space. To restate our process from last time: The user selects a point Call Editor.TraceBoundary() to determine the containing space Call Region.CreateFromCurves() with the resulting geometry […]
-
This week we're going to look at an interesting problem: how to create text that fits into a particular space. The scenario was originally presented (to me, anyway) by Alex Fielder, early last year (thanks, Alex!), but it's taken a while for me to get to it. Alex wanted to check for the extents of […]
-
I mentioned recently that I'd hit a limitation with the amount of data that could be passed as embedded JSON data to an AutoCAD I/O Activity, and so decided to rearchitect my site to post the data at a URL and have the Activity download and use the data from there. The system worked well […]
-
In the last post we introduced a static C# class containing extension methods for the ObjectId and Transaction classes. The new Transaction methods allow you to more easily "lock" objects, whether because they're "system" objects you want to keep around in every drawing or because they're objects that shouldn't be purged at whim by users. […]
-
This is one of those topics that has been at the back of my mind for a number of years. Here's a question I received via a blog comment back in 2009: I was wondering if there's an easy way to modify the objects to purge. For example, if a particular text style was included […]
-
So yes, I'm back flying again. I'm not travelling anywhere, though. Some of you will remember my abortive attempts at UAV piloting from around a year ago. My Quanum Nova has been gathering dust, since then (it's also in pieces because I tried – so far unsuccessfully – to install a Bluetooth telemetry module). But […]