<p>I don't know the probe, but I have used a delta 3D printing machine (of my design) to scan a surface.  It takes some time.</p>

<p>Your resolution will be limited by the probe geometry of the touch probe tip.  You want a Z-probe function that reports the Z-value of the point, not that simply sets Z= when the probe "hits".  The RepRap firmware has this in the <code>G30</code> command.</p>

<p>You will need to write a loop that probes all points of interest.  This is best done by writing a program (or script) that generates the G-code.  I have a PERL script that generates the calibration mesh for my Delta machine, and I can share that with you.</p>

<p>I edit the script for the area to be scanned.  This includes (in my case) the radius and the resolution.  I then run the script to produce G-code to do the probing.</p>

<p>I send the G-code to the printer with Repetier-Host.  Repetier-Host builds a log file of every character returned by the printer.  The G30 command returns in the log the Z value wher ethe probe hit.</p>

<p>After the G-code is fully executed, I run a PERL script on the log file to extract the Z height of each of the probed points.</p>

<p>What you do with that data is up to you.</p>

CC BY-SA 4.0
2019-10-07T08:06:42.590Z
I wasn't aware of G30. It does what I need, the rest of the procedure is as I had expected it.
FarO
CC BY-SA 4.0
2019-10-07T15:14:27.333Z
the resolution could be improved by using a very thin needle mounted to the tip of the probe to get better accuracy by having less probe area. The system relies on a very accurate set of stepper motors and making sure that the print head and bed have best no play on his axis. The process should be run slow to make sure there is no shivering in the bed. To get more than one side of the surface, multiple probings are needed, best with known turns between them.
Trish
CC BY-SA 4.0
2019-10-06T23:26:28.573Z
2019-10-07T15:06:59.937Z
2019-10-07T15:06:59.937Z
cmm
<p>I thought about using a BLTouch probe to do 3D scans of objects. </p>

<p>The objects to be suitable require smooth gradients and enough space for the probe, without anything hitting the print head/hot end.</p>

<p>What tools do I need to control the printer and obtain such data? are there GCodes scripts for that?</p>

<p>I would need to define a grid size, spacing, retraction, maximum expected height increase between adjacent points.</p>

CC BY-SA 4.0
2019-10-05T01:09:51.903Z
Why am I thinking there's no way you're going to get the resolution out of a touch probe you'd need to actually scan an object? I mean, it's only used for one axis of the three, which is the z-axis.
Pᴀᴜʟsᴛᴇʀ2
CC BY-SA 4.0
2019-10-05T12:05:33.600Z
If you define a mesh and you test each node, you can produce a map. Of course the issue is the lateral rigidity of the probe: the pin should not bend laterally when the surface is not parallel to the bed
FarO
<software><scanning><bltouch><3dtouch>
How to use a BLTouch or equivalent touch probe to 3D scan objects with a 3D printer?
FarO
# How to use a BLTouch or equivalent touch probe to 3D scan objects with a 3D printer?

(Asked by: username_0 on 2019-10-04)

I thought about using a BLTouch probe to do 3D scans of objects.

The objects to be suitable require smooth gradients and enough space for the probe, without anything hitting the print head/hot end.

What tools do I need to control the printer and obtain such data? are there GCodes scripts for that?

I would need to define a grid size, spacing, retraction, maximum expected height increase between adjacent points.

**Tags:** software, scanning, bltouch, 3dtouch
> **Comments:**
> **username_1**: Why am I thinking there's no way you're going to get the resolution out of a touch probe you'd need to actually scan an object? I mean, it's only used for one axis of the three, which is the z-axis.  
> **username_0**: If you define a mesh and you test each node, you can produce a map. Of course the issue is the lateral rigidity of the probe: the pin should not bend laterally when the surface is not parallel to the bed  

---

## 1 answers

### Answer by username_2 on 2019-10-06. Score: 3 | Accepted answer

I don't know the probe, but I have used a delta 3D printing machine (of my design) to scan a surface. It takes some time.

Your resolution will be limited by the probe geometry of the touch probe tip. You want a Z-probe function that reports the Z-value of the point, not that simply sets Z= when the probe "hits". The RepRap firmware has this in the `G30` command.

You will need to write a loop that probes all points of interest. This is best done by writing a program (or script) that generates the G-code. I have a PERL script that generates the calibration mesh for my Delta machine, and I can share that with you.

I edit the script for the area to be scanned. This includes (in my case) the radius and the resolution. I then run the script to produce G-code to do the probing.

I send the G-code to the printer with Repetier-Host. Repetier-Host builds a log file of every character returned by the printer. The G30 command returns in the log the Z value wher ethe probe hit.

After the G-code is fully executed, I run a PERL script on the log file to extract the Z height of each of the probed points.

What you do with that data is up to you.

> **Comments:**
> **username_0**: I wasn't aware of G30. It does what I need, the rest of the procedure is as I had expected it.  
> **username_3**: the resolution could be improved by using a very thin needle mounted to the tip of the probe to get better accuracy by having less probe area. The system relies on a very accurate set of stepper motors and making sure that the print head and bed have best no play on his axis. The process should be run slow to make sure there is no shivering in the bed. To get more than one side of the surface, multiple probings are needed, best with known turns between them.  

---

