File: eng2-7f-southwing-wall394-object.l

package info (click to toggle)
euslisp 9.27%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 55,344 kB
  • sloc: ansic: 41,162; lisp: 3,339; makefile: 256; sh: 208; asm: 138; python: 53
file content (58 lines) | stat: -rw-r--r-- 2,889 bytes parent folder | download
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
;;
;; DO NOT EDIT THIS FILE
;; this file is automatically generated from euslisp+euslib version 
;;
;;
(defclass eng2-7f-southwing-wall394-object
  :super cascaded-link
  :slots (sensors
         ))
(defmethod eng2-7f-southwing-wall394-object
  (:init
   (&rest args &key (name "eng2-7f-southwing-wall394") (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 :eng2-7f-southwing-wall394-bodyset2
     (setq bc (list
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 8600.0 100.0 1375.0) (float-vector -8600.0 100.0 1375.0) (float-vector -8600.0 -100.0 1375.0) (float-vector 8600.0 -100.0 1375.0)))
         (instance face :init :vertices (list (float-vector -8600.0 100.0 -1375.0) (float-vector 8600.0 100.0 -1375.0) (float-vector 8600.0 -100.0 -1375.0) (float-vector -8600.0 -100.0 -1375.0)))
         (instance face :init :vertices (list (float-vector 8600.0 100.0 1375.0) (float-vector 8600.0 100.0 -1375.0) (float-vector -8600.0 100.0 -1375.0) (float-vector -8600.0 100.0 1375.0)))
         (instance face :init :vertices (list (float-vector 8600.0 -100.0 1375.0) (float-vector 8600.0 -100.0 -1375.0) (float-vector 8600.0 100.0 -1375.0) (float-vector 8600.0 100.0 1375.0)))
         (instance face :init :vertices (list (float-vector -8600.0 -100.0 1375.0) (float-vector -8600.0 -100.0 -1375.0) (float-vector 8600.0 -100.0 -1375.0) (float-vector 8600.0 -100.0 1375.0)))
         (instance face :init :vertices (list (float-vector -8600.0 100.0 1375.0) (float-vector -8600.0 100.0 -1375.0) (float-vector -8600.0 -100.0 -1375.0) (float-vector -8600.0 -100.0 1375.0)))
       ))
       ))
     (dolist (b (cdr bc)) (send (car bc) :assoc b))
     (send (elt bc 0) :set-color (float-vector 0.3 0.3 0.3))
     (setq blink0 (instance bodyset-link :init (make-cascoords) :bodies bc :name :eng2-7f-southwing-wall394-bodyset2 :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 eng2-7f-southwing-wall394 (&rest args) (instance* eng2-7f-southwing-wall394-object :init args))
;; (format *error-output* "(instance eng2-7f-southwing-wall394-object :init) for generating model~%")