File: dewalt-drill-object.l

package info (click to toggle)
euslisp 9.31%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 55,448 kB
  • sloc: ansic: 41,610; lisp: 3,339; makefile: 286; sh: 238; asm: 138; python: 53
file content (155 lines) | stat: -rw-r--r-- 20,979 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
;;
;; DO NOT EDIT THIS FILE
;; this file is automatically generated from euslisp+euslib version 
;;
;;
(defclass dewalt-drill-object
  :super cascaded-link
  :slots (sensors
         ))
(defmethod dewalt-drill-object
  (:init
   (&rest args &key (name "dewalt-drill") (pos (float-vector 0 0 0)) (rot (unit-matrix 3)) &allow-other-keys)
   (let (c bc
         blink0
                 )
     (send-super* :init :name name args)

     ;; definition of link

     ;; definition of 'dewalt-drill
     (setq bc (list
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 23.0 -37.0 68.0) (float-vector 60.0 0.0 68.0) (float-vector 23.0 37.0 68.0) (float-vector -45.0 37.0 68.0) (float-vector -75.0 20.0 68.0) (float-vector -75.0 -20.0 68.0) (float-vector -45.0 -37.0 68.0)))
         (instance face :init :vertices (list (float-vector 60.0 0.0 0.0) (float-vector 23.0 -37.0 0.0) (float-vector -45.0 -37.0 0.0) (float-vector -75.0 -20.0 0.0) (float-vector -75.0 20.0 0.0) (float-vector -45.0 37.0 0.0) (float-vector 23.0 37.0 0.0)))
         (instance face :init :vertices (list (float-vector 23.0 -37.0 68.0) (float-vector 23.0 -37.0 0.0) (float-vector 60.0 0.0 0.0) (float-vector 60.0 0.0 68.0)))
         (instance face :init :vertices (list (float-vector -45.0 -37.0 68.0) (float-vector -45.0 -37.0 0.0) (float-vector 23.0 -37.0 0.0) (float-vector 23.0 -37.0 68.0)))
         (instance face :init :vertices (list (float-vector -75.0 -20.0 68.0) (float-vector -75.0 -20.0 0.0) (float-vector -45.0 -37.0 0.0) (float-vector -45.0 -37.0 68.0)))
         (instance face :init :vertices (list (float-vector -75.0 20.0 68.0) (float-vector -75.0 20.0 0.0) (float-vector -75.0 -20.0 0.0) (float-vector -75.0 -20.0 68.0)))
         (instance face :init :vertices (list (float-vector -45.0 37.0 68.0) (float-vector -45.0 37.0 0.0) (float-vector -75.0 20.0 0.0) (float-vector -75.0 20.0 68.0)))
         (instance face :init :vertices (list (float-vector 23.0 37.0 68.0) (float-vector 23.0 37.0 0.0) (float-vector -45.0 37.0 0.0) (float-vector -45.0 37.0 68.0)))
         (instance face :init :vertices (list (float-vector 60.0 0.0 68.0) (float-vector 60.0 0.0 0.0) (float-vector 23.0 37.0 0.0) (float-vector 23.0 37.0 68.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 24.2487 -14.0 200.0) (float-vector 28.0 0.0 200.0) (float-vector 24.2487 14.0 200.0) (float-vector 14.0 24.2487 200.0) (float-vector 1.421085e-14 28.0 200.0) (float-vector -14.0 24.2487 200.0) (float-vector -24.2487 14.0 200.0) (float-vector -28.0 2.842171e-14 200.0) (float-vector -24.2487 -14.0 200.0) (float-vector -14.0 -24.2487 200.0) (float-vector -4.440892e-14 -28.0 200.0) (float-vector 14.0 -24.2487 200.0)))
         (instance face :init :vertices (list (float-vector 28.0 0.0 68.0) (float-vector 24.2487 -14.0 68.0) (float-vector 14.0 -24.2487 68.0) (float-vector -4.440892e-14 -28.0 68.0) (float-vector -14.0 -24.2487 68.0) (float-vector -24.2487 -14.0 68.0) (float-vector -28.0 2.842171e-14 68.0) (float-vector -24.2487 14.0 68.0) (float-vector -14.0 24.2487 68.0) (float-vector 1.421085e-14 28.0 68.0) (float-vector 14.0 24.2487 68.0) (float-vector 24.2487 14.0 68.0)))
         (instance face :init :vertices (list (float-vector 24.2487 -14.0 200.0) (float-vector 24.2487 -14.0 68.0) (float-vector 28.0 0.0 68.0) (float-vector 28.0 0.0 200.0)))
         (instance face :init :vertices (list (float-vector 14.0 -24.2487 200.0) (float-vector 14.0 -24.2487 68.0) (float-vector 24.2487 -14.0 68.0) (float-vector 24.2487 -14.0 200.0)))
         (instance face :init :vertices (list (float-vector -4.440892e-14 -28.0 200.0) (float-vector -4.440892e-14 -28.0 68.0) (float-vector 14.0 -24.2487 68.0) (float-vector 14.0 -24.2487 200.0)))
         (instance face :init :vertices (list (float-vector -14.0 -24.2487 200.0) (float-vector -14.0 -24.2487 68.0) (float-vector -4.440892e-14 -28.0 68.0) (float-vector -4.440892e-14 -28.0 200.0)))
         (instance face :init :vertices (list (float-vector -24.2487 -14.0 200.0) (float-vector -24.2487 -14.0 68.0) (float-vector -14.0 -24.2487 68.0) (float-vector -14.0 -24.2487 200.0)))
         (instance face :init :vertices (list (float-vector -28.0 2.842171e-14 200.0) (float-vector -28.0 2.842171e-14 68.0) (float-vector -24.2487 -14.0 68.0) (float-vector -24.2487 -14.0 200.0)))
         (instance face :init :vertices (list (float-vector -24.2487 14.0 200.0) (float-vector -24.2487 14.0 68.0) (float-vector -28.0 2.842171e-14 68.0) (float-vector -28.0 2.842171e-14 200.0)))
         (instance face :init :vertices (list (float-vector -14.0 24.2487 200.0) (float-vector -14.0 24.2487 68.0) (float-vector -24.2487 14.0 68.0) (float-vector -24.2487 14.0 200.0)))
         (instance face :init :vertices (list (float-vector 1.421085e-14 28.0 200.0) (float-vector 1.421085e-14 28.0 68.0) (float-vector -14.0 24.2487 68.0) (float-vector -14.0 24.2487 200.0)))
         (instance face :init :vertices (list (float-vector 14.0 24.2487 200.0) (float-vector 14.0 24.2487 68.0) (float-vector 1.421085e-14 28.0 68.0) (float-vector 1.421085e-14 28.0 200.0)))
         (instance face :init :vertices (list (float-vector 24.2487 14.0 200.0) (float-vector 24.2487 14.0 68.0) (float-vector 14.0 24.2487 68.0) (float-vector 14.0 24.2487 200.0)))
         (instance face :init :vertices (list (float-vector 28.0 0.0 200.0) (float-vector 28.0 0.0 68.0) (float-vector 24.2487 14.0 68.0) (float-vector 24.2487 14.0 200.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 0.5 28.0 102.5) (float-vector -38.5 28.0 102.5) (float-vector -38.5 -28.0 102.5) (float-vector 0.5 -28.0 102.5)))
         (instance face :init :vertices (list (float-vector -38.5 28.0 67.5) (float-vector 0.5 28.0 67.5) (float-vector 0.5 -28.0 67.5) (float-vector -38.5 -28.0 67.5)))
         (instance face :init :vertices (list (float-vector 0.5 28.0 102.5) (float-vector 0.5 28.0 67.5) (float-vector -38.5 28.0 67.5) (float-vector -38.5 28.0 102.5)))
         (instance face :init :vertices (list (float-vector 0.5 -28.0 102.5) (float-vector 0.5 -28.0 67.5) (float-vector 0.5 28.0 67.5) (float-vector 0.5 28.0 102.5)))
         (instance face :init :vertices (list (float-vector -38.5 -28.0 102.5) (float-vector -38.5 -28.0 67.5) (float-vector 0.5 -28.0 67.5) (float-vector 0.5 -28.0 102.5)))
         (instance face :init :vertices (list (float-vector -38.5 28.0 102.5) (float-vector -38.5 28.0 67.5) (float-vector -38.5 -28.0 67.5) (float-vector -38.5 -28.0 102.5)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 30.3109 -17.5 230.0) (float-vector 35.0 0.0 230.0) (float-vector 30.3109 17.5 230.0) (float-vector 17.5 30.3109 230.0) (float-vector 1.953993e-14 35.0 230.0) (float-vector -17.5 30.3109 230.0) (float-vector -30.3109 17.5 230.0) (float-vector -35.0 4.085621e-14 230.0) (float-vector -30.3109 -17.5 230.0) (float-vector -17.5 -30.3109 230.0) (float-vector -6.394885e-14 -35.0 230.0) (float-vector 17.5 -30.3109 230.0)))
         (instance face :init :vertices (list (float-vector 35.0 0.0 200.0) (float-vector 30.3109 -17.5 200.0) (float-vector 17.5 -30.3109 200.0) (float-vector -6.394885e-14 -35.0 200.0) (float-vector -17.5 -30.3109 200.0) (float-vector -30.3109 -17.5 200.0) (float-vector -35.0 4.085621e-14 200.0) (float-vector -30.3109 17.5 200.0) (float-vector -17.5 30.3109 200.0) (float-vector 1.953993e-14 35.0 200.0) (float-vector 17.5 30.3109 200.0) (float-vector 30.3109 17.5 200.0)))
         (instance face :init :vertices (list (float-vector 30.3109 -17.5 230.0) (float-vector 30.3109 -17.5 200.0) (float-vector 35.0 0.0 200.0) (float-vector 35.0 0.0 230.0)))
         (instance face :init :vertices (list (float-vector 17.5 -30.3109 230.0) (float-vector 17.5 -30.3109 200.0) (float-vector 30.3109 -17.5 200.0) (float-vector 30.3109 -17.5 230.0)))
         (instance face :init :vertices (list (float-vector -6.394885e-14 -35.0 230.0) (float-vector -6.394885e-14 -35.0 200.0) (float-vector 17.5 -30.3109 200.0) (float-vector 17.5 -30.3109 230.0)))
         (instance face :init :vertices (list (float-vector -17.5 -30.3109 230.0) (float-vector -17.5 -30.3109 200.0) (float-vector -6.394885e-14 -35.0 200.0) (float-vector -6.394885e-14 -35.0 230.0)))
         (instance face :init :vertices (list (float-vector -30.3109 -17.5 230.0) (float-vector -30.3109 -17.5 200.0) (float-vector -17.5 -30.3109 200.0) (float-vector -17.5 -30.3109 230.0)))
         (instance face :init :vertices (list (float-vector -35.0 4.085621e-14 230.0) (float-vector -35.0 4.085621e-14 200.0) (float-vector -30.3109 -17.5 200.0) (float-vector -30.3109 -17.5 230.0)))
         (instance face :init :vertices (list (float-vector -30.3109 17.5 230.0) (float-vector -30.3109 17.5 200.0) (float-vector -35.0 4.085621e-14 200.0) (float-vector -35.0 4.085621e-14 230.0)))
         (instance face :init :vertices (list (float-vector -17.5 30.3109 230.0) (float-vector -17.5 30.3109 200.0) (float-vector -30.3109 17.5 200.0) (float-vector -30.3109 17.5 230.0)))
         (instance face :init :vertices (list (float-vector 1.953993e-14 35.0 230.0) (float-vector 1.953993e-14 35.0 200.0) (float-vector -17.5 30.3109 200.0) (float-vector -17.5 30.3109 230.0)))
         (instance face :init :vertices (list (float-vector 17.5 30.3109 230.0) (float-vector 17.5 30.3109 200.0) (float-vector 1.953993e-14 35.0 200.0) (float-vector 1.953993e-14 35.0 230.0)))
         (instance face :init :vertices (list (float-vector 30.3109 17.5 230.0) (float-vector 30.3109 17.5 200.0) (float-vector 17.5 30.3109 200.0) (float-vector 17.5 30.3109 230.0)))
         (instance face :init :vertices (list (float-vector 35.0 0.0 230.0) (float-vector 35.0 0.0 200.0) (float-vector 30.3109 17.5 200.0) (float-vector 30.3109 17.5 230.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 19.9186 -11.5 270.0) (float-vector 23.0 0.0 270.0) (float-vector 19.9186 11.5 270.0) (float-vector 11.5 19.9186 270.0) (float-vector 1.243450e-14 23.0 270.0) (float-vector -11.5 19.9186 270.0) (float-vector -19.9186 11.5 270.0) (float-vector -23.0 2.309264e-14 270.0) (float-vector -19.9186 -11.5 270.0) (float-vector -11.5 -19.9186 270.0) (float-vector -3.375078e-14 -23.0 270.0) (float-vector 11.5 -19.9186 270.0)))
         (instance face :init :vertices (list (float-vector 23.0 0.0 230.0) (float-vector 19.9186 -11.5 230.0) (float-vector 11.5 -19.9186 230.0) (float-vector -3.375078e-14 -23.0 230.0) (float-vector -11.5 -19.9186 230.0) (float-vector -19.9186 -11.5 230.0) (float-vector -23.0 2.309264e-14 230.0) (float-vector -19.9186 11.5 230.0) (float-vector -11.5 19.9186 230.0) (float-vector 1.243450e-14 23.0 230.0) (float-vector 11.5 19.9186 230.0) (float-vector 19.9186 11.5 230.0)))
         (instance face :init :vertices (list (float-vector 19.9186 -11.5 270.0) (float-vector 19.9186 -11.5 230.0) (float-vector 23.0 0.0 230.0) (float-vector 23.0 0.0 270.0)))
         (instance face :init :vertices (list (float-vector 11.5 -19.9186 270.0) (float-vector 11.5 -19.9186 230.0) (float-vector 19.9186 -11.5 230.0) (float-vector 19.9186 -11.5 270.0)))
         (instance face :init :vertices (list (float-vector -3.375078e-14 -23.0 270.0) (float-vector -3.375078e-14 -23.0 230.0) (float-vector 11.5 -19.9186 230.0) (float-vector 11.5 -19.9186 270.0)))
         (instance face :init :vertices (list (float-vector -11.5 -19.9186 270.0) (float-vector -11.5 -19.9186 230.0) (float-vector -3.375078e-14 -23.0 230.0) (float-vector -3.375078e-14 -23.0 270.0)))
         (instance face :init :vertices (list (float-vector -19.9186 -11.5 270.0) (float-vector -19.9186 -11.5 230.0) (float-vector -11.5 -19.9186 230.0) (float-vector -11.5 -19.9186 270.0)))
         (instance face :init :vertices (list (float-vector -23.0 2.309264e-14 270.0) (float-vector -23.0 2.309264e-14 230.0) (float-vector -19.9186 -11.5 230.0) (float-vector -19.9186 -11.5 270.0)))
         (instance face :init :vertices (list (float-vector -19.9186 11.5 270.0) (float-vector -19.9186 11.5 230.0) (float-vector -23.0 2.309264e-14 230.0) (float-vector -23.0 2.309264e-14 270.0)))
         (instance face :init :vertices (list (float-vector -11.5 19.9186 270.0) (float-vector -11.5 19.9186 230.0) (float-vector -19.9186 11.5 230.0) (float-vector -19.9186 11.5 270.0)))
         (instance face :init :vertices (list (float-vector 1.243450e-14 23.0 270.0) (float-vector 1.243450e-14 23.0 230.0) (float-vector -11.5 19.9186 230.0) (float-vector -11.5 19.9186 270.0)))
         (instance face :init :vertices (list (float-vector 11.5 19.9186 270.0) (float-vector 11.5 19.9186 230.0) (float-vector 1.243450e-14 23.0 230.0) (float-vector 1.243450e-14 23.0 270.0)))
         (instance face :init :vertices (list (float-vector 19.9186 11.5 270.0) (float-vector 19.9186 11.5 230.0) (float-vector 11.5 19.9186 230.0) (float-vector 11.5 19.9186 270.0)))
         (instance face :init :vertices (list (float-vector 23.0 0.0 270.0) (float-vector 23.0 0.0 230.0) (float-vector 19.9186 11.5 230.0) (float-vector 19.9186 11.5 270.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 6.9282 -4.0 280.0) (float-vector 8.0 0.0 280.0) (float-vector 6.9282 4.0 280.0) (float-vector 4.0 6.9282 280.0) (float-vector 3.996803e-15 8.0 280.0) (float-vector -4.0 6.9282 280.0) (float-vector -6.9282 4.0 280.0) (float-vector -8.0 8.437695e-15 280.0) (float-vector -6.9282 -4.0 280.0) (float-vector -4.0 -6.9282 280.0) (float-vector -1.376677e-14 -8.0 280.0) (float-vector 4.0 -6.9282 280.0)))
         (instance face :init :vertices (list (float-vector 8.0 0.0 270.0) (float-vector 6.9282 -4.0 270.0) (float-vector 4.0 -6.9282 270.0) (float-vector -1.376677e-14 -8.0 270.0) (float-vector -4.0 -6.9282 270.0) (float-vector -6.9282 -4.0 270.0) (float-vector -8.0 8.437695e-15 270.0) (float-vector -6.9282 4.0 270.0) (float-vector -4.0 6.9282 270.0) (float-vector 3.996803e-15 8.0 270.0) (float-vector 4.0 6.9282 270.0) (float-vector 6.9282 4.0 270.0)))
         (instance face :init :vertices (list (float-vector 6.9282 -4.0 280.0) (float-vector 6.9282 -4.0 270.0) (float-vector 8.0 0.0 270.0) (float-vector 8.0 0.0 280.0)))
         (instance face :init :vertices (list (float-vector 4.0 -6.9282 280.0) (float-vector 4.0 -6.9282 270.0) (float-vector 6.9282 -4.0 270.0) (float-vector 6.9282 -4.0 280.0)))
         (instance face :init :vertices (list (float-vector -1.376677e-14 -8.0 280.0) (float-vector -1.376677e-14 -8.0 270.0) (float-vector 4.0 -6.9282 270.0) (float-vector 4.0 -6.9282 280.0)))
         (instance face :init :vertices (list (float-vector -4.0 -6.9282 280.0) (float-vector -4.0 -6.9282 270.0) (float-vector -1.376677e-14 -8.0 270.0) (float-vector -1.376677e-14 -8.0 280.0)))
         (instance face :init :vertices (list (float-vector -6.9282 -4.0 280.0) (float-vector -6.9282 -4.0 270.0) (float-vector -4.0 -6.9282 270.0) (float-vector -4.0 -6.9282 280.0)))
         (instance face :init :vertices (list (float-vector -8.0 8.437695e-15 280.0) (float-vector -8.0 8.437695e-15 270.0) (float-vector -6.9282 -4.0 270.0) (float-vector -6.9282 -4.0 280.0)))
         (instance face :init :vertices (list (float-vector -6.9282 4.0 280.0) (float-vector -6.9282 4.0 270.0) (float-vector -8.0 8.437695e-15 270.0) (float-vector -8.0 8.437695e-15 280.0)))
         (instance face :init :vertices (list (float-vector -4.0 6.9282 280.0) (float-vector -4.0 6.9282 270.0) (float-vector -6.9282 4.0 270.0) (float-vector -6.9282 4.0 280.0)))
         (instance face :init :vertices (list (float-vector 3.996803e-15 8.0 280.0) (float-vector 3.996803e-15 8.0 270.0) (float-vector -4.0 6.9282 270.0) (float-vector -4.0 6.9282 280.0)))
         (instance face :init :vertices (list (float-vector 4.0 6.9282 280.0) (float-vector 4.0 6.9282 270.0) (float-vector 3.996803e-15 8.0 270.0) (float-vector 3.996803e-15 8.0 280.0)))
         (instance face :init :vertices (list (float-vector 6.9282 4.0 280.0) (float-vector 6.9282 4.0 270.0) (float-vector 4.0 6.9282 270.0) (float-vector 4.0 6.9282 280.0)))
         (instance face :init :vertices (list (float-vector 8.0 0.0 280.0) (float-vector 8.0 0.0 270.0) (float-vector 6.9282 4.0 270.0) (float-vector 6.9282 4.0 280.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 1.29904 -0.75 315.0) (float-vector 1.5 0.0 315.0) (float-vector 1.29904 0.75 315.0) (float-vector 0.75 1.29904 315.0) (float-vector 6.661338e-16 1.5 315.0) (float-vector -0.75 1.29904 315.0) (float-vector -1.29904 0.75 315.0) (float-vector -1.5 1.221245e-15 315.0) (float-vector -1.29904 -0.75 315.0) (float-vector -0.75 -1.29904 315.0) (float-vector -2.109424e-15 -1.5 315.0) (float-vector 0.75 -1.29904 315.0)))
         (instance face :init :vertices (list (float-vector 1.5 0.0 280.0) (float-vector 1.29904 -0.75 280.0) (float-vector 0.75 -1.29904 280.0) (float-vector -2.109424e-15 -1.5 280.0) (float-vector -0.75 -1.29904 280.0) (float-vector -1.29904 -0.75 280.0) (float-vector -1.5 1.221245e-15 280.0) (float-vector -1.29904 0.75 280.0) (float-vector -0.75 1.29904 280.0) (float-vector 6.661338e-16 1.5 280.0) (float-vector 0.75 1.29904 280.0) (float-vector 1.29904 0.75 280.0)))
         (instance face :init :vertices (list (float-vector 1.29904 -0.75 315.0) (float-vector 1.29904 -0.75 280.0) (float-vector 1.5 0.0 280.0) (float-vector 1.5 0.0 315.0)))
         (instance face :init :vertices (list (float-vector 0.75 -1.29904 315.0) (float-vector 0.75 -1.29904 280.0) (float-vector 1.29904 -0.75 280.0) (float-vector 1.29904 -0.75 315.0)))
         (instance face :init :vertices (list (float-vector -2.109424e-15 -1.5 315.0) (float-vector -2.109424e-15 -1.5 280.0) (float-vector 0.75 -1.29904 280.0) (float-vector 0.75 -1.29904 315.0)))
         (instance face :init :vertices (list (float-vector -0.75 -1.29904 315.0) (float-vector -0.75 -1.29904 280.0) (float-vector -2.109424e-15 -1.5 280.0) (float-vector -2.109424e-15 -1.5 315.0)))
         (instance face :init :vertices (list (float-vector -1.29904 -0.75 315.0) (float-vector -1.29904 -0.75 280.0) (float-vector -0.75 -1.29904 280.0) (float-vector -0.75 -1.29904 315.0)))
         (instance face :init :vertices (list (float-vector -1.5 1.221245e-15 315.0) (float-vector -1.5 1.221245e-15 280.0) (float-vector -1.29904 -0.75 280.0) (float-vector -1.29904 -0.75 315.0)))
         (instance face :init :vertices (list (float-vector -1.29904 0.75 315.0) (float-vector -1.29904 0.75 280.0) (float-vector -1.5 1.221245e-15 280.0) (float-vector -1.5 1.221245e-15 315.0)))
         (instance face :init :vertices (list (float-vector -0.75 1.29904 315.0) (float-vector -0.75 1.29904 280.0) (float-vector -1.29904 0.75 280.0) (float-vector -1.29904 0.75 315.0)))
         (instance face :init :vertices (list (float-vector 6.661338e-16 1.5 315.0) (float-vector 6.661338e-16 1.5 280.0) (float-vector -0.75 1.29904 280.0) (float-vector -0.75 1.29904 315.0)))
         (instance face :init :vertices (list (float-vector 0.75 1.29904 315.0) (float-vector 0.75 1.29904 280.0) (float-vector 6.661338e-16 1.5 280.0) (float-vector 6.661338e-16 1.5 315.0)))
         (instance face :init :vertices (list (float-vector 1.29904 0.75 315.0) (float-vector 1.29904 0.75 280.0) (float-vector 0.75 1.29904 280.0) (float-vector 0.75 1.29904 315.0)))
         (instance face :init :vertices (list (float-vector 1.5 0.0 315.0) (float-vector 1.5 0.0 280.0) (float-vector 1.29904 0.75 280.0) (float-vector 1.29904 0.75 315.0)))
       ))
       ))
     (dolist (b (cdr bc)) (send (car bc) :assoc b))
     (send (elt bc 0) :set-color :gray20)
     (send (elt bc 1) :set-color :gray20)
     (send (elt bc 2) :set-color :yellow)
     (send (elt bc 3) :set-color :yellow)
     (send (elt bc 4) :set-color :gray20)
     (send (elt bc 5) :set-color :gray20)
     (send (elt bc 6) :set-color :gray20)
     (setq blink0 (instance bodyset-link :init (make-cascoords) :bodies bc :name 'dewalt-drill :weight 1 :centroid (float-vector 0.0 0.0 0.0) :inertia-tensor #2f((1.0 0.0 0.0) (0.0 1.0 0.0) (0.0 0.0 1.0))))

     ;; definition of assoc
     (send self :assoc blink0)

     ;; definition of end-coords

     ;; definition of joint


     ;; init-ending 
     (setq links (list blink0))
     (setq joint-list (list))
     (send self :init-ending)
     (send self :move-to (make-coords :pos pos :rot rot))
     (send-all links :worldcoords)

     self))

  (:handle (&rest args) (forward-message-to-all (list ) args))
  (:attention (&rest args) (forward-message-to-all (list ) args))
  (:button (&rest args) (forward-message-to-all (list ) args))
  )

(defun dewalt-drill (&rest args) (instance* dewalt-drill-object :init args))
;; (format *error-output* "(instance dewalt-drill-object :init) for generating model~%")