Archive for the ‘Linux’ Category

Autodesk takes AutoCAD and Revit cross-platform

Wednesday, March 31st, 2010

Update: Most of my speculations in this post turned out to be incorrect. Read more here.

I’ve had a draft of this blog post lying around since May 2007. When I first started it, it was titled “AutoCAD on alternative platforms”. It was mostly my thoughts on why it would be good for everyone involved if Autodesk decided to make AutoCAD run on systems other than Windows. Last week, with release of 2011 line-up of its products, Autodesk has deprecated that blog post.  It no longer is a question if Autodesk is going to offer their main products to customers running “alternative” platforms. Now it is just a question of when is it going to be officially announced. If you can’t wait to dump Windows and only AutoCAD/Revit are holding you back, read on and see what the future holds.

Why do you think Autodesk is working on cross-platform versions of AutoCAD and Revit?
A few reasons actually, but one of them leaves no doubt. AutoCAD and Revit 2011 ship with a few core files of the Qt framework. Qt what? I recommend you click the link and read a bit more but long story short it’s a library for building user interfaces that runs on wide range of platforms. All the major desktop ones (Windows, Mac Os X and Linux), but also a number of mobile and embedded systems.

Oh really? How can you tell ?
Go to the main application directory of your AutoCAD or Revit 2011 and see if you can find those files: QtCore4.dll, QtGui4.dll and QtXml4.dll. There you go. The core of the Qt framework inside your Autodesk product. What more evidence do you need?

Seriously? Do they use it already?
Seems like they do. Here’s an error message that was displayed when I renamed one of those files inside the Revit 2011 installation:

Revit error message - Qt library file missing

Revit error message - Qt library file missing

OK, but why does it mean that they *will* release those products on other platforms?

Because that is the only reason that could justify using Qt. It simply wouldn’t make sense to waste time and money to migrate away from native Windows API and not take advantage of what Qt offers. Thanks to using Qt the same code base can be used to build an application running on different platforms, which means reaching new customer base at minimal expense. Seriously, using Qt and not going cross-platforms would be like buying a plane to use it for drag racing instead of flying.

What do you mean by alternative platforms?
Qt can run on pretty much anything that runs on electricity, so possibilities are endless but I think that Autodesk will just dip their toes in cross-platform development by releasing those products on Mac OS X. It already is a reasonably sized market with a high growth rate, so in makes a lot of economic sense. Hopefully, later they’ll also decide to go to Linux as well, but I wouldn’t hold my breath waiting for that to happen.

Why wasn’t it announced officially?
I don’t know, ask Autodesk. Seriously… go and ask. Call, email, send a pigeon. I guess it just the usual mixture of politics and marketing. The news that Maya 2011 is getting a Qt UI was made official long time ago. I hope that we’ll hear more news during the April 19th event but nothing is guaranteed, and even though I would be really disappointed there is a chance that nothing will happen in the 2011 product cycle. We’ll see.

What does it mean in terms of UI look and feel? Is it going to change a lot?
Certainly not in the 2011 cycle since that ship has sailed, but even later not necessarily. It is possible to mix elements of Windows toolkit with parts using Qt framework – Qt widgets can live inside traditional Windows interface and the other way around so the Windows version doesn’t have to change in a major way. I expect the Windows versions to evolve around the same concept that Autodesk was trying to get us used to for the last few versions. Fear not, the ribbon is here to stay.

It’s a different story on the Mac. Qt hasn’t got an equivalent of the ribbon in its toolbox so it will be either replaced by a bit more traditional UI or recreated as a custom widget (which I find hard to believe). With Maya 2011, Autodesk decided to use Qt only on both platforms and it makes a lot of sense if you decide to start from scratch. In case of AutoCAD and Revit both of which have just got nice new interfaces it would be a bit of waste of time and money and in my opinion a step back in terms of visual quality. Below you can see screenshots of the new UI for Maya running on Windows and Mac OS X. I’m not hugely impressed with the result, but for Maya it is probably a step in a good direction. For AutoCAD and Revit that would be a big regress. You shouldn’t also judge Qt by what you see below. It is a very flexible and a highly customizable toolkit and the quality of the interface created with it is completely up to the developer.

Maya 2011 running on Windows

Maya 2011 running on Windows

Maya 2011 running on Mac OS X

Maya 2011 running on Mac OS X

Is Qt the best solution? Cross-platform vs native?
Good question. Unfortunately it is quite hard to define best. In a perfect world, without lawyers and accountants, best would mean fully native version of given application on every platform. While not very cost effective, this is the solution that guarantees the best possible integration of the application with surrounding environment. There are some good examples of this approach. Microsoft’s own Office 2011 for Mac OS X is created as a native Cocoa application. As you can see on those leaked screenshots, they have even recreated the ribbon! Mac version of Mindjet’s MindManager is also a completely native port, providing Mac users with an interface that provides experience similar to other Mac apps. That would be the best solution in a perfect world but that’s not where we are. We already know that Autodesk has gone the Qt way, so let’s just hope that their developers do a good job and get the best out of what they have to work with.

OK. What else?
Have a look here. It’s a web page that lists all the LGPL libraries that Autodesk is using. Since they chose to use the open source version of Qt they are legally obliged to redistribute the libraries that they use. That page alone wouldn’t mean much, since Maya 2011 also has a Qt UI, but we’ve already established that AutoCAD and Revit 2011 actually include those files in the default installation. It will be interesting to keep an eye on this page and see what other open source software Autodesk is going to use.

Final words
Back in 2007 when I researched the topic of AutoCAD running on Linux and Mac, I was hugely surprised with how aggressively current AutoCAD/Revit users were opposed to the idea of Autodesk bringing those products to other platforms. A lot of CAD “pundits” have been displaying an incredibly hostile attitude claiming that by investing in alternative versions of its products Autodesk would lose focus and the quality and the pace of development would suffer from that. This was a very strange thing to see since it pretty much meant that there is a lot of people that are not really happy with the quality/feature set of Autodesk products but they still use them for some reason while waiting for Autodesk to magically fix them. Some of those opinions sounded so demanding that it was obvious that their authors thought that by buying a product they gain shareholder-like powers and rights. I’m happy that Autodesk seems to have ignored those lunatics.

I really hope that Mac OS X versions of AutoCAD and Revit will be announced soon. I’m pretty sure that majority of Autodesk customers will appreciate the freedom of choice of the system in which they have to work every day. A lot of users that have been running Autodesk products in virtualized environments will be relieved that they don’t have to compromise on speed and system integration. For me it means that I’ll be one step close to the dream of coming to work and not booting into Windows.

How much confidence do I have in what I have written here? Well, if I had some loose cash lying around I would certainly buy some Autodesk stock. Implications of going cross-platform will certainly sound very optimistic to investors and once it is all officially announced I’m sure the price of Autodesk shares will go up, probably quite a bit.

Oh, one more thing. If you actually know that anything I have written here is wrong, let me know. I’ll be happy to either correct it or admit that my predictions have been wrong.

Update: I have just confirmed that the same set of Qt files can be found inside Inventor 2011 as well. Looks like Autodesk is planning to go cross-platform with the whole product line. I love it. The sooner the better.

Links:

Qt framework website: http://qt.nokia.com

Examples of Qt application: http://qt.nokia.com/qt-in-use/target/desktop

MS Office 2011 for Mac gallery: http://www.boygeniusreport.com/gallery/?gallery=23&pid=295

Open source libraries used by Autodesk: http://www.autodesk.com/lgplsource

Disclaimer:
All information included in this post comes from publicly available sources and in best case can be considered as bold speculation. I have no privileged or inside information. All opinions expressed here are my own and not those of my employer or Autodesk Inc.

Psycho in a dark themed Gnome

Thursday, December 6th, 2007

Recently I have been seeing a lot of dark themed screenshots and I think I could get used to that. But you know what I could get used to even easier – not coming to the office every morning to start my Windows machine. Somebody put me out of that misery, please…
Click the image for a full size screenshot.

Click for full size screenshot

All sorts of things…

Wednesday, September 26th, 2007

Amazon selling DRM-less mp3
Good on ya, Amazon! I have gone straight in and bought an Elvis Costello’s album (which I highly recommend) with songs that I already owned on CDs but didn’t bring them over from Poland. It will be nice to listen to them again. I have paid US$8.99 for 22 songs which is a lot of bang for a buck… In order to download the whole album you’ll have to install the Amazon mp3 Downloader – currently available for Windows and Mac with a Linux version coming soon. After songs are downloaded they are automatically imported into iTunes and are ready for upload to the iPod. Theoretically the service is limited to US but it’s not verified otherwise than by a zip code matching to a state. So, if you’ve ever seen fabulous adventures of Brandon and Brenda, you’ll have no problem coming up with a zip code that you can easily match with appropriate state. Anyways, seems like Apple will have to rethink their ugly monopolistic strategies. Cool stuff…

My progress with leukemia
Well, if you look at my results it seems like I haven’t got it any more. Of course it’s not that simple. The Philadelphia chromosome is still there and if I stop taking drugs it screw my blood picture back again. The only real way to get completely cured is getting a bone marrow transplant, but that is not really possible at the moment. But the drug works fine and hasn’t got any really sever side effects. From what I noticed so far I’m getting tired very quickly. Usually around 2 p.m. I am so sleepy that I have problems keeping my eyes open. Also, if I don’t eat enough before taking the drug I feel pretty sick, but that is easy to avoid. The problem is that a lot of food together with a constant feeling of being tired doesn’t really improve my fitness.

Immigration stuff
I have finally decided that I haven’t got much energy to spare and decided to get a lawyer and allow him (in this case her) to get it sorted for me. It’s going to cost a bit but at least it’s one monkey off my back. That should give me some peace of mind. I hope it’s worth it because if I get kicked out I’ll find myself in a real financial black hole – with no income and a lot of things to pay for.

Hacking on Psycho
Yes, I’m back to it. Again… Currently I’m working on a style manager and at the moment I’m writing it as a separate application. After I figure out how exactly I want it to work I’ll plug it into the rest of the project. I just wish I wasn’t so tired in the afternoon so I could focus a little better and do some more work.

CAD on Linux
This is something that, because of my job, interest and education, I really care about. That topic appears here and there (and even here – btw, some really stupid comments here) from time to time and then disappears without any constructive result. In my opinion this whole thing boils down to two separate issues. No proprietary CAx (CAD/CAM/CAE) system running on Linux (Solaris, BSD, whatever) being one of them and no free and open source CAx that could replace (not even remotely) proprietary applications on the other side. Big dry desert and no hope for rescue. On top of that there is one more battle to lose. DWG seems to be the standard format for CAD data. Everyone who wants to exist in CAD has to work with DWG. Now, rumor has it that Autodesk has DWGx file format in works. Basically CAD equivalent of Office Open XML. The problem is that there is no ODF in CAD, so if Autodesk decides to standardise it they will have a much easier job then MS with OOXML. OK, enough about that for today. I think that I have a long post about it coming pretty soon…

Update: 
Seems like Amazon has done something to restrict mp3 downloads to US only. I get a “geographic problem” message when I try to download anything.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes