Pages

Showing posts with label Train. Show all posts
Showing posts with label Train. Show all posts

Wednesday, February 27, 2013

Android Application Programming Basics

Android Application Programming Basics
Today I’m going to share a few of my notes about Android Application programming basics. Recently I’ve been trying to learn how to program Android applications. This post is not directly related to CAD but I will hopefully one day be creating some Android applications for CAD users.

Android Programming Acronyms
  • SDK = software development kit
  • DP = density pixels
  • IDE = Integrated Development Environment
  • UI = User Interface

Android apps are written in Java. I think it’s much harder to learn than writing macros for CATIA V5. When you write a macro, you can type up the code in a simple text editor and it is read top to bottom like a book. When writing code for Android applications, code must be inserted into at least three different locations within the Eclipse IDE software.

Pages or screens in Android apps are known as Activities. An Intent is a communicator with another application and you use it to change screens. To create a new activity right click on package: New>Class. Give it a name and set Super class as Activity, which will be a java file. Each activity needs a layout file (.xml) created by going to New>Android xml. Name it file_name.xml. Xml is a way to organize information with structure (as opposed to just using a text file). The xml file is used to organize the layout and properties of all the text, input boxes, buttons, images, etc. Buttons use a method called OnClickListener.

Alright, that might have sounded confusing to you, especially if you’ve never programmed before, so I’m going to leave it at that for now. Would you like to learn more about Android application programming? Please let me know and I will write more detailed posts. I’ve recently created two Android applications and they are available in the Google Play store for Free here.

In your opinion, what are the best CAD apps out there?

Wednesday, January 9, 2013

CATIA Lego Training Download

lego_cad_software
I’ve long looked for a good LEGO CAD program and today I’ve finally found one. John B Cearns, founder and
owner of Solid Engineering Solutions, has created an outstanding exercise to help students learn how to use CATIA’s Assembly Design workbench while being super fun at the same time.


While building the Lego model you’ll learn how to use catalogs in CATIA to create different Lego blocks in 3D. Not all the parts required to make the Four Wheeler and Rebel Wrecker are present in the CATParts folder. There are 72 parts missing from this folder but they have provided 12 tabulated parts for you to use to easily create the missing 72 parts. Step by step instructions are provided in the documentation for both sets.  The Four Wheeler contains 102 different parts and the total parts are 338. The Rebel Wrecker contains 123 different parts and the total parts are 468.

catia lego model

The free download contains all instructions necessary to assemble the Four Wheel and Rebel Wrecker. Or, if you just want to build the physical Lego sets you could just do that as well using these instructions. Get them here:

After you have created these two CATProduct models, there is a wealth of Kinematics joints you can perform on them: Revolute Joint, Cylindrical Joint, Spherical Joint, Rigid Joint, Universal Joint, Gear Joint, Cable Joint, and Rack Joint. The Lego parts also use a relation law created by a Multiple Value User Parameter to define the color: PartBody.Color = PartBodyColor.

This exercise is a great example if you want to use CATIA or other CAD software as a Lego design software. Many different bricks can be created from the template of a few using catalogs. All around, I highly recommend checking out this tutorial because, as I said, it is a lot of fun and very educational too (and it's free)!

Download the Lego CAD files and instructions here:http://www.solengsol.com/solid_engineering_downloads.htm
Please note: CATIA V5 R19 is required.

Sunday, February 12, 2012

Learn AutoCAD for Dummies Review

AutoCAD is one of the leading 2D software used by engineers, architects, and designers. AutoCAD 2012 for Dummies quickly brings readers up-to-date on the latest version with all the new additions and revisions to the program. This book includes great colored illustrations and tutorials to help users better understand the material. This book was a huge help to me, someone used to running AutoCAD 2005 when I needed to, but am now making the upgrade to AutoCAD 2012. Believe it or not, even with model based definition where data is contained with 3D models, I am still needing to go to AutoCAD from time to time to whip up a quick drawing for a fixture or jig. As a mechanical engineer, it never hurts to stay up to date on the latest software available and this book is a great way to do that.

I do want to note this book is written specially for Windows users (sorry MAC peeps).

Purchase AutoCAD 2012 for Dummies and start learning how to use AutoCAD today!

Tuesday, August 24, 2010

Monday, March 8, 2010

Update on CATIA Train Model

I promise to do a complete "How to" later on, seeing as how this is the CAD Systems Help blog and I don't think I've done much to help other than show off my own work. Here is my progress after about 8 hours of work on the Locomotive 020T Decauville CATIA model, which I uploaded to my 3D Via page. What do you think?