﻿# mill Y axis plate
# =================
# This is used to create yy.txt by macro expansion
# and that feeds into LibreCAD to do the drawing
# Start LibreCAD  File | New
# Click the 'three lines' icon in the Command: window  Load command file

# values copied from millYplate.scad
# 		// overall
#
#

#
# 		// from Left
# 		// from top
# 		// M6
# 	// bolt separation

# 	// belt between centres
# 		// move motor up
#
#
#
# 		// M3
# 	// bolt separation

# 	// width of shallow TC
# 	// how far from the screw can we stay high?

# end of copy

# outline
# =======
line;0,0;
200,0;
200,61;
109,61;
109,31;
75,31;
75,41.5;
51.5,41.5;
51.5,31;
k;
arc;51.5,31;
35,14.5;
18.5,31;
k;
line;18.5,31;
18.5,41.5;
0,41.5;
0,0;
k;

# top of motor
# ============
# motor X
# motor Y
# length of slots
point;130.512548,35;
# radius of slot
arc;@0,-12;@-12,12;@12,12;
line;@0,0;@5,0;
arc;@0,0;@12,-12;@-12,-12;
line;@0,0;@-5,0;k

# XY offsets of bolt holes
# bolt radius

point;115.212548,19.7;
arc;@0,-1.5;@-1.5,1.5;@1.5,1.5;
line;@0,0;@5,0;
arc;@0,0;@1.5,-1.5;@-1.5,-1.5;
line;@0,0;@-5,0;k

point;145.812548,19.7;
arc;@0,-1.5;@-1.5,1.5;@1.5,1.5;
line;@0,0;@5,0;
arc;@0,0;@1.5,-1.5;@-1.5,-1.5;
line;@0,0;@-5,0;k

point;145.812548,50.3;
arc;@0,-1.5;@-1.5,1.5;@1.5,1.5;
line;@0,0;@5,0;
arc;@0,0;@1.5,-1.5;@-1.5,-1.5;
line;@0,0;@-5,0;k;

point;115.212548,50.3;
arc;@0,-1.5;@-1.5,1.5;@1.5,1.5;
line;@0,0;@5,0;
arc;@0,0;@1.5,-1.5;@-1.5,-1.5;
line;@0,0;@-5,0;k;

# bolts
# =====
ci;12.7,31;@0,3;k;
ci;57.3,31;@0,3;k;

# cover bolt
# ==========
ci;85,27;@0,2.5;k;

# grommet
# =======
ci;149,10;@0,6.5/2;k;

# cable gland
# ===========
ci;187,30.5;@0,19/2;k;

# junction block
# ==============
ci;170,15.5;@0,2;k;
ci;170,45.5;@0,2;k;

#finished

