Correctly placing a 3d image in crystal

AttachmentSize
Position Calculator.zip48.25 KB

At work, we've now got a new laser. It creates 3d images in crystal by, rapidly, firing a single laser. The crystal shatters at the focal point to create a permanent white dot. The laser has a working Z focal range of about 80mm. Because some crystals are of awkward dimensions the laser has an adjustable table. When the table is adjusted, I have to manually adjust the Z centre of engraving. This calculation has to take into account the refractive index of air. Sometimes I also want a greater margin below the image, so that it looks 'right'.

Formula = Height of crystal / 2 - H * 1.52
H is the distance that the table has been lowered

To reduce human error I've been working on a program that calculates the "True Z" and show me where the engraving will be. It's written in Mono using Visual Studio to design the GUI and MonoDevelop to do the coding. It is functional if the engraving centre is half of the crystal block size. It crashes if any of the textboxes are empty.

Future plans include
- Handling empty textbox crashes
- Checking that my calculations are correct
- Showing a point cloud instead of representing the object with a rectangle
- Saving the settings along with notes to make repeat jobs quicker to setup

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
e
m
w
T
A
C
Enter the code without spaces and pay attention to upper/lower case.
Syndicate content