Tuesday, September 10, 2013

Previewing litophane using Blender

Previewing litophane using Blender


  1. Blender 2.68
  2. Stl generated from litophane processing script

  1. Previously, we have generated the litophane stl file e.g. shown below
  2. Launch blender and delete the default cube.                                                                                       
  3. File -> Import -> Stl(.stl) -> Import Stl. You will get something as shown below:              
  4. left click anywhere below the object and click on space. Add "add lamp" in the search. Select sun
  5. Click Rendered.                                                
  6. Enjoy your rendered litophane! ;)

Creating litophane with 3d printers

Creating litophane with 3d printers

  1. Processing
  2. 3d printer
  3. Processing script http://adf.ly/VTuNW modified from Amanda's Lithophane

  1. Convert your photo to grayscale
  2. Open the script in Processing
  3. Insert your filename in "filename.jpg".String name = "your_file_name_here";//name of file
  4. Run
  5. The stl file will be generated. Open it using stl viewer softwares such as netfab, google sketchup or blender.

Compiling Spinscan in Windows

Compiling Spinscan in Windows


  1. Processing 1.5.1
  2. Additional Processing Libraries
  • OpenCV 1.0
  • controlP5
  • unlekkerLib
  • SuperPoint

  1. Download processing 1.5.1 from : http://adf.ly/VTr5V
  2. Download all other libraries: 
  3. http://adf.ly/VTr7r
  4. http://adf.ly/VTrA1
  5. http://adf.ly/VTrCW
  6. http://adf.ly/VTrEd
  7. Extract all the libraries and put them in Processing -> Libraries.
  8. Open spinscan.pde with Processing
  9. Run
Compiling Spinscan

Compiling Fabscan for Windows

Fabscan for Win

Tools needed:

  • Visual Studio 2010 32bit
  •  Qt5 Win32 with opengl for MSVC2010
  • 32-bit versions of PCL
  • Opencv
  1. Download the code from: http://adf.ly/VTr0f
  2. weibao_3d -> weibao_3d -> weibai_3d.vcxproj ( edit this with text editor). Point it to your installed Qt location: For example: <QTDIR>C:\Qt\Qt5.1.1\5.1.1\msvc2010_opengl</QTDIR> for both debug and release.
  3. Go back to weibao_3d folder. Run weibao_3d with VS2010.
  4. Project -> Properties -> Configuration Properties. Platform toolset should be set to V100.
  5. In VC++ Directories, Include Directories->edit. "include" entries for OpenCV\include; PCL\include; PCL\3rdParty\Boost\include, \Eigen\include and \FLANN\include; and Qt5 \include\QtMultiMedia and \MultiMediaWidgets.                                                                                                                                                                                                                                                                                                                          
  6. In Library Directories ensure "lib" entries for OpenCV; PCL; PCL\3rdParty\Boost, \Eigen, \FLANN and \VTK; and Qt5.
  7. In Linker->Input->Additional Dependencies: qtmain.lib Qt5Core.lib Qt5Gui.lib Qt5OpenGL.lib Qt5Multimedia.lib Qt5MultimediaWidgets.lib Qt5Network.lib Qt5Widgets.lib opengl32.lib glu32.lib opencv_core246.lib opencv_highgui246.lib opencv_imgproc246.lib pcl_common_release.lib pcl_features_release.lib pcl_io_ply_release.lib pcl_kdtree_release.lib pcl_octree_release.lib pcl_search_release.lib pcl_surface_release.lib pcl_io_release.lib
  8. Copy all the dependency files from /bin from the lib folders to weibao_3d -> Win32 -> Release. 
  9. Click on weibao_3d.exe ;)

Saturday, August 24, 2013

The First Print

 The first printing: Looks like the extruder is not extruding enough filaments...


Trying to extrude more filaments from the extruder..

Finally, got some distorted shapes.. The problem was the GT2 belt wasn't tight enough and causes skid.

After fixing the GT2 belt problems, finally, .. Though, i may need to add some cooling to make sure that the layers get cooled fast enough.

To be continued......

Portabee MOD

Portabee MOD

Model files: http://adf.ly/UYQOc

Friday, August 23, 2013

Modified Y endstop for Portabee

Stl files: http://adf.ly/UVLJv

Portabee Mod with Budashnozzle 1.1

Portabee Mod with budashnozzle and additional fan mount with modified mendel wade extruder.

STL files: http://adf.ly/UVLA7

3D printer calibration

Extruder Calibration

  1. Set the temperature for the extruder. Typically 180°C for PLA and  240°C  for ABS.
  2. Make a mark on the filament right above the extruder and another mark 100mm from the 1st mark. 
  3. Set the 3d printer software to extrude 100mm.
  4. Make a mark on the filament just above the extruder after 100mm is extruded.
  5. Measure the distance between the 2nd and 3rd mark.
  6. Length of extruded filament(Measured distance in MM) = 100mm + difference length of 2nd and 3rd mark.
  7. newStepsPerMM = oldStepsPerMM * 100 / Measured distance in MM
  8. Modify the value in red to the newStepsPerMM value that has just been calculated: #define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,200*8/3,760*1.1}
  9. Turn of the power and re-upload the firmware with the new value.
  10. Repeat steps 1 to 6 to make sure the extruder extrudes correctly after the modification.

X,Y and Z axis Calibration
  1. Measure the distance between the extruder block and the axis using caliper and reset the caliper value to 0.
  2. Set the 3d printer software to move -100mm.
  3. Once the extruder has moved. Measure the distance again.
  4. newStepsPerMM = oldStepsPerMM * 100 / measured distance in MM.
  5. Modify the value in red to the newStepsPerMM value that has just been calculated: #define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,200*8/3,760*1.1}
  6. Repeat steps 1 to 5 for all X, Y and Z axis.
  7. Turn of the power and re-upload the firmware with the new value.
  8. Repeat steps 1 to 6 to make sure all axis works correctly after the modification.
X,Y,Zaxis Endstop validation
  1. Move all the axis and make sure it stops when the endstop is triggered.
  2. For the Z axis, put a piece of paper on the heatbed, move the extruder until it reaches the z endstop. If the paper moves with some fiction without tearing it, then, that distance should be perfect.

Temperature Measurement Validation
  1. Use the 3d printer software and read the temperature on all thermistors.
  2. The result should be > 0°C and < 300°C .

Connections of RAMPS 1.4

The connection of Ramps 1.4 with various components are as follows:

Ramps 1.4 connection
Connections of RAMPS 1.4 with SD and LCD

Installing Marlin firmware into ramps 1.4

Before loading marlin v1 firmware into the ramps 1.4, few modifications are needed:

Un-comment the following lines of codes:

  1. Line 29:   33 = RAMPS 1.3 (Power outputs: Extruder, Bed, Fan)


  1. Line 319: #define RAMPS_V_1_3

Step by step:

  1. Start arduino ide.
  2. Select Tools -> Board -> Arduino Mega 2560    or your microcontroller.
  3. Select the correct serial port in Tools ->Serial Port. (Serial port number can be obtained from hardware manager in win)
  4. Open Marlin.pde.
  5. Click the Verify/Compile button
  6. Click the Upload button
  7. Now, you can enjoy printing!! :)