Sg2.9
transfer of points to millime...
Recent RSS
transfer of points to millimeters
From:  Marat Shagiev
Date:  2. January 2012, 19:45

Hello!
Can you please tell how to rationally organize the transfer of points to millimeters. I have the basic units of measurement - a millimeter.
Every time when I make a line length of 100 mm should be used for transfer rate from points to millimeters. It looks like this:

const pt2mm = 2.834645668;
// Line length is 100 mm, beginning at the point x: 10mm, y: 10mm
var line = new Path.Line (10 * pt2mm, 10 * pt2mm,
                        110 * pt2mm, 10 * pt2mm);

It's a awkward and clumsy. Is there a better way?

Thank you!

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Newton Curve 08.09.11