Permalink
Browse files

Tidying up

  • Loading branch information...
1 parent 6fff73d commit 337036575fbc7e3902fabc2df000f179d9702957 @gregsaul gregsaul committed Oct 15, 2012
Showing with 0 additions and 6,418 deletions.
  1. BIN {distribution → }/.DS_Store
  2. +0 −7 data/README
  3. BIN distribution/codethread-0.1.1/download/codethread-0.1.1.zip
  4. +0 −75 distribution/codethread-0.1.1/examples/Hello/Hello.pde
  5. +0 −670 distribution/codethread-0.1.1/examples/simpleCube/code01.txt
  6. +0 −76 distribution/codethread-0.1.1/examples/simpleCube/simpleCube.pde
  7. +0 −132 distribution/codethread-0.1.1/index.html
  8. +0 −31 distribution/codethread-0.1.1/reference/allclasses-frame.html
  9. +0 −31 distribution/codethread-0.1.1/reference/allclasses-noframe.html
  10. +0 −770 distribution/codethread-0.1.1/reference/codeThreadLib/library/CodeThread.html
  11. +0 −32 distribution/codethread-0.1.1/reference/codeThreadLib/library/package-frame.html
  12. +0 −153 distribution/codethread-0.1.1/reference/codeThreadLib/library/package-summary.html
  13. +0 −146 distribution/codethread-0.1.1/reference/codeThreadLib/library/package-tree.html
  14. +0 −170 distribution/codethread-0.1.1/reference/constant-values.html
  15. +0 −142 distribution/codethread-0.1.1/reference/deprecated-list.html
  16. +0 −209 distribution/codethread-0.1.1/reference/help-doc.html
  17. +0 −267 distribution/codethread-0.1.1/reference/index-all.html
  18. +0 −36 distribution/codethread-0.1.1/reference/index.html
  19. +0 −148 distribution/codethread-0.1.1/reference/overview-tree.html
  20. +0 −203 distribution/codethread-0.1.1/stylesheet.css
  21. BIN distribution/codethread-0.1.2/download/codethread-0.1.2.zip
  22. +0 −75 distribution/codethread-0.1.2/examples/Hello/Hello.pde
  23. +0 −670 distribution/codethread-0.1.2/examples/simpleCube/code01.txt
  24. +0 −76 distribution/codethread-0.1.2/examples/simpleCube/simpleCube.pde
  25. +0 −132 distribution/codethread-0.1.2/index.html
  26. +0 −1 distribution/codethread-0.1.2/reference/package-list
  27. BIN distribution/codethread-0.1.2/reference/resources/inherit.gif
  28. +0 −310 distribution/codethread-0.1.2/reference/stylesheet.css
  29. +0 −203 distribution/codethread-0.1.2/stylesheet.css
  30. BIN examples/.DS_Store
  31. 0 examples/Hello/Hello.pde
  32. +0 −1 examples/README
  33. 0 examples/simpleCube/code01.txt
  34. 0 examples/simpleCube/simpleCube.pde
  35. +0 −6 lib/README
  36. BIN library/.DS_Store
  37. +0 −202 readme.html
  38. BIN reference/.DS_Store
  39. 0 {distribution/codethread-0.1.2 → }/reference/allclasses-frame.html
  40. 0 {distribution/codethread-0.1.2 → }/reference/allclasses-noframe.html
  41. 0 {distribution/codethread-0.1.2 → }/reference/codeThreadLib/library/CodeThread.html
  42. 0 {distribution/codethread-0.1.2 → }/reference/codeThreadLib/library/package-frame.html
  43. 0 {distribution/codethread-0.1.2 → }/reference/codeThreadLib/library/package-summary.html
  44. 0 {distribution/codethread-0.1.2 → }/reference/codeThreadLib/library/package-tree.html
  45. 0 {distribution/codethread-0.1.2 → }/reference/constant-values.html
  46. 0 {distribution/codethread-0.1.2 → }/reference/deprecated-list.html
  47. 0 {distribution/codethread-0.1.2 → }/reference/help-doc.html
  48. 0 {distribution/codethread-0.1.2 → }/reference/index-all.html
  49. 0 {distribution/codethread-0.1.2 → }/reference/index.html
  50. 0 {distribution/codethread-0.1.2 → }/reference/overview-tree.html
  51. 0 {distribution/codethread-0.1.1 → }/reference/package-list
  52. BIN {distribution/codethread-0.1.1 → }/reference/resources/inherit.gif
  53. 0 {distribution/codethread-0.1.1 → }/reference/stylesheet.css
  54. +0 −29 resources/ChangeLog.txt
  55. +0 −123 resources/build.properties
  56. +0 −369 resources/build.xml
  57. +0 −231 resources/code/ExampleTaglet.java
  58. +0 −18 resources/code/doc.sh
  59. +0 −29 resources/install_instructions.txt
  60. +0 −310 resources/stylesheet.css
  61. BIN src/.DS_Store
  62. BIN src/codeThreadLib/.DS_Store
  63. BIN src/codeThreadLib/library/.DS_Store
  64. 0 src/codeThreadLib/library/CodeThread.java
  65. 0 src/codeThreadLib/library/ThreadCommands.java
  66. +0 −132 web/index.html
  67. +0 −203 web/stylesheet.css
File renamed without changes.
View
@@ -1,7 +0,0 @@
-the data folder:
-If your library is using files like images, sound files,
-any data file, etc., put them into the data folder.
-When coding your library you can use processing's internal loading
-functions like loadImage(), loadStrings(), etc. to load files
-located inside the data folder into your library.
-
Binary file not shown.
@@ -1,75 +0,0 @@
-/**
-* codeThread - simple cube example
-* by: Diatom Studio (diatom.cc)
-*
-* A simple example of using codeThread to generate tool paths or printing a simple cube and raft on makerbot
-*
-*
-*/
-
-import codeThreadLib.library.*;
-
-CodeThread codeThread = new CodeThread(this);
-
-void setup() {
- size(300,300,P3D);
-
- codeThread.setDefault(); // set your craft robo to default settings
-
- //generate a cube
- float sideLen = 30; // lenght of the cubes side
- float headSpeed = 1556.0f; // speed that the extruder head will travel at whilst printing
- float zPos = 0; // keep track of the z pos of the extruder head
- float zStep = 0.35f; // the amount to move up each step on the z axis
-
- //generate a raft
- codeThread.generateRaft(sideLen +5, sideLen + 5, 560,1500, 2.5f,1.5f); // generate a raft generateRaft(raftWidth,raftLength, headSpeedBottomLayer,headSpeedTopLayer, distanceBetweenSlatsBottomLayer,DistanceBetweenSlatsTopLayer)
- zPos = 1.27;// after drawing the raft our new zheight is 1.27(mm)
-
- for(zPos = 1.27; zPos < sideLen ; zPos+=zStep) {
-
- //move the extruder head to each corner of the box
- codeThread.moveTo(-(sideLen/2),-(sideLen/2),zPos,headSpeed);
-
- codeThread.extruderOnFwd(); // start extruding, now we're at the start point
-
- codeThread.moveTo((sideLen/2),-(sideLen/2),zPos,headSpeed); //whilst extruding move extruder to 2nd corner
- codeThread.moveTo((sideLen/2),(sideLen/2),zPos,headSpeed);
- codeThread.moveTo(-(sideLen/2),(sideLen/2),zPos,headSpeed);
- codeThread.moveTo(-(sideLen/2),-(sideLen/2),zPos,headSpeed); //back to the start,
-
- //now we have a square, step up in the z direction and start all over again
- codeThread.extruderOff(); // stop extruding
- }
-
- codeThread.printToConsole(); // print to console
- codeThread.writeToFile(sketchPath +"/code01.txt");
-}
-
-
-
-
-void draw() {
-
- //make things pretty, rotate and zoom to see cube
- smooth();
- background(255);
- pushMatrix();
- translate(width/2,height/2);//center at 0,0
- rotateX(PI/4);
- rotateZ(PI/4);
- scale(3.5f);
-
- //draw the platform
- noStroke();
- fill(220,220,220);
- rect(-(80/2),-(80/2),(80),(80)); // draw the makerbot platform for reference
- stroke(255,0,0);
-
-
- codeThread.render(); //render the tool paths
-
-
- popMatrix();
-}
-
Oops, something went wrong.

0 comments on commit 3370365

Please sign in to comment.