Tuesday, March 30, 2010

Topic 13: Importing Coordinate Data

Below are screen-shots from a video tutorial I did back in 2006 for some fellow students working on an SAE Aero Design. The purpose of this tutorial is to demonstrate how to import a curve generated from Cartesian coordinate data.

Programs Used:

1. Cam Studio - http://camstudio.org/
- A video capture program. This is very useful for capturing video tutorials.
2.Microsoft Text Editor
3.Microsoft Excel 2003
4.Solidworks 2006: Student Edition (essentially Solidworks 2005)
-I purchased this from http://www.studica.com/ when I was in school. The license only lasted for two years, but it wasn't very expensive and I think it paid for itself.

Interesting Notes:

1. The data must be in a form that Solidworks can read.
2. It is helpful to pass the coordinates through Microsoft Excel, or Openoffice.org Calc.
-----These programs are extremely helpful when adding units or converting formats. To do this, go into the number format and add your units in quotes. (Example: 0.000"in")
3. I also found it helpful to import closed curves as two parts, so nothing weird happens at boundaries that are supposed to be sharp. Open curves don't typically need this extra attention.

Tutorial:


Finding the data:


Step1:
Navigate to the UIUC Airfoil Coordinates Database and download your favorite airfoil.
http://www.ae.illinois.edu/m-selig/ads/coord_database.html
*Note: This step may be skipped if you already have your Cartesian coordinates from some other data collection system.

Importing and Formatting the Data:

Step2:
Open the file with Microsoft Text Editor
*Note: The file extensions for these particular files is *.dat. If you right click and select "open with" then custom, you should be able to select notepad.



Step3: Delete the header information and save as text. The airfoil in this picture is in two sections, the lower camber and upper camber.



Step4: Open Excel, select the Data menu, select Import External Data, then select Import Data and navigate to your text file.



Step5: Select "Fixed Width", and separate the columns. You can also accomplish this by importing the file with tab-delimited, space delimited or comma delimited, depending on how your file is formatted.



Step6: Your data should now be in an X and Y column in Excel. If the data is 2 dimensional, create a third column of zeros (or whatever offset distance you want). Solidworks requires the data in 3D coordinates.


Step7: Highlight all of your coordinate data and format the cells. Select custom formatting and select your significant digits, followed by your units in quotes. (EXAMPLE: 0.000"in") Solidworks requires a units suffix.


Step8: Save this file as a .txt file (TAB Delimited)

Steps in Solidworks:

Step9: Open Solidworks and create a new part.

Step10: Select Insert, Curve, Curve through XYZ points.

Step11: Select Browse, change the filetype to .txt and select the formatted file that you saved. The data should now be imported, and you should see a curve on the screen.


Step12: You can use this curve for lofting, or you can open a sketch and project the curve for editing.

Saturday, March 27, 2010

Item 20. Free and Helpful Programs

Item 20 is probably one of the easiest to cross off my list. See below for my suggestions.

20. Free and helpful programs
-----i. PDF creation

I currently use Cutepdf writer for home use. Why? You can't beat the price, and it's pretty simple to use. It requires that you also install ghostscript, but I think the program now has an auto-downloader.

http://www.cutepdf.com/

This program adds a "printer" to your list of options when you go to the file menu and select print. Its usefulness isn't limited to Solidworks either. Once installed, you can use it to save pretty much any document (.doc, .xls...etc) as a pdf.

There are better options out there if you are looking for more features (encryption, searchability), but Cutepdf has adequately addressed my basic home needs.

Refer to this review for other, better options:

http://www.techsupportalert.com/best-free-pdf-writer.htm

-----ii. Artwork (.ai) files

Many of the keypad and electronics enclosure suppliers that I have dealt with request .ai files for any sort of pad printing, laser etching or label making. This format is derived from Adobe Illustrator, which is a really solid vector graphics tool.

My employer would happily purchase the program for me, but I'd rather not spend the $600 on a personal copy. Solidworks can export to this format, but there is a better option for a personal viewer/editor.

I use Inkscape, an open-source alternative to Adobe. While it isn't a replacement for Adobe Illustrator, it has come a long way in the past couple of years.

http://www.inkscape.org/


-----iii. General System Cleanliness

I have to recommend CCleaner. I used to re-format my computers every year or so, just to make sure that Solidworks had a clean registry and the resources it needed. I don't do that anymore, because CCleaner has helped me keep a tidy registry. It is one of my favorite free programs.

http://www.ccleaner.com/


The same people that make CCleaner also make few other neat tools.
---Recuva - This program is able to restore deleted files. This is helpful in the accidental cases we all come across where we empty our "recycle bin" and realize that we just lost something important.
--Defraggler - Nice little hard drive defragmentation tool.

Anti-virus/Anti-Malware is another necessity these days. There are some wonderful free options.

My favorites:

---AVG-Free: http://free.avg.com
---Avira: http://www.avira.com/
---Malwarebytes: http://www.malwarebytes.org/
---Adaware: http://www.lavasoft.com/
---Spybot: http://www.safer-networking.org/index2.html


Other useful links:

http://www.osalt.com

- Open source alternatives for commercial programs. I check this site frequently because I'm usually too cheap to buy commercial software.

http://www.download.com

- Usually it's possible to find something useful here. Lots of free and trial software.

cout<<"Hello World"; First Post: Background, Purpose and Scope

BACKGROUND:
I've been fortunate to work for two companies over the past 6 years that have had resources and a variety of products. Both places that I have worked have used a multitude of different CAD programs in the past, but eventually they landed on Solidworks.

PURPOSE:
My exposure to a variety of processes and design tasks has afforded me an opportunity to explore some of the lesser-known features of Solidworks. For every given task there is usually more than one method that provides the desired outcome. My purpose with this blog is to highlight some of the procedures that I have found helpful in solving engineering problems.

There are many really good Solidworks blogs out there. I hope that I can be a productive and valuable component of that community.


TENTATIVE PLAN OF TOPICS (in no particular order):
1. Use of patterns.
-----i. Linear
-----ii. Circular
-----iii. By sketch
-----iv. By input values
-----v. Create flexible circuits in Solidworks
2. Master modeling
3. Skeletal modeling
-----i. Solidworks "layout sketch" feature
-----ii. Other methods
4. Deform feature
5. "Shrinkwrap" assembly
6. Rules of lofting
-----i. Use of splines
-----ii. Segmented cross sections and the use of "split-entity"
-----iii.Guide curves
-----iv. Boundary conditions
7. Boolean Modelling
-----i. Multi-body modeling
-----ii. Copy body
-----iii.Combine
-----iv. Value for part organization and model robustness
8. Curves and Split lines
-----i. Projecting curves
-----ii. Using Split lines for masking and coloring of faces
-----iii.Using curves for lofted sections.
9. Sheet metal modeling and conversion
-----i. Design goals: Starting off solid
-----ii. Converting solid to sheet metal
-----iii. Making better looking sheet metal
10. Using Adobe to generate cosmetic colored surfaces
11. Helix tricks
-----i. Garter spring
-----ii.Screw threads.
12. Plastic injection molding and die casting part tips
-----i. Organization of features.
13. Importing coordinate data.
-----i. By txt file
-----ii. By manual entry
14. Tube Coping
15. Assembly Layout
16. Body Move
17. Face Move (Push-Pull modeling)
18. Insert Part into part
19. Surfacing
-----i. Basic tips
-----ii. When to use surfacing
20. Free and helpful programs
-----i. For PDF creation
-----ii.For artwork (.ai) files
-----iii.General system cleanliness
21. Computer tricks
-----i. /3gb switch (for all those 32-bit XP users with 4gb ram)
-----ii. Startup control with msconfig
22. Review of helpful misc. Solidworks features
-----i. Using feature statistics
-----ii. Various analysis tools (Draft, curvature...)
-----iii. Design Tables
-----iv. Tree Organization
-----v. Selecting transparent faces
23. Configurations
-----i. Why use them?
-----ii.How to use them.