PPT-CADjs
Author : stefany-barnette | Published Date : 2016-06-01
Warnings Errors Comments and Variable Naming CADjs Warnings Missing semicolon Warning No warnings Missing Missing CADjs Errors No warnings Misnamed function
Presentation Embed Code
Download Presentation
Download Presentation The PPT/PDF document "CADjs" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
CADjs: Transcript
Warnings Errors Comments and Variable Naming CADjs Warnings Missing semicolon Warning No warnings Missing Missing CADjs Errors No warnings Misnamed function No warnings. Area & Volume. g = cube(1);. g.display. ();. g = cube(1);. g.displayTransparent. ();. Area & Volume. g = cube(1. );. Area & Volume. g = cube(1).difference(cube(2,0.5,0.5. ));. g.display. ();. Cloning . and for loops. wheel, hub and spoke assembly. g1 = cube(5);. g2=cylinder(1,20);. g3=cylinder(1,20);. g4=cylinder(20,2);. g5=cylinder(10,2);. g2.rotateX(90);. g3.rotateZ(90);. g=g4.difference(g5);. Functions. Assignment Review. Functions in CADjs. Lets Start with the Human. body . = cube(1,6,2);. head. = sphere(1.5).translate(0,4.25,0);. rightLeg. = cube(1,4,1).. rotateX. (45).translate(0,-4. ,-. 3D Solids. There are . 6 primitives . that CADjs supports. That is all you will need to create . complex shapes.. Variables. a=2 1;. g1=cube(a). g1.display();. Looks the same as cube(1), but is bigger. CADjs. Complex Geometry. More Triangles . . Slower CAD. Tip 1: Start with Coarse Model. 5 seconds. 20 seconds. Tip 2: Choose primitives carefully. Cube: 12 triangles. Cylinder. Sphere. Tip 3: Merge versus Union.
Download Document
Here is the link to download the presentation.
"CADjs"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.
Related Documents