I'm sitting at Geneva airport, waiting to board a Swiss flight to the UK.

I've been hacking away in Python – and now IronPython – for the last few days, which has been very interesting. Here's a quick update on that…

I'm now managing to save out PNGs of the de-skewed portions of perspective photographs with a high degree of quality, if not with exceptional speed. I'll post a little on the approaches I tried out – and settled on – when I get the chance.

It's now time to get the code working inside AutoCAD: I have the basic project set up, and am now working through various minor compatibility issues to get the (pure Python) code to execute inside AutoCAD.

The reason I'm going across to England has nothing at all to do with this, of course. I'm heading over to spend a couple of days with Morgan Motor Company, which is extremely exciting. I have a 1/2 day Morgan 3 Wheeler driving course organised, which I'll follow with a factory tour and a meeting with the design team to understand more about how MMC uses Autodesk software.

I'm expecting it to be a lot of fun. 🙂

7 responses to “Heading to the UK”

  1. Kean, while you are in England please donate something to Coventry City FC. They need every penny and its the most worthwhile charity at the moment.
    Is it possible to get entity grip information (specifically grip location coords) via Interop?
    Enjoy the UK..

  2. Hi Kevin,

    Thanks for asking an AutoCAD-related question in your comment - at first I was sure it was spam!

    Grip information generally isn't exposed via COM. You might try asking via ADN or the discussion groups in case someone there has a suggestion for you.

    Regards,

    Kean

  3. Kean, I am also desirous of a Morgan 3 wheeler, they look to be fantastic fun. The fact that you have been able to frame this as an “Autodesk Fact-Finding Mission” (AFFM) is a bonus; hopefully Carl doesn’t read your blog! Dale

  4. Kean, did you ever load a conventional Python script into AutoCAD, not IronPython? I'm trying to do this now using Python for .NET, it's a bit undermaintained but allows to keep Python C-extension libraries in your application.

  5. They are *fantastic* fun. Apparently they haven't yet made it to Oz, which is a bit of the spanner in the works (for you, anyway).

    I hope Carl does read this blog! 🙂 For sure there's a personal angle to this visit, but I do love a good win-win. 😉

    Kean

  6. I haven't yet tried that: for sure you could call through to a separate executable running the script, but I've now managed to get my Python source working in standalone Python as well as IronPython (more on this soon, very soon). Having it directly inside IronPython means we'll be able to provide more integrated feedback to the user (hopefully via a nice WPF UI - we'll see).

    Kean

  7. Wow, good! Any quick and dirty copypaste code example you can share? I'm trying to present some neat use cases for Python+AutoCAD at the Russian AU in October. Any chance you will visit there, by the way?

Leave a Reply

Your email address will not be published. Required fields are marked *