# 3D to 2D Conversion

Example: Fixturing a 2D tool from a 3D Fixture.

Note: Use Fixture3D to fixture 2D tools only when all the movement is on the XY plane.

Steps:

1. Train and find PatMax3D or any other 3D fixturing function. This gives you the X, Y, and Rotation values.

2. Use the ExtractCalibration tool on the A1 Image cell. This returns a calibration structure that you can reference in the TransWorldToPixel tool.

3. Use the TransWorldToPixel tool.

   1. In the Calib field, enter the ExtractCalibration cell reference.

   2. For Point, enter the X and Y values created previously by FindPatMax3D.

4. Multiply the Rotation value from FindPatMax3D by -1.

5. You can now use these X, Y (pixel), and Angle values as fixture for 2D tools like DetectBlobs, or Region, and measurement inputs for 2D tools such as PointToPoint or LineToLine.