This file is indexed.

/usr/share/openscad/libraries/MCAD/units.scad is in openscad-mcad 2014.03-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Basic units.
 * 
 * Originally by Hans Häggström, 2010.
 * Dual licenced under Creative Commons Attribution-Share Alike 3.0 and LGPL2 or later
 */


mm = 1;
cm = 10 * mm;
dm = 100 * mm;
m = 1000 * mm;

inch = 25.4 * mm;

X = [1, 0, 0];
Y = [0, 1, 0];
Z = [0, 0, 1];

M3 = 3*mm;
M4 = 4*mm;
M5 = 5*mm;
M6 = 6*mm;
M8 = 8*mm;


// When a small distance is needed to overlap shapes for boolean cutting, etc.
epsilon = 0.01*mm;