Archive for the 'Windows' Category

Take your 3D graphics to the next level, trueSpace 7.6 released, for FREE!

I’ve been a fan of trueSpace for years (I’ve been using it since version 2 hit the shelves!), the software from Caligari Corp is a medium to low end (cost wise) 3D modeling and rendering package that has an excellent feature set, is compatible with most industry standard file formats and is extensible through addons. I’ve used it both personally and professionally for various purposes. I just got an email from Caligari this morning stating that the latest version, tureSpace7.6, has been released to everyone for free! Not only that, but the training videos and manual are included as well! AWESOME!!

trueSpace may be daunting for those who are not familiar with it’s user interface, but once you get used to how tools and tool bars are arranged, it becomes much more intuitive than you may originally think. Since I haven’t used a new version since trueSpace 5.5, looks like I’ve got some catching up to do. They’ve added tabbed interfaces for views so that you can switch between workspaces and multi-angled model views and a panel with library browser and settings tabs. One of the reasons I’ve stuck with version 5.5 for so long has been that it can import stl, igs and other industrial modeling files. I use these at work to render products that are in concept phases of production or that we can’t get samples of in time for photos we may need. Unfortunately, this doesn’t seem to be supported under the new version. Guess I’ll have to keep digging to see if I can find out anything more about this.

Here’s How To Make An Extension Compatible With Prism (Two-ish)

I know it’s been a while since I’ve posted. There’s been a lot going on - school, work, home, you get the point. Anyway, I’ve been trying to keep my last post on how to make extensions compatible with Prism up-to-date, but this is turning out to be a difficult task. So I’m just going to post new instructions as needed. Basically, everything remains the same but the version string changes. The DOM inspector is the key to figuring out the correct target to put into your extension’s install.rdf. Clear as mud yet? Well, let me lay out the steps for you again here.

Step 1
Navigate to the Prism installation directory, in Windows this is:
C:\Program Files\Prism\

Open up the extensions folder, then the DOM inspector extension folder:
C:\Program Files\Prism\extensions\inspector@mozilla.org

Now open the “install.rdf” file and find this section of code which can be used (usually) as-is in most extensions pasted in the right place (just use the extension’s preconfigured targets as your guide on where to place it):


<em:targetApplication>
<!– Prism –>
<Description>
<em:id>prism@developer.mozilla.org</em:id>
<em:minVersion>0.4</em:minVersion>
<em:maxVersion>1.0.0.*</em:maxVersion>
</Description>
</em:targetApplication>

Step 2
Open up your extension’s xpi file using 7zip or your favorite archiving tool and extract the install.rdf file.

Open that install.rdf file with a text editor (other than notepad which doesn’t understand the line breaks used by other editors) and find the area where it lists the installation targets and insert your copied text into that or modify one of the install targets with the appropriate information from the DOM inspector extension install.rdf file.

Step 3
Install the extension. This will get tricky due to the way Prism’s developers have modified the profiles and what not. Well, I say that, but it really only gets that tricky if you’re manually installing the extension. Prism developers have seen fit to include the Addons menu item from the Prism menu in the lower right of Prism’s window to help things go more smoothly.

One of the ways to use this new install feature for an extension is globally, which means all webapps will be able to use the extension. This is the least preferred manner due to the fact that you won’t want all extensions available for all webapps in most cases. An example would be having the Better Gmail extension available for Bloglines - don’t think that’s real necessary, do you? So plan accordingly.

Using the second, and more preferred method, you just open your webapp. Open your webapp’s Addons panel, then install by either dragging and dropping the extension onto it, or by clicking the “Install…” button and navigating to the extension and selecting it for installation.

Conclusion
That should be about it. My next Prism post will be about how to make one of two stand alone Firefox/Prism exention webapps - POW local server or Scribefire standalone webapp. Stay tuned, we get to play with chrome!!

Links:

Prism

Quick Registry Hack to Add a Command Prompt to Folders

cph_capEver want a command prompt in a folder and didn’t want to install the Command Prompt Here power tool from Microsoft? Well you’re in luck cause there’s an easy way to add a right click menu item that opens a command prompt for the folder you’re clicking on (lots of good information in that link).

Go to:

HKEY_CLASSES_ROOT\SOFTWARE\Classes\Directory\shell\

Add a new key called “cmd” and set it’s default value at”Command Prompt Here”. Then to “cmd” add a new key called “command” and change it’s default value to “cmd.exe /k pushd %L”. Do the same for:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell

In other words add the “cmd” and set it’s default value, then add “command” to that and set it’s default value as above. Or you can download this reg file (CAUTION! Event though I use this myself, editing your registry may be really bad. Like no more using your computer bad. DON’T ADD THIS UNLESS YOU KNOW WHAT YOU’RE DOING!!):

MyCommandPromptHere reg file

In order to remove these entries, you can manually delete these keys, or you can right a reg file that looks like this:

[-HKEY_CLASSES_ROOT\SOFTWARE\Classes\Directory\shell\cmd]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd]

Neat eh? To remove registry keys, just create a plain text file, paste in the registry entry you want to remove, add a minus sign in front of the key and inside the bracket, and save the plan text file with a “.reg” extension. Run the file and presto, no more entry. Almost scary how easy that is…

I’ve included the above code already in the 7z file with the MyCommandPromptHere.reg as well, and you can find out a little more about modifying registry entries here. Enjoy!!