Tuesday, June 28, 2011

MATLAB Spring Designing Source Code

The MATLAB source code is for designing springs under static pressure load. User choose spring wire material, wire diameter range and load properties. And then by running the code, spring diameter, spring index, effective turns, critical length and pitch will be determined. The code also supports spreadsheet output.

Download SpringDesigning.m

1 KB MATLAB 2008 MFile

Saturday, April 9, 2011

TomyadAuto® Subliminal Concept

Pictures below are generated by primary rendering of Subliminal Concept with higher illumination quality. This is my first experience in using advanced surfacing tools of SolidWorks to model a concept car.



Saturday, February 5, 2011

TomyadAuto® Meson Concept

Meson concept car designing is based on new styles of swept boss feature in SolidWorks.






Wednesday, December 22, 2010

MATLAB Project

Here is the source of Drawing N Cubes function, written in MATLAB 2008. Enjoy the code and try to optimize it.



function lego(w,r,n)
%%

clf
s=0;
for i=1:n
s=s+w/2;
cubeplot(0,0,s,w)
s=s+w/2;
w=w*r;
end
view(45,30)
%%
function cubeplot(a,b,c,l)
hold on
[x,y,z] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+b,(l/2)+b],l/2+c);
surf(x,y,z)
[x,y,z] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+b,(l/2)+b],-(l/2)+c);
surf(x,y,z)
[z,y,x] = meshgrid([-(l/2)+c,(l/2)+c],[-(l/2)+b,(l/2)+b],l/2+a);
surf(x,y,z)
[z,y,x] = meshgrid([-(l/2)+c,(l/2)+c],[-(l/2)+b,(l/2)+b],-(l/2)+a);
surf(x,y,z)
[x,z,y] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+c,(l/2)+c],l/2+b);
surf(x,y,z)
[x,z,y] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+c,(l/2)+c],-(l/2)+b);
surf(x,y,z)
end

end

Saturday, September 18, 2010

TJ Notepad

TJNotepad is a simple and open source java notepad for mobile phones that can open any kind of file in text mode. It is useful to view files using text reading stream.



54 KB MIDP-2.0 and CLDC-1.1

4 KB Sun NetBeans 6.7.1

Friday, September 10, 2010

TomyadAuto® Fedora Concept

Fedora is based on a new way of sketching and designing using SolidWorks. New kinds of material property are used for rendering.







Tuesday, August 24, 2010

Using SolidWorks to design an hourglass


Designing an hourglass by Solidworks is so easy:
  1. Create a 2D Sketch on Front-plane.
  2. Start drawing a glass profile on the plane.
  3. Use Revolve Extrude to create a glass.
  4. Then make a new 2D Sketch on Top-plane for drawing a lid.
  5. Draw a circle on the Top-plane Sketch.
  6. Create the lid via Extruding the circle.
  7. After that use Mirror feature to make the copy the body in other side.
  8. Now you can create a support.
  9. To have three supports, use Circular pattern.
  10. Finally filleting edges.
You can download hourglass sample file and open it by SolidWorks 2009 or higher version and then viewing tree-view to see the design elements and their structure:

Download Hourglass Sample File
.Zip = SolidWorks 2009 SLDPRT file (312 KB)