-
Notifications
You must be signed in to change notification settings - Fork 1
/
MountBar.rb
executable file
·50 lines (44 loc) · 859 Bytes
/
MountBar.rb
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
require './Jacksloon.rb'
require './Okuda.rb'
class Mounter < Jacksloon
#MARJ = 0.42
@@lipp = 0.00
def cmil(cm)
return cm/2.54
end
def dy(y)
return @stary+cmil(y)
end
def dx(x)
return @curxo+cmil(x)
end
def initialize(starx, stary)
@width = cmil(36)
@heigh = cmil(2.5)
@depth = 0.8
super(starx, stary)
end
def boxo()
#spyrtub(dx(4),dy(0),cmil(0.420),0)
#spyrtub(dx(32),dy(0),cmil(0.420),0)
spyrtub(dx(4),dy(0),cmil(0.35),0)
spyrtub(dx(32),dy(0),cmil(0.35),0)
@curxo += @width /2
@myOkuda = Okuda.new(@curxo,@stary,@width+$bitwidth,@heigh+$bitwidth,cmil(1.2))
@curxo += @width /2
return @curxo
end
def ducatop
end
def ducabot
topnuys = []
botnuys = []
@myOkuda.bokchoydeluxe(-@depth,1.0,36,4,topnuys,botnuys)
end
def duxo
@curxo += $bitwidth
return @curxo
end
end
$rimmer = 0.01
stutterat(Mounter)