2014-10-28

VisualSFM

After Autodesk 123D Catch didn't work at all even given a perfect series of photos,
I'm now trying to get VisualFSM to work.

...stay tuned.



FabScan

I just found the FabScan project of RWTH Aachen.
Aparently back in January it was still quite buggy but nowadays you can get complete kits and there is a very interesting 2-laser + Z stepper spinoff being developed.

This blog post is basically for myself so I don't forget these links. ;)

Rooting Jiake P6

I finally managed to root my Jiake P6 non-camera phone.



"Root Genius"  (worked)

http://www.gizchina.de/downloads/viewdownload/3-flashtools-firmwarebearbeitung/34-root-genius.html
http://www.gizchina.de/downloads/viewdownload/3-flashtools-firmwarebearbeitung/33-universal-adb-treiber.html


ADB method (did not work)

using the MTK or the Google driver
MKT Driver won't be offered as a driver for this phone after install
http://forum.fairphone-freunde.de/Thread-MT65xx-Android-Phone-Treiber-nicht-gefunden
http://developer.android.com/sdk/win-usb.html#top
http://forum.xda-developers.com/showthread.php?t=2247537

2014-10-27

Kinect V1 with diopters


Intended use

My CAD program of choice is Geomagic Design (started out as Alibre Design). Since the last major release it can import meshes (and even directly use 3D scanners of the same manufacturer) and convert these into solid geometries.
I already used these features heavily for 3D modelled meshes of organic, artistic parts.
What I want to do is use it's advanced features of reconstructing technical parts with flat surfaces, right angles and precise holes with an affordable 3D scanner.
So based on the promise that Skanect will support the Kinect V2 on the day of official sale, I preordered one with Microsoft half a year ago.

Current status 

Skanect still didn't deliver the promised Kinect V2 support and i am tired of waiting with my Kinect V2 in hand.
Thus I got myself a used XBox 360 Kinect V1 and am testing Skanect on MacOS with it to get some first experiences with 3D scanning using this device. Hopefully these will help me get better results with the Kinect V2 later.

...the 3D scan results are terrible so far.
Small object (size of a hand) are not much more then a blob with heavily rounded features.
It may be useful for object the size of a human, maybe barely useful for entire faces as long as dimentional accuracy is not important (no masks that actually fit well) but not for smaller objects.
I'm looking into hacks that may improve this by reducing the minimum focus distance and thus concentrating the low resolution fully onto the  (small) object.

+3 diopters didn't help at all.

Stock Kinect

Minimum focus distance in normal mode: 80cm  (1/0.8m = 1.25 dioptrien)
Minimum focus distance in near mode: 40cm  (1/0.4m = 2.5 dioptrien)
Near Mode is Kinect V1 for Windows only
Accuracy: 2-3mm in a distance of 1.5m
IR resolution: 640x480 but only 1 depth value per cluster.

Kinect V2 has a slightly lower IR resolution (only the color camera is FullHD) but 1 depth value per pixel.

Reading glasses hack

Literary taping +2.5 reading glasses (technically a dioptre[UK]/diopter[EN]) in front of IR-projector and IR-camera seem to reduce the minimum focus distance from 40cm to 35cm. Object appear 1.2x larger. (Based on the report in the thread below)

Normal Mode:
+2.0 result in 1/(1.25+2.0)  = 31cm  minimum focus distance, 1/2.0=50m maximum focus distance
+2.5 result in 1/(1.25+2.5)  = 27cm  minimum focus distance, 1/2.5=40cm maximum focus distance
+3.0 result in 1/(1.25+3.0)  = 24cm  minimum focus distance, 1/3.0=33cm maximum focus distance

Near Mode: (Kinect V1 for Windows only)
+2.0 result in 1/(2.5+2.0)  = 22cm  minimum focus distance, 1/2.0=50m maximum focus distance
+2.5 result in 1/(2.5+2.5)  = 20cm  minimum focus distance, 1/2.5=40cm maximum focus distance
+3.0 result in 1/(2.5+3.0)  = 18cm  minimum focus distance, 1/3.0=33cm maximum focus distance

I know that these also exist in higher quality as "near filters" for macro photography. I even used one of them on the Raspberry Pi camera to make it focus on closer objects to mount it on a Makibox 3D printer.

Single lens diopters cause color-halos.
Dual-lens diopters, called achromatic lenses correct these issues. (Obviously made for visible light while we are working in infrared)  There are achromatic lenses for the infrared spectrum.

You should not use a diopter stronger then 20% of the focal length of your lens.
The Kinect IR lens has a field of view of 57.8°, putting it in the 40mm ballpark.
So everything below +4.0 should be fine.

Links


Settings for ReconstructMe 

(I'm using Skanect where I can't use them)


camera_size_x: 640
camera_size_y: 480
camera_fx: 514.16
camera_fy: 514.16
camera_px: 320
camera_py: 240
camera_near: 100
camera_far: 2000
volume_size: 512
volume_min {
x: -250
y: -250
z: 400
}
volume_max {
x: 250
y: 250
z: 900
}
integrate_truncation: 10
integrate_max_weight: 64
icp_max_iter: 20
icp_max_dist2: 200
icp_min_cos_angle: 0.9
smooth_normals: false
disable_optimizations: false
extract_step_fact: 0.5

2014-10-22

Geomagic Design - Mesh to Solid suddenly missing


Update: FOUND IT!  You can scan meshes in the parts and the assembly editor but only in the parts editor are the other tools visible. Very confusing UI inconsistency. There's no reason this wouldn't just create a new solid part in the assembly editor.


My Geomagic Design suddenly decided to no longer allow me to convert Meshed to Solids.

That's the sole reason I purchased the last update.
I had positive email confirmation that the features would be in there (they where not on the website then, only in the promotional video for the new version) and based on that information I shelled out the money for the extended support contract that would give me that update.

My license states "Geomagic Design".
(Not "Geomagic Elements")
The website states that this feature is included in Geomagic Design.
I still used that feature extensively in May after having extended the support contract in March.
Now in October this most important feature is suddenly gone.

2014-10-12

White Ultimaker II studio case

Due to my work, I travel A LOT.
So as with my TravelCNC I'm custom making a studio case to keep my Ultimaker II 3d printer safe.
Since the Ultimaker has a nice, white case, the studio case is going to white too.

It will not be sound-proof with Basotect foam but use a hard foam to stand on and keep the Ultimaker II centered and a soft foam for padding.

Note:
You REALLY want to use buy a pneumatic rivet gun for this.
Mounting 150 rivets by hand alone is tiring, very loud and takes weeks.
...as opposed to silent operation (except of cause the compressor recharging since cheap rivet guns take a lot of air volume) of a few hours.




2014-09-18

SYSCLK DX on MacOS

I never got my 2 SYSCLK DX - USB oscilloscopes to work with their Windows software. So now I'm trying to buils the unstable version of sigrok pulseview and sigrok-cli on my Mac...

 The stable command line version seems to detect and identify the device but I can't figure out how to tell it what device to use to do any actual stuff. Last step doesn't seem to work.


bash-3.2# brew install --HEAD pulseview
==> Installing pulseview dependency: cmake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-3.0.2.mavericks.bottle.tar.gz
######################################################################## 100,0%
==> Pouring cmake-3.0.2.mavericks.bottle.tar.gz
đŸș  /usr/local/Cellar/cmake/3.0.2: 1641 files, 26M
==> Installing pulseview
==> Cloning git://sigrok.org/pulseview
Updating /Library/Caches/Homebrew/pulseview--git
==> cmake . -DENABLE_DECODE=y -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/pulseview/HEAD -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
==> make install
1 error generated.
make[2]: *** [CMakeFiles/pulseview.dir/pv/view/viewport.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/pulseview.dir/all] Error 2
make: *** [all] Error 2
/usr/local/Library/Homebrew/build.rb:194:in `dump': can't dump anonymous class # (TypeError)
    from /usr/local/Library/Homebrew/build.rb:194:in `rescue in

'
    from /usr/local/Library/Homebrew/build.rb:179:in `
'
Error: marshal data too short
Please report this bug:
    https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formula_installer.rb:511:in `load'
/usr/local/Library/Homebrew/formula_installer.rb:511:in `block in build'
/usr/local/Library/Homebrew/utils.rb:239:in `ignore_interrupts'
/usr/local/Library/Homebrew/formula_installer.rb:505:in `build'
/usr/local/Library/Homebrew/formula_installer.rb:181:in `install'
/usr/local/Library/Homebrew/cmd/install.rb:118:in `install_formula'
/usr/local/Library/Homebrew/cmd/install.rb:45:in `block in install'
/usr/local/Library/Homebrew/cmd/install.rb:45:in `each'
/usr/local/Library/Homebrew/cmd/install.rb:45:in `install'
/usr/local/Library/brew.rb:131:in `
'

2014-08-13

BMPCC display shade

I finally got around to design something again.
It's not perfectly refined yet but doing it's job.

I have a Blackmagic Pocket Cinema Camera with the Zacuto Z-Finder.
But often I don't want to use the Z-finder on my eye, yet I need something to keep the sun out.
So I designed this parametric display shade to attach to the Zacuto's quick release frame for quick swapping.

2014-07-23

Ultimaker II - first impressions

So I have my Ultimaker II for a day now and these are my impressions so far.

Reliability

It is super reliable IF before every print I freshly level the bed, then extrude some filament into thin air using the maintenance->expert->move filament function.
For that the extruder usually needs a bit of manual push on the filament.
Maybe it retracted AFTER cooling down too much, maybe it wants to start moving to early, I don't know. It certainly starts up with a bit of grinding every time.

As for reliable, my first prints where 16 and 15 hours. while I slept and while I was away at work.
Haven't done that since the RepMan 3.0 days.

You do hear a little bit of skipping all the time but it does seem to work fine nonetheless.

Cura

is easy enough to use, maybe a bit too easy.
I cannot set the name of the gcode file when using the "export" button (I probably can using the menu).
I cannot see what the 3 default settings are to just modify one or two parameters (such as infill).

Build times are very accurate and everything works very well so far.
The Ultimaker II does display a "time left", something I've never seen before as it requires out of band information from the slicer or a complete simulation of the entire g-code including acceleration and time to change temperatures. However for a 6 hour print it did jump from 6 to 15 hours and then to 5.

Cura does seem to have an issue in deciding how to support curved surfaces on a 20% infill grid.
It likes to start and stop flat areas right in the are between infill grids.
This does work out 2 or 3 layers later.

Also beware that a "Fast low quality print" will not be water tight in any way.

What next?

Next I'll prepare a specially shaped plastic bag to protect the filament mounted on the back from dust to prevent blocked nozzles.
I couldn't get +-0.05mm filament at the moment, so I ordered some +-0.1mm and will switch in a few weeks.
I also ordered a custom made stage box to transport the Ultimaker, just like I dd with my TravelCNC.

2014-07-22

Ultimaker II

Shortly after my Kinect II (Skanect doesn't support it yet),
I received my Ultimaker II.
It's not a perfect tool but still the most reliable 3D printer I have ever seen!

Both my Makibox 3D printers (one heavily upgraded, one in stock conditon) are still for sale.
They work.
It's just that what I need is a reliable workshop tool and a $300 3D printer just doesn't reach that level.

Same as for my TravelCNC I ordered a custom made flightcase for it.
But this time I'll have a pneumatic rivet gun instead of doing this manually. ;)
I'll also custom make some plastic sheets to protect the mounted filament from any dust.
My suspicion is that my frequent filament stalls did have something to do with the slightly dusty environment. I vacuumed the filament spool regularly but there would always be some dust on it.



2014-07-13

TravelingCNC gets a new spindle

I tried to replace the fried component in the spindle control but only managed to destroy that board completely.
Since Carving-CNC didn't answer and I could not find out the technical details to get a compatible board,
I went the easy way.
I'm replacing the 230W spindle with a 300W one that is supplied with 48W instead of require a heavy transformer spool.
Since I already have a heavy 48V supply for the steppers that should reduce the weight considerably.
For the time being I'll keep a separate supply for the spindle until I'm sure electrical noise is not an issue.

2014-07-02

TravelCNC broken

While installing homing switches on my TravelCNC,
I replaced the broken component in the spindle driver that only allowed to run at full speed anymore.
Result is...the spindle controller is now fully broken.

So currently I'm looking at getting a new 600W spindle+controller from China or to invest a lot and get a spindle with automatic tool changer, controller box and silent, portable 8 bar compressor.
That would be a huge and great upgrade but I'm reluctant to shell out that kind of money right after ordering an Ultimaker 2 for 2000eur. :/

2014-06-24

Makiboxes for sale



My two Makiboxes are for sale!
1 Makibox A6 HT with added heat-spreader on stock hotend. top Acrylic broke and some scratches but nothing that affects performance.
250eur fully assembled including 1 spool of ABS.

1 Makibox A6 H6 with E3D hotend, Airtripper extruder, Raspberry Pi+Wifi+Camera
350eur fully assembled including 1 spool of PLA.

Both sitting in Germany. Can be shipped via DHL or Hermes.

Anyone interested?  =>  Marcus@Wolschon.biz

2014-06-20

My Makibox status

I have 2 Makiboxes.
1 stock Makibox A6 HT and
1 Makibox A6 HT  with an Airtripper V3 BSP extruder and E3D V5 hotend but missing a working mount for the E3D.

I have given up on the Makibox and am willing to sell both.
That Makible is in trouble with it's investors doesn't help the case.
An Ultimaker 2 is already ordered.
Nonetheless I'm sitting in the GPN Karlsruhe at the moment trying to get both to work reliably.

I upgraded the stock Makibox to the new firmware v42 with PID autotuning.
(You use PID autotuning with the M303 command described here.)
I'm using it to print this E3D v5+LM4UU mount for the other Makibox.



PID results of stock Makibox:
< 02:45:13:  Clasic PID --  PID settings:
< 02:45:13:   M301 P7627 I57 D630
< 02:45:25: ** PID Autotune Cycle: 5 **
< 02:45:25:  bias: 39 d: 39 min: 199.00000 max: 201.00000
< 02:45:25:  Ku: 49.65638 Tu: 12.33100
< 02:45:25:  Clasic PID --  PID settings:
< 02:45:25:   M301 P7627 I61 D587
< 02:45:25: PID Autotune finished !
< 02:45:25: Place the above command in console to change the PID settings.

Result: IT WORKS. Pretty rough movement, so low in detail but it works now!
Printing more replacement parts while it still works.

2014-05-20

Experiment failed

I tried the experimental Makibox hotend upgrade Jaywward made for me.
Without a fan it didn't work out.
I'll have to try with a fan next.

I'm getting more and more frustrated with the shortcommings of the Makibox. :(

2014-04-22

Makibox: E3D hotend installed

    The modification

    I gave up waiting for the experimental Makibox hotend upgrade.
    So as planned, I finally got my new E3d hotend.
    Last weekend, during Easterhegg someone 3d printed me a mount for it.
    I pretty much followed these instructions.
    Except that I made a different modification to the Z endstop, that can be seen below.
    I wanted my endstop to be adjustable. (See the photo below)

    Endstops

     If you have the PrintRboard (first generation Makibox machines), you need to swap some cables after the firmware update:

    From the top down the end-stops are:
    * e-stop (move Y endstop cable here on the PrintRboard)
    * z endstop
    * y endstop (remove this cable)
    * x endstop

    Results


    The E3D version 5 bowden 1.75mm hotend works great!
    The Airtripper versioon 3 BSP extruder works great!
    The hotend mounting has about 2mm of play in Y.
    I'll replace it with a modified version that uses LM4UU linear ball bearings as soon as the bearings get here.
    The final line is: I CAN 3D PRINT AGAIN!!!!! :)


    #

    2014-04-15

    Makibox - the next steps

    The default hotend of the Makibox is ...crappy.
    The thermal barrier is not enough to print anything larger then a test-cube in ABS or PLA. Even with no retraction at all, the filament above the heater block expands and stalls even the strongest extruder after 30 inutes of printing. (Using the supplied Makible filament and higher temperature settings. With Makibox-supplied default settings it's much worse.)

    I already have a stronger and spring-loaded extruder and a thinner bowden tube. They help but alone they don't solve the issue. They just postpone the failure.

    I'm currently waiting for a modification from a forum user in the US that adds a cooling block to the existing hotend. The modiciation is as simple as screwing it on and mounting a fan.

    In parallel I already have an E3D hotend version 5.
    During Easterhegg I'll try to find someone to print me a mount (or another mount for LM4UU linear ball bearings) for that and follow the instruction of user my_makibox to install it.
    If not, that mount looks simple enough that maybe I can CNC mill it out of a piece of wood.
    (Having E3D print a mount for me was not avaliable when I ordered my hotend.)
    Not that is does require a firmware update because it has a different thermistor.
    my_makibox supplied a compiled firmware here .

    2014-04-14

    CNC6040 updates

    Just to give everyon an update:
    This weekend I made a few modification to my larger CNC.

    The new E-Stop button got it's cable properly mounted to the wooden case I build.
    Just below the thick glass front.

    Proper sockets for 3 end-stops have been added. The original end-stops I got where too small to fit mechanically but bigger ones where in stock this weekend. They have not been installed yet.
    I'll install them together with bellows to protect the Y axis from dirt and shavings.

    The probe input didn't want to work when using 5V from one of the Enable-outputs of the PLCM-B1 breakout board. I added a separate 5V supply just for the tool height probe and it works now.
    Here is the answer from Purelogic regarding this issue:
      Hello Marcus,

      Thank you very much for your notice.
    You are right that you need another power supply for external sensors.
    PLCM-B1 has too many inputs and we could not place another on-board power supply which could power all inputs. (Of cause we could make it, but will be too expensive and large).
      Small on-board power supply with limited current (for ex. enough for 5 inputs only) can cause more problems because not all users read a manual carefully and they can easily overload this power supply. Nevertheless this way seems most right for me now.

      We will consider your notice in feature. Thank you very much.

    Oleg Gladyshev,
    Purelogic R&D, Russia. 

    The earth cable of the spindle VFD got ripped out. I repaired it and secured it somewhat better.

    The power sockets for all parts of the CNC are now permanently screwed onto the frame and can no longer fall off due to the drag of the heavy cables.

    My cheap MACH3 remote is still acting up. The jog buttons get stuck and the machine just keeps moving.
    I replaced the keyboard with the flaky USB port and the constant USB attach/detach cycles no longer mess up the communication of MACH3 via Ethernet to the PLCM-E3p+B1 boards.


    For the smaller TravelCNC I managed to drill an XL timing belt pulley from 5mm D-shaped to 8mm round shafts. It shall replace the 3D printed one I made a while ago because that one developed some serious backlash after 6 month of usage.

    I will give a small workshop on CNC machining for people who have used only 3D printers during Eaterhegg next weekend.

    2014-03-27

    Accidentally deleted FreeCAD development VM :(

    I just accidentally deleted my FreeCAD development VM. :/
    Now I need to download my empty VM again, checkout my own GitHub repository, add the upstreams of the other developers, the main upstream and then continue developing.

    2014-03-25

    Blackmagic Pocket Cinema Camera 25fps endurance test

    Setup

    25fps, 180° shutter, ISO800
    2x Sandisk Extreme Pro 64GB
    USRobotics dual UHS-1 USB card reader
    iMac
    manual lens, drawing no power for autofocus or optical stabilisation.
    focus peaking ON

    Test 1 raw

      20min 3 seconds of raw footage.

    Test 2 raw

    BMPCC stops at 19min45sec with 48% battery having filled up the 64GB card.
    However it starts blinking a "card full" message after about 15min of recording.
    29649 frames
    Resolve reports just: 19min 45sec
    40minutes to transfer footage to iMac
     => you can't run on 2 cards, dumping one while the other is being recorded to.
    59.538.769.788 Byte (59,59 GB on disk)
    29.649 frames
    3min 33sec to erase all files on the SD-card

    With the remaining 48% battery
    19 minutes 45 seconds (exactly like before down to the second) onto another SD card.
    After 15min 11 seconds the "card full" message starts to blink.
    2% battery left
    transfer to PC: 42min
    59.370.355.068 Byte (59,44 GB on disk)
    29.594 frames
    Resolve reports: 19min 43sec


    With remaining 2% battery left, the camera nearly instantly shuts down in an attempts to record some more.

    Test 3 ProRes

    39min 43 seconds of ProRes before the battery and not the SD-card ran out.
    There was enough space for another 4minutes 52 seconds