Find us on Google+ Inventor Tales

Sunday, January 24, 2010

Autodesk Vault - What's in a (File)Name?

What's in a name? That which we call a rose by any other name would smell as sweet. William Shakespeare

So what is in a name? If you've read the Vault literature, you know that you probably know that Vault uses a database that allows you to search by multiple criteria to find a file.

So now instead of having to recall a file name, you can also use the file properties like author and description (among many more) to search for your files. This greatly increases the ability you have to search for files.

As I've used Vault for my woodshop projects, I've found that I don't have to be as careful with my file names, since I have other ways to search for the file.

But I've also learned that it doesn't mean that I have an excuse to be sloppy with my file names.

Luckily, Vault gives us a way out should we ever become careless.

In this example, I've got a bookshelf that I modeled from some plans in a book for a future woodshop project.

The bookself in Inventor
(click to enlarge)

Okay, it may be distant future, but I swear I'm going to build it someday!

In any case. In this scenario, I've placed my files in Vault, like a good data manger should. But there's a problem.

When I saved one of the files, I forgot to change the default name. I've accidentally given it the name of 'part4.ipt'.



The file unnamed
(click to enlarge)

As I said earlier. This doesn't really bother Vault much. I can leave this file name unchanged, and lead a happy life.

But I also said we shouldn't use Vault as a reason to be careless, especially since Vault gives us a way to change the file name.

Once the file is in Vault, all you need to do is right click on the file name in Vault Explorer, and choose 'Rename'.

Right Click and Choose 'Rename'
(click to enlarge)

The wizard will ask you if you want to add more files to the rename wizard, 'while your at it'. Although for this example, I'm only changing one.

Add files if You'd Like
(click to enlarge)

With this step done, Vault shows you which files it's going to repair. That is, which references will be adjusted to fix the links.


The Link to an Assembly has to be Updated
(click to enlarge)



Next, you can choose what name you want for the new part. Notice that you can also update the part number with the new filename (assuming this is how you number your parts). You can also create part numbering schemes here, if you have another method to number your parts.

Now to Enter the New Name
(click to enlarge)

Now the file's name is changed! But Vault also notifies all the components using the file. So you don't have to resolve links for any lost files due to the rename. Vault takes care of that for you!


And it's done! Notice the 'Rename' comment
(click to enlarge)

You could call it a basic trick, but it's a common thing we all have to do.

And aren't the best tricks the ones that we use day to day?

Tuesday, January 19, 2010

Microsoft Windows Uninstaller - There's always another way.

A computer once beat me at chess, but it was no match for me at kick boxing.

Emo Philips


So this isn't really an Inventor, Showcase, or Vault tip. But it's an issue I've run into a few times, and it's definitely worth mentioning.

Every once in a great while, a Windows program doesn't install, or uninstall correctly.

Okay, the 'virtual peanut gallery'' will probably say 'Jon, that's every time you uninstall a Windows program'.

But what I really mean is, something goes screwy. I mean that you can't install the program because Windows thinks that the program is already installed, but you can't uninstall it because it doesn't show up in the control panel.

Now what?

Well, there are things like using Windows restore points, but let's be honest. But have you used one of those recently?

If the answer for you is 'yes'. Congrats. Pat yourself on the back.

If the answer is 'no'. Welcome to the club, my name is Jon, I'm a charter member. Look me up when you arrive.

That's right, I'm as guilty as anyone.

There's also the 'scorched earth' approach, where you completely format your computer, and reinstall everything.

This can be fun in a 'geeking out' sort of way. It also gets rid of any other 'nasty bits' that could be lurking in your computer. But, it's also time consuming.

But, (eyes dart back and forth quickly), there's another way....

Microsoft issued a little program called Windows Installer Cleanup Utility. You can download it from Microsoft's site by following the link HERE.

Just download and install.


Welcome to potential computer salvation
(click to enlarge)


Next, run the program. It'll show up in your Windows Programs list as Windows

The utility in the Startup window
(click to enlarge)

The program starts, and you'll see a list of all the programs that Windows sees. Many times, the programs that don't show up in the control panel will appear in this window.

Who's the culprit?
(click to enlarge)

Pick your program, uninstall, and now you can try to install again if you need to.

Of course with anything, there are disclaimers. There has to be.

  1. Don't use this instead of the standard uninstall practices. This is only for when the standard methods fail.
  2. Is the program going to fix every install/uninstall issue you're going to encounter? No. Sometimes, it really is that bad, and you may have to try that aforementioned 'scorched earth' policy.

That being said, this utility HAS saved me from having to get more drastic in the past. And this has been a blessing when a reinstall means several hours moving data around and getting a system back up to speed.

So in that sense, I've come to view it as my snowboarding helmet. It only had to save me once to be worth it!

Wednesday, January 13, 2010

Manual Override - Manual Backups in Autodesk Vault



“Expect the best, plan for the worst, and prepare to be surprised.”

Denis Waitley


A few weeks ago I wrote a blog on using a script for an automatic backup.

I mentioned that manaul backups are also possible, and even talked about the steps.

This time, I'm going to go a little deeper into them.

First, a bit of a refresher, and some explanation, on the manual backup process.

One the machine acting as your Data Management Server, open your Autodesk Data Management Console.


When the Data Management Console opens, choose Tools>Backup and restore.



The backup and restore screen opens. This is where you can create, or restore a backup. Today, we're going to create the backup, so choose the 'Backup' radio button.

Click next, and now we get to the core.


First, you can choose a full, or incremental backup. The full backup option does just what it says, it backs up all the data in your database and filestore.

Incremental only backs up only the changes since the last backup. This option cannot be used unless a full backup has been performed first. Today, I'm just going to use the full backup settings.

We can also set the path, which is the location where the files are saved.

Next we have the 'Validate' check box. Setting this will have Vault go back and validate that we have a valid copy. It's not necessary, but I usually set it. You might call me paranoid.

I like to use 'prudent'. It has a much more positive ring instead of the 'eyes darting nervously around' connotations of 'paranoid'.

Last, we have 'Backup Standard Content Center Libraries'. These are the standard nuts, bolts, etc that ship with Inventor. These are read only files that don't change, so the only benefit you gain in backing them up a reduced number of steps should you need to restore a database.

Choosing not to save them can save about 3-5GB of drive space however, so this is worth considering.

Unchecking this box means the Standard Content Center Libraries are not backed up, but should you need to restore a backup, you'll need to grab your Vault disk and reinstall the libraries.

For routine backups, I'll skip the libraries. Disk space is cheap, but not so cheap that I'm going to backup 3-5GB of redundant data every night!

However, if I'm doing a 'test', I'll usually grab the libraries too, if I need to restore, then I can restore in one step.

Then just hit 'Finish', and away your backup goes!


It will finish, and the files will be stored in a directory with a name with the following format.

VaultBackup_2010_01_13_11_49_48_AM

This directory contains all your Vault data. Don't lose this. Treat it like the United States Secret Service treats the 'Nuclear Football' with the nuclear launch codes for the U.S. arsenal.

So, now you've stored your Vault backup under lock and key, safe from harm.

But Why? You might think that with a backup script, why would I ever want to perform a manual backup?

In truth, you may never make a manual backup. But I've found that at least for my own Vault, there are situations that I do go through this extra step. The three biggest situations I can think of are:

1) Pre-migration

When I'm going to migrate a vault from one version to another, I'll make a manual backup.

Why? It ensures that I have the most current data from the moment the Vault was shut down. It also makes sure that if there's anything wrong with the scripted backup, I have an additional fall back point.

That's right, I make a backup for the backup. But my peace of mind is worth it.

2) I'm going to try something 'death defying'.

Sometimes I want to try something with my data that falls into the "It's crazy! But it just might work" column. Typically, it includes manipulating, copying, or deleting data that should address an issue. In theory.

If I create a backup manually. I can safely experiment on the latest data in a test environment until I'm sure it's safe on the live data.

There's that 'peace of mind' thing again.

3) Any time my data and I need a 'warm fuzzy'.

In other words, sometimes my peace of mind is reason enough.

So now, you may find yourself questioning my faith in the Vault backups? You may be asking, "Jon, don't you trust the stability of the Vault backups?"

The short answer. I do trust my backups. As a matter of fact, I can't think of a time when a backup that was properly created failed on me.

But that doesn't mean it'll never happen. It also doesn't mean that the automated backup that's supposed to have been running for months wasn't inadvertently turned off three months ago, and the backups you thought you had, don't exist.

Trust me, I've seen it happen.

So the moral of my story? It's a lot easier to say. 'Don't worry, I made an extra backup just for this situation!" Then to say, "I thought we had a backup, but we don't. We lost 'x' hours of work.'

The latter is particular scary for extremely large values of 'x'.

Think about it.....

Sunday, January 10, 2010

The Measure of a Model - Units in Inventor

“The only man who behaved sensibly was my tailor; he took my measurement anew every time he saw me, while all the rest went on with their old measurements and expected them to fit me.”

George Bernard Shaw


While training a class last week. Employing units measurements in models became the subject of discussion. Mostly it revolved on mixing units.

Here in the United States, we use feet and inches. The most common unit I'm accustomed to when designing is inches. It was the unit I worked with mostly in industry, although I've also done a fair amount of work in millimeters as well.

During our class we talked about how to best use the units in Inventor. And like with so many things in CAD, there's never one right answer. But there are some tools that can be taken advantage of.

Inventor part and assembly all have a default unit. Out of the box, Inventor comes with templates in millimeter and inches, but those aren't the only units you have available.

In your part and assembly files, if you go to Tools>Documents and Settings, you can access the units. Here you can change the defaults unit of a given model file.



The Documents and Settings screen
(click to enlarge)

Now that we've seen how to change the default units of a drawing. If we type in a number. Inventor will assume that the unit we're using is the same as that set in Documents and Settings. (For example, if we're using a document set to inches, typing the number '12' will be interpreted to mean 12 inches in Inventor)

But what happens if we want to use a different unit in the drawing?

Type in the unit at the end of the number. So if we're using the same inch document above, typing in '15mm' will result in Inventor converting the number to .591 inches. In effect, Inventor divides by 25.4 for us, saving us the conversion.


Inventor converting units
(click to enlarge)

By the way, Inventor carries out to twelve decimal places, so the .591 inches you see are just what Inventor is displaying.

What else can you do?

You can create equations to help combine units, and save you the trouble of doing the math. Below is an extrusion with a bit of a whacky equation. '1ft+125mm+3/32'.

(click to enlarge)

Inventor has converted the 1ft into 12 inches, converted the 125mm to 4.921 inches, then done the math to add the 3/32 inches. You can get even more complicated if you need to, Inventor can do quite a bit with units.

So now you can take Inventor and see what you can do with the equations. You can do a lot!

A couple of final notes:

You can also use the 'ticks' for units as well. Try typing something along the line of 4'6" into the dialog box.

Inventor understands that that's 4 feet 6 inches.

And the last note. Don't forget the dimensions we use in the model don't have to appear that way in the drawing. Things like fractions, units, and dual dimensions can all be shown on the drawing using dimension in the drawing. So don't forget you have additional flexibility there too.

Below is an example of a model I created for my woodshop projects. The models are all created in inches, but the drawing units are dual units in decimal inches and fractions.

Why? When I was taking my woodshop classes at the local city college, I found that because of my design work, I liked to work in decimal inches. But many of my classmates worked in fractions. So I created a dimension style to use both!


(click to enlarge)


So that's a little bit on units in Inventor. I like to set my document to the most common unit that I expect to use, then type in the units for anything that differs from that default.

Happy Inventing!

Tuesday, January 05, 2010

A Matter of View Point - View Representations in Inventor

“My movies were the kind they show in prisons and airplanes, because nobody can leave.”

Burt Reynolds

Tonight I decided to try my hand at creating another video. It's been a while, but it's always fun to create one when I have a spare evening.

I created this video based on the 'Night Stand Project Reviewed' blog I created earlier this week.

In particular, I'm referring to where and how I used view representations.

Anyway, a picture is worth a thousand words! So check out the video below. I hope you all like it!

Jonathan

Monday, January 04, 2010

Hindsight is 20/20. The Night Stand Project Reviewed

"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning."

Jiddu Krishnamurt

Well, I finally made it! The nightstand is modeled, it's drawings completed, and now it's checked into Vault Manufacturing. I'm reviewing the files for missing dimensions and the other little things, but the heavy lifting is over!

The nightstand rendered in Autodesk Showcase

(click to enlarge)

So what are some of the lessons learned in this particular affair?

Here's the list:

  • Every time I check a file into Vault, a version is created, I don't want to have 20 versions of the file inside Vault

True, every time you check a file into Vault, you're going to create a version. There's no denying that. It's also true that this takes up more disk space (because of the multiple copies) than just saving the file into the workspace, and overwriting it on subsequent saves.

I know that I'm guilty of having a visceral twitch to creating extra versions. It's like admitting that the previous version had something wrong with it, and I hate making mistakes.

However, I also found through this exercise, that I rarely, if ever, regretted having the extra version. It gave me fallback points when I made a mistake, and also let me rest assured that when I backed up my Vault to my external drive, the latest versions of my files were being backed up with it.

Lastly, don't forget that you can purge old versions when you're done. So while you might have 20 versions of a file, that doesn't mean you have to keep all 20 versions of the file

So I came to the conclusion that in the long run, the versions aren't as bad as they sound. On the contrary, they can save you a ton of time.

  • Take advantage of all the tools you have at your disposal.

At first blush, this might think that this project was pretty simple. Almost every component is rectangular. It doesn't get any simpler than that! But there were definitely some tools that I found very useful, that I hadn't planned on using.

  • View Representations. The floor of the night stand has fasteners in it that are used to connect the back panel. But when dimensioning the actual assembly, I didn't want the fasteners shown in the view. I created a View Representation that allows me to make them invisible for that view.

View Rep with hardware on

(click to enlarge)

View Rep with hardware off

(click to enlarge)

  • Promote/Demote Components. I changed my mind on BOM structure more than once during this project. I decided that a component that was originally in Subassembly 'A' would be better placed in Subassembly 'B'. Recall that you can drag and drop a component from one subassembly into another.

(click to enlarge)


  • You can't beat doing it right the first time

Okay, this is a little tongue in cheek, but I'll own up to the fact that I didn't bother to put things in the correct folder every time, or ignored a misnamed property or two because I knew that Vault would let me fix them later. I usually did this when it was getting close to midnight and I was just trying to 'squeeze out' one or two more files.

While that's true, and Vault did allow me to move and rename files without much hassle (which is one great advantage of Vault), I still had to go back and make sure to perform all the corrections that I'd let slide because I got a little lazy.

So one of my New Years resolutions is going to be; If I tell myself 'It'll be okay for now', rethink it. It very well might be okay for now. But then again, when I have to go back and make the changes, I might also be grumbling about 'why didn't I just get it right the first time?'.

There're some of the lessons learned. I'm definitely planning on expanding on these lessons a bit. I'm sure there's going to be more learned as I perform my review

Happy New Years, everyone! Here's to a great 2010!



Monday, December 28, 2009

I'm ready for my close-up. Generating Stills from Autodesk Showcase.

“I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.”

Albert Einstein


I'm back from my snowboarding trip, and it was a great trip. But alas, all good vacations must end.

With Christmas now over, many of us wait calmly for New Years to come around. In my case, I started reflecting on some of the challenging questions I was asked over 2009.

Here's an interesting one.

"How can I batch publish still images from Showcase?"

I had to think about that one a bit. I've never tried it. I tend to be a 'shot at a time' type of guy.

There isn't a button like File>Batch Render, or similar, so the head scratching began.

It turns out, that there is away, although it's not 'in your face obvious'

You can create a series of stills by using the Save As Movie option!

At first, it might be a little non-intuitive. After all, a movie implies motion, not stills. But a movie is just a series of stills moving so quickly that there's an illusion of motion. This is where we can take advantage of some Showcase settings.

The first thing you want to do, is create shots at the angles you want to see. Create as many as you need.


(Click to Enlarge)

This will get the proper shots, but watch out, the number of stills created is based on these things.

1) The type of transition between shots. I can't say I know all the ins and outs of this one, but if the shot has a transition set to use any type of animation, you'll get extra frames there as well.

2) The frame rate rate the movie is set for.

If you have Showcase set to animation frame rate, you'll get a still for each frame. For example, if your frame rate is set at 25 frames per second, you'll get 25 stills for each shot! Obviously, that's going to increase your render times dramatically.


To address item 1, right click on each shot, and choose 'Properties'.

(Click to Enlarge)

Once in properties, change the Transition setting to 'Cut to Shot'. This will eliminate extra shots created by the transition.


(click to enlarge)

Now the renders can be saved out as stills. Go to File>Save Movie As. The following screen pops up.
Notice that the frame rate has been reduced to just 1, and that 'Image Sequence' is selected. Also, the 'Create movie of' option is set to 'All Shots Separately'.


(Click to Enlarge)

Now when you choose 'Save Movie', you'll get the following in your destination directory.



(Click to Enlarge)

Notice that you'll still get an extra shot. There's an extra shot for the beginning of the sequence. I haven't yet found a way to eliminate that one.

But if you need to generate several renders that might take a while, such as big images with ray tracing. You can let your computer work away while you're out doing other things.

Like what? For me, that either means snowboarding or heading out to Planes of Fame for a little volunteer work after Christmas.

While I was there, I grabbed a picture of the Museum's P-26 Peashooter with my cell phone.


(Click to Enlarge)

Built in teh 1930s, it boasted innovations like all metal construction. About 150 were built. Now only two are left. One is in the Smithsonian, and the other is in Chino, California.

Only the one in Chino (pictured here) is flyable.

That's it for now!

Happy (almost) New Years everyone!




Saturday, December 19, 2009

Happy Holidays!




“Celebrate the happiness that friends are always giving, make every day a holiday and celebrate just living!” Amanda Bradley


Today, there's no big post on Inventor, Showcase, or Vault.

Today, I'm packing up and heading for Mammoth Mountain for some snowboarding!


(click to enlarge)

I'll be back Christmas Eve, in time to do the holiday thing with the family.

Look for some blogs after that!

Happy Holidays!


(click to enlarge)

Tuesday, December 15, 2009

Addendum: The Importance of Being Earnest (about Autodesk Vault Backups).



“Trust, but verify.”

Damon Runyon



Sometimes you need a little help from your friends.

One of our applications engineers, Mike Carlson, sent me an e-mail reminding me of two more switches that can be added to your Autodesk Vault backup scripts, discussed in the blog 'The Importance of Being Earnest" here.

Here are the additional switches he sent me.

  • -VAL Validates the backup. Errors are recorded in the specified log file.
  • -INC Performs an incremental backup. Tells Vault only to backup files that have changed.
Thanks for pointing that out, Mike!

Thursday, December 10, 2009

The Importance of Being Earnest (about Autodesk Vault Backups).


Rule: 13 Always have a plan.
Rule 13.1 Have a back-up plan, because the first one won't work.

Marine Corps saying

I have to confess that I'm about as guilty of this as anyone. But when is the last time you verified that you were backing up your data. Really? Seriously?

This could be your personal photos, bank records, or engineering data. Think for a moment. What would happen if the hard drive in your computer suddenly ground to a halt?

The thought is pretty scary, isn't it?

We should always be backing up our computers. Always. It could be as simple as going to Best Buy, getting an external hard drive, and copying files to the drive every week.

In this document, I'm going to talk about backing up your Vault. It's a little more advanced than just copying and pasting the files from one place to another, but once dialed in, it's very robust.

And if you want to make sure your data can survive any unforeseen issues, it's necessary.

The most straight forward way is to open up the Autodesk Data Management Server (it will be located on the computer hosting your Vault, and performing a manual backup through the graphical user interface (AKA GUI).


Step 1: Locate the Backup and Restore tools
(click to enlarge)

Step 2: Choose backup.
(click to enlarge)

Step 3: Choose your backup destination
(click to enlarge)

This can be pretty effective, however, it also relies on the user being diligent about kicking off the backup. If you want to automate the process, you can use a script similar to the one below.

This particular script creates what is called a cascading backup. That is it keeps two versions of the backup. For example. If you're running a backup every night, the backup in folder 'A' is the most current backup. The backup in folder 'B' is one day old.

When the backup runs again, the following process happens.
1) Folder 'B' is purged
2) Folder 'A' is renamed to Folder 'B'
3) A new Folder 'A' is created with the most recent backup.

In this way, the backups cycle through, keeping two versions on at all times. In addition, these files can (and probably should) be automatically copied to another storage device external to the machine. This ensures another level of protection should the server hosting the data have a catastrophic failure.

Here's an example of the script I use. My comments are in red. The script is in green.

@ECHO OFF <=Turns off command reporting on screen
REM DELETE B AND CASCADE A BACKUP SUBDIRECTORIES
RMDIR /Q /S "C:\Backup\Vault\B" <= Removes old Folder "B"
REN "C:\Backup\Vault\A" "B" <= Renames Folder "A" to Folder "B"
REM CREATE A NEW DIRECTORY FOR THE BACKUP


MKDIR "C:\Backup\Vault\A\" <=Creates new Folder "A"
REM START THE BACKUP PROCESS (THIS IS ONE LINE OF TEXT)
"C:\Program Files\Autodesk\ADMS Manufacturing 2010\ADMS Console\Connectivity.ADMSConsole.exe" -Obackup -B"C:\Backup\Vault\A" -VUadministrator -VP -DBSC -S

Here are the switches defined.

Connectivity.ADMSConsole.exe <= Vault Executable

-OBackup <= Tells Vault this is a backup operation "C:\Backup\Vault\A" <= Tells Vault backup location

-VU <= Key for Vault Admin username (in this case "Administrator)

-VP <= Key for Vault Password (in this case no password is used)

-DBSC <= Tells Vault not to backup standard content center libraries. This makes for a faster backup taking up less disk space. You can always add your libraries from the installation disks if you need to restore.

-S <= Runs silently. No dialog boxes are shown when this switch is included.

More information on the script can be found by going into the Autodesk Data Management Console help system, and searching for "Command Line Backup".

Save this as a file with a *.bat extension, and run it as a scheduled task in Windows. Different operating systems vary slightly, but here's a link to how to set one up in Windows XP.

Last but not least. Once the script starts running, make sure to verify that it runs correctly and backs up data! Please!

Some of the things I've seen:
  • The Vault backup script seen listed in scheduled tasks. Not recognizing it, it's removed without verifying what it's used for. No backup is made for around 6 months!
  • The VaultAdministrator password is changed. However, the -VP switch in the script is not. No backup created!
  • The backup location runs out of disk space. This isn't caught.
  • Vault is upgraded and moved to a new directory. The script is forgotten and isn't upgraded.
The moral of the story? Verify your backups periodically. It takes a few minutes, and can save countless hours of headache, and heart ache.

If possible, you can even restore the backup on a second machine, just to ensure your backups are valid and there are no corruptions during the backup.

You might call me paranoid, but as a good friend in IT once asked me, "Have you ever wished you hadn't made a backup?"

Sometimes, a little paranoia can be a good thing!

Monday, December 07, 2009

Autodesk Manufacturing Academy - Looking Back



“The Internet is becoming the town square for the global village of tomorrow.”

Bill Gates


I did something this weekend I rarely do. I took a vacation! Since I was on a snowboarding trip at Mammoth Mountain, there isn't much on the tech tip side.

But, there is something that is worth talking about.

With Autodesk Manufacturing Academy finished, the team here as been busy creating recordings of the lessons taught there for download by those who attended.

But..... For a limited time.... From the KETIV Technologies news desk..... The Sheet Metal videos are available for download for everyone!

You can read the press release HERE. The link is on the release. Be sure to check the archives! That's where the files are located!



A picture from the AMA site. Look in the Archives section
(click to enlarge)

Take a look! We're really excited about it.

Oh, and as for that snowboarding trip.... The snow was icy, and the wind was howling so badly that we only were able to go up one day.

Here's a picture of the aborted day two. You can definitely see why we avoided that one!


It wasn't actually snowing. This is ALL the wind!
(click to enlarge)


Wednesday, December 02, 2009

Greetings from KETIV at Autodesk University.



It's rather like attending a university seminar where you are talking to a few gifted specialists who deliver a paper to an audience of their peers. That's one way of making music.

Gavin Bryars


Nothing major going in this blog, but a big thanks to Mike Carlson of KETIV for taking these pictures from Autodesk University in Las Vegas!

I wasn't able to make it this year, but I'll be making it up with a weekend snowboarding trip to Mammoth Friday!

Here's an engine and propeller that were created in a 3D printer. (Wish I could look at that up close!)


(click to enlarge)

And in another note, Inventor turns 10 years old this year. it's hard to believe it's been that long. That was last millennium! When I actually had hair!

Of course there has to be cake!


(click to enlarge)

As AU2009 draws to a close, I hope everyone who made it had a great time and learned a ton!

Monday, November 30, 2009

Defining Inventor Parameters. Making Inventor Remember, so You Don't Have to!


If you want to understand today, you have to search yesterday. ~Pearl Buck


Every once in a while, I run into one of those things that I've done so many times, that I take it for granted. But that's when I realize my assumption is really keeping a secret that shouldn't be kept.

This is one of those cases.

I've been working on and off (since I was on vacation, you could say more 'off') on my night stand for what is a future wood shop project. Actually, it's probably more like a distant future wood shop project!

At least give me a little credit. I've already built one night stand!



(click to enlarge)

If you've worked much in wood, the three dimensions that you can't avoid are 'Length', 'Width', and Thickness. In this project, at least one thing is certain. There's a lot of things that are related to one of these major dimensions.

Take, for example, the back panel shown here. I've colored it brown to make it stick out. It's compose of a panel, enclosed in a frame of rails (the horizontal pieces), and stiles (the vertical pieces).

And before you wordsmiths start pointing out that I've misspelled 'stile'. In word working, the 'stile' is the correct spelling for this part.

'Style' is what the finished night stand has, as in 'Wow, that night stand has some style!"


(click to enlarge)

The panel slides into slots cut into the rails and stiles.


(click to enlarge)

The thickness of the rails and stiles are all .750 inches. I want the slot to be .250, or more precisely, 1/3 of the thickness of the rails and stiles that frame it.

Of course I could just build the slot, and type in '.250' to create the slot. After all, the math is pretty easy, right?

But what if the thickness changes? It's possible. Then I have to make sure that I remember to change the thickness of the slot to respect the '1/3rd rule' I've decided on.

Here's an easier way to remember that. Make Inventor do it!

When I built the part, I created parameters for Length, Width, and Thickness, among others. Here we're just going to focus on thickness, which is set to .750 inches

(click to enlarge)

Editing the sketch that defines the slot, I can see that I've have it set to .250 inches, but there's no intelligence to it, I've just done math metally, and typed in the value.


(click to enlarge)

But, if I right click in the white field where the dimension is located, I have an option to 'List Parameters'.

(click to enlarge)

If I choose this option, Inventor will show all the parameters that I've renamed from their default d(X) values.

(click to enlarge)

I can now just select the parameter I want to build from, in this case 'Thickness', divide by '3', and I have that intelligence built in now.


(click to enlarge)

Should my value change for any reason, the slot thickness will update to reflect that. Here I've changed the Thickness to 1.5 inches (way to thick in reality, but it shows the update nicely). You can see that the slot thickness has changed appropriately.


(click to enlarge)

There you go! A little way to capture your design intent, and maybe for that, 'I must have forgotten to change THAT!' moment

Happy Inventing!


Sunday, November 29, 2009

Working with files in Showcase. The Beauty of Simplicity.



“Our life is frittered away by detail ... simplify, simplify.” Henry David Thoreau

Since my last blog post, I've found myself working with Showcase lately on some projects. During this time, I've found myself trying to answer the age old question: How much detail is enough?

In Inventor, my answer has always been: 'Exactly as much as is needed to build the part, and not one bit more'.

When I say this, my goal here is the perfect point where there is enough detail to remove any ambiguity in the design intent, but not so much detail that you spend a bunch of extra time building unnecessary features into a model.

For example, do you REALLY need to put .010 radius fillets to show that you've broken the sharp edges, or will a note do the job just fine? Likely, a note is sufficient in most cases (although I'm sure there are exceptions).

I can't share the particular components I was working on in this case (sorry, I promised the guys who own the files), but imaging an assembly that requires a certain amount of detail to be manufactured correctly, number of parts, detail of parts etc.

But when I imported it into Showcase, the performance takes an immediate turn Southward. Just importing it took forever (like an hour), and manipulated it was painful.

So, what to do? When it comes right down to it, I didn't need to see that much detail in Showcase, after all, what is the end game for Showcase? A good looking rendering.

So instead of using the assembly, we created a single component that had what I'll call the 'macro details'. Everything that you'd need to see to make a good Showcase rendering, but eliminating the small details like screws and internal components, that will never be seen anyway.

Sure, this took a little bit of up front work, but think of it like building a fixture for a long run of parts in the shop. The time spent up front will save a lot more time, money, and heartache, than it costs you.

Sure enough, in my case, the import took much less time (on the order of a few minutes), and was much easier to manipulate than the large assembly.

Ultimately, it saved me time, and of course headaches. And I can definitely use a few less headaches!

Sunday, November 22, 2009

Where to Put that Widget? Bill of Materials Organization



“The secret of all victory lies in the organization of the non-obvious.”

Marcus Aurelius - Roman Emperor



Over the weekend, I was working on a night stand for a future wood shop project (all I have to do is get the tools for the shop!).

During the ongoing design, I ran into an interesting challenge I hadn't really put too much thought into previously.

The table top is an assembly of components, in this case, four boards. The lower table on the other hand, is a separate assembly comprised of several components and subassemblies.

(click to enlarge)

Joining the two, are four plates of metal called 'desktop fasteners' (click here for a picture). Essentially you screw into the end table from one side, and the table top from the other, joining the two components.

The first issue I had to resolve was the lack of a CAD model. I couldn't find one. Given the simplicity of thet part. I modeled my own, and put it into Autodesk Vault. Now I'll have it for all time. So long as I follow proper backup practices, of course!


(click to enlarge)

But my next issue was how to organize it? I thought about putting it into the lower table assemlby, but it isn't really a part of that, after all, what if I choose to put a different table top on it, and decide to fasten it in a different way?

Hey, anything is possible. Plus I want to keep flexibility in mind, right?

The same goes for the table top. What if I use the same subassembly elsewhere, with a different fastening technique? I don't think it's likely, but experience has taught me that 'not likely to happen' can be very different from 'not going to happen'.

Looking at that, I took the 'sleep on it approach'.

For once, sleeping on it was the right thing to do.

I woke up in the morning, and the answer seemed clear to me, even before coffee.

Why does it have to belong to either assembly? Why not put it at the top level, or general assembly?

I couldn't think of a reason why not. After all, this means that both the lower table and table top keep the flexibility they need, and the overall design intent is kept.

(click to enlarge)

I think to myself as I rub the sleep from my eyes. 'That'll work!"

So that's how the night stand goes together. Since the desktop fasteners are actually sold with the two screws, they become a subassembly of the plate and screws, and they're placed at the top level.

(click to enlarge)


Done! Whammo. For the way I wanted to organize things, it really does work!

Wednesday, November 18, 2009

But it didn't do that Yesterday! The Laptop to Brick Conversion Utility



1 definition

Bricked refers to any piece of technology which is unable to operate due to bad software. This could be your iPhone, Tivo, PSP, Xbox, or a variety of any other devices. Often times this occurs because you tried to upgrade the firmware to something that didn't come from the manufacturer.

Bricked - Also known as what happened to Jon's laptop Tuesday morning. I went to start it and nothing. It just sat there at the black bios screen, the hard drive spun hopefully, and then silence.

In the blackness of a bios screen, nobody can hear you scream... or curse.

Just what I wanted for the holidays! A laptop shaped paperweight! The USB ports aren't even powered, so I can't even charge my phone. This totally eliminates the possibility for me to make sarcastic jokes about my ultra expensive phone charger!



Is this the final destination for my laptop?

After trying it a few times hoping 'it'll be different this time', I give up. I get it back to the office in preparation for shipping to the 'elves of laptop repair'. I get a loaner machine for the time being.

Fortunately, I have most of the system backed up. So while I may lose some data, I'll still have to most critical data. Thank goodness for those backups! Still, I'll have to configure several things to get the loaner functional.

So this morning, we walk in, and decide to try repairing Windows, taking the 'we can't make it any worse' methodology of computer repair and diagnostics.

I hit the start button and all of a sudden, there's a merry whirring of a hard drive, and the Windows Vista icon. It's booting! It's been magically healed and raised from the dead!



It's ahhhlive!

How this happened, I don't know, I'm not sure, and I'm not arguing. I'm currently finishing up a check disk and defrag of the system, not to mention some much needed file maintenance.

Oh, and make sure to backup the remaining files too!

Go figure. I've never seen a system 'unbrick'.