Hello Mark,
Sorry about the delay in responding. For now I just have a few minutes for the easy questions.
> Am I right in thinking that my camera/lens mount should have the pivot point around the ccd plane?
Yes. That point will be near the center of the array but usually a little off center. There are choices that you can make but I like arranging the optical axis as the bisector of the angular field of view. That minimizes the effect of lens aberrations by keeping the angle of incidence on the lens as small as possible.
> The lenses I have are variable focus which (again if I'm reading this right) will have the effect of
> pivoting the image plane so I may be able to use this to fine tune the focus across the whole ccd.
Do you mean variable focal length or just movable for best focus?
> The other thing this Panasonic camera has which may be helpfull in alignment is the
> ability to move the CCd inside the camera independently from the body of the camera.
Is that movable in z for best focus or is that movable to shift the center in the horizontal and vertical?
> I also assume you would want to open the aperture fully to decrease the DOF.
Yes, assuming that the lens aberrations are small at full aperture. A professional grade lens is usually pretty well corrected at full aperture. The $10 webcam lenses might be a bit fuzzy at full aperture. But then, a cheap webcam lens won't usually have an adjustable aperture.
> Have done a few really rough tests to get my head around the camera /lens / object
> alignment and voila it actually works

I got the video into MAch also using a cheap
> usb video converter (Kworld USB2800 D)
Great.
> Tom do you know off hand the formula for theoretical spot size?
[snip several laser related questions]
Yes but there is a lot to discuss just on laser focusing so I think I will start another topic for that. Might be a couple of days before I sit down to do that. Meantime, if you are eagar, you can look up the following subjects:
LaGrange Invariant (sometimes called Optical Invariant)
Etendue
Photometric Brightness
Optical Throughput
> What sort of resolution do we want to achieve?
The real question is "What sort of resolution do YOU want to achieve?" Each of us has some project in mind and probably no two of us agree on the necessary range and resolution. In general, with inexpensive webcams and laser modules, I would expect to get something close to 1% of the working range. I would loosely define working range as the range parallel to the z axis.
With better cameras and laser modules and lens choices I would expect more like one thousandth of the working range. That takes the price out of the amateur range but all of the principles are the same. So this is an inexpensive way to learn how laser triangulation works.
> I know for our machine vision systems that vibration was a real quality killer so a sturdy mount would be advisable.
Sounds reasonable but I don't expect my Sherline mill to vibrate much. The machine should not be in motion when the image is formed just before grabbing the frame.
> While I'm thinking about it, did Art figure out what was causing that Z-stepping in his scans?
Art described his setup as pretty arbitrary. I don't think the laser is imaged onto the CCD array. The calibration procedure and the distortion correction math could also be off. I don't really have enough info on his setup so I can only speculate.
> Anyway just a bunch of off the top ideas and comments. BTW some may be way off
> the mark but if it promotes discussion then its not a waste on time.
I think you are catching on just fine.
Tom Hubin
thubin@earthlink.net