My man Rusty Belcher from our office in Virginia Beach posted his annual video holiday greetings card today via Autodesk Inventor. Thought I would pass it along to everyone. Kind of cool huh? Merry Christmas everyone.
You may have already received it, but we sent out an email Holiday greeting to our clients. In case you didn't get it or in case you are currently not on our mailing list, I wanted to reach out and make it official to my readers. Happy Holidays from IMAGINiT Technologies!
When you first commit to the goal to run a marathon, buy your own home, or lose 50 pounds, you're ecstatic. You can't wait to get started on making your dreams a reality.
You might throw away all the junk food in your house, download a diet plan online and get a personal trainer. But after a few weeks, or even days, your preliminary enthusiasm wears off and you start thinking about whether this is really worth it.
A long-range goal is the destination, or what you want to be able to do over a long period of time. Goals are broad, long-range aims that are difficult, if not impossible, to measure incremental successes.
But when you get there; when you have achieved that goal, that feeling of accomplishment is bested by very few other things in life.
Four years ago we delivered my son to the freshman dorms at Eastern Kentucky University with a new set of new golf clubs and the objective of completing a degree and a membership into the PGA .
This weekend we were able to watch him don cap and gown and walk across the stage to claim a Bachelor of Science in Marketing as a Class "A" PGA professional.
Here is to one goal achieved; and new goals to discover and reach for.
Now onto some news:
Unless you are paying close attention, some of the coolest stuff Autodesk does can sneak by you without your knowing. Autodesk Labs is constantly debuting preview technology that enhances current software, utilizes the cloud and otherwise amazes and surprises.
One of these previews that have kind of gone unnoticed would be of particular interest to folks who use Autodesk Inventor Publisher. The free Autodesk Inventor Publisher "Publish to Social" technology preview allows you to directly post the animations you've created in Autodesk Inventor Publisher desktop software to YouTube and Facebook.
Included is a new publish wizard that gives you step by step control for publishing print, movie and interactive formats from Inventor Publisher and it gives you the ability to create and use different custom presets to publish following your corporate standards.
Watch Steve Bedder's overview and grab the preview here.
While this is completely viable code, it could get really long and confusing making modifications difficult, so it may be easier to emulate table functionality with in a little more efficient code. Try this little iLogic exercise and let me know what you think!
Start a new IPT or IAM file and create three numeric parameters. Make sure the "Size" parameter is a multivalue list that contains all of the size values you wish to utilize and is set to "unitless". Don't worry about the values of MajorDia and MinorDia, we'll set those with the iLogic code.
Create a new iLogic Rule called "Table" and add the following code:
MultiValue.SetList("Size", 14, 16, 18)'''add more sizes to this sequence as needed
PublicSubNew( MinorDiam as Double, MajorDiam as Double, PartNumberAsString)
Me.MinorDiam = MinorDiam
Me.MajorDiam = MajorDiam
Me.PartNumber = PartNumber
That should do it. You have the makings of a table-driven part or assembly without attaching or referencing a spreadsheet!
Finish the table by adding additional lines for the sizes you need between my comments. Now selecting a new size from your parameter list will cause the diameter parameters to update as well as update the part number. Special thanks to thanks to Mike Deck at Autodesk for the idea!
What do you think? Would automation like this work for you?
For this experiment I have some geometry that must maintain a particular weight as my part changes. As features are added, subtracted or modified the diameter of the large outer cylinder is the variable that must change to meet the target weight.
To make it easy to modify the critical values of the part I've created a few user parameters and assembled them together in a nice tidy little form.
The code will evaluate the "mass target" value and begin to increment the outer diameter up or down until the value matches the actual mass (or as close as it can get within the given increment).
The user can make multiple changes to the variables and with one click of a button find the new value of the outer diameter!
To facilitate the experiment I created one custom iProperty called "Weight" that I will reference in the form. (I could use the actual "lbsmass" iProperty value from the model but this method will allow me to control the rounding factor of the value with a line of code).
I created some custom parameters and linked the model parameters to them accordingly:
Finally I added an iLogic rule that will do all the work:
iProperties.Material = Material
If iProperties.Mass < TargetMass Then While iProperties.Mass < TargetMass Diameter = Diameter + .031 RuleParametersOutput() InventorVb.DocumentUpdate(True) End While
ElseIf iProperties.Mass > TargetMass Then While iProperties.Mass > TargetMass Diameter = Diameter - .031 RuleParametersOutput() InventorVb.DocumentUpdate(True) End While End If