mm2French

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 5.2, Creation date: 2022-03-16, Last change: 2025-09-15

converts Diameters in mm in French units



See Also: French2mm

Example Illustration

 missing image of mm2French(mm)

Syntax

cha=mm2French(mm)

Input Parameter

mm: diameter (!) in mm

Output Parameter

cha: diameter in french

Examples


mm=French2mm(7), mm2French(mm)




Copyright 2022-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This function, mm2French, is designed to convert diameters from millimeters to French units. The French unit is a measurement system commonly used in medical contexts, particularly for catheter sizes.

Input Parameters

Output Results

Algorithm Explanation

The conversion from millimeters to French units is performed using the formula:

cha = (mm - 1) * 3 + 3;

This formula can be broken down as follows:

The formula effectively scales the millimeter measurement to the French scale, which is a linear transformation.

Example

To illustrate the function, consider the following example:

mm = French2mm(7);
cha = mm2French(mm);

In this example, the function French2mm is used to convert a French unit back to millimeters, and then mm2French is used to convert it back to French units, demonstrating the conversion process.

Algorithm explaination created using ChatGPT on 2025-08-18 21:53. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21