;;
;; DO NOT EDIT THIS FILE
;; this file is automatically generated from euslisp+euslib version 
;;
;;
(defclass coe-450-shelf-object
  :super cascaded-link
  :slots (sensors
         handle0
         ))
(defmethod coe-450-shelf-object
  (:init
   (&rest args &key (name "coe-450-shelf") (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 :coe-450-shelf-bodyset2
     (setq bc (list
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 225.0 225.0 44.5) (float-vector -225.0 225.0 44.5) (float-vector -225.0 -225.0 44.5) (float-vector 225.0 -225.0 44.5)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 -0.5) (float-vector 225.0 225.0 -0.5) (float-vector 225.0 -225.0 -0.5) (float-vector -225.0 -225.0 -0.5)))
         (instance face :init :vertices (list (float-vector 225.0 225.0 44.5) (float-vector 225.0 225.0 -0.5) (float-vector -225.0 225.0 -0.5) (float-vector -225.0 225.0 44.5)))
         (instance face :init :vertices (list (float-vector 225.0 -225.0 44.5) (float-vector 225.0 -225.0 -0.5) (float-vector 225.0 225.0 -0.5) (float-vector 225.0 225.0 44.5)))
         (instance face :init :vertices (list (float-vector -225.0 -225.0 44.5) (float-vector -225.0 -225.0 -0.5) (float-vector 225.0 -225.0 -0.5) (float-vector 225.0 -225.0 44.5)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 44.5) (float-vector -225.0 225.0 -0.5) (float-vector -225.0 -225.0 -0.5) (float-vector -225.0 -225.0 44.5)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 225.0 225.0 860.0) (float-vector -225.0 225.0 860.0) (float-vector -225.0 -225.0 860.0) (float-vector 225.0 -225.0 860.0)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 828.0) (float-vector 225.0 225.0 828.0) (float-vector 225.0 -225.0 828.0) (float-vector -225.0 -225.0 828.0)))
         (instance face :init :vertices (list (float-vector 225.0 225.0 860.0) (float-vector 225.0 225.0 828.0) (float-vector -225.0 225.0 828.0) (float-vector -225.0 225.0 860.0)))
         (instance face :init :vertices (list (float-vector 225.0 -225.0 860.0) (float-vector 225.0 -225.0 828.0) (float-vector 225.0 225.0 828.0) (float-vector 225.0 225.0 860.0)))
         (instance face :init :vertices (list (float-vector -225.0 -225.0 860.0) (float-vector -225.0 -225.0 828.0) (float-vector 225.0 -225.0 828.0) (float-vector 225.0 -225.0 860.0)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 860.0) (float-vector -225.0 225.0 828.0) (float-vector -225.0 -225.0 828.0) (float-vector -225.0 -225.0 860.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector -193.0 193.0 827.5) (float-vector -225.0 193.0 827.5) (float-vector -225.0 -193.0 827.5) (float-vector -193.0 -193.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 193.0 44.5) (float-vector -193.0 193.0 44.5) (float-vector -193.0 -193.0 44.5) (float-vector -225.0 -193.0 44.5)))
         (instance face :init :vertices (list (float-vector -193.0 193.0 827.5) (float-vector -193.0 193.0 44.5) (float-vector -225.0 193.0 44.5) (float-vector -225.0 193.0 827.5)))
         (instance face :init :vertices (list (float-vector -193.0 -193.0 827.5) (float-vector -193.0 -193.0 44.5) (float-vector -193.0 193.0 44.5) (float-vector -193.0 193.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 -193.0 827.5) (float-vector -225.0 -193.0 44.5) (float-vector -193.0 -193.0 44.5) (float-vector -193.0 -193.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 193.0 827.5) (float-vector -225.0 193.0 44.5) (float-vector -225.0 -193.0 44.5) (float-vector -225.0 -193.0 827.5)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 225.0 225.0 827.5) (float-vector -225.0 225.0 827.5) (float-vector -225.0 193.0 827.5) (float-vector 225.0 193.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 44.5) (float-vector 225.0 225.0 44.5) (float-vector 225.0 193.0 44.5) (float-vector -225.0 193.0 44.5)))
         (instance face :init :vertices (list (float-vector 225.0 225.0 827.5) (float-vector 225.0 225.0 44.5) (float-vector -225.0 225.0 44.5) (float-vector -225.0 225.0 827.5)))
         (instance face :init :vertices (list (float-vector 225.0 193.0 827.5) (float-vector 225.0 193.0 44.5) (float-vector 225.0 225.0 44.5) (float-vector 225.0 225.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 193.0 827.5) (float-vector -225.0 193.0 44.5) (float-vector 225.0 193.0 44.5) (float-vector 225.0 193.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 827.5) (float-vector -225.0 225.0 44.5) (float-vector -225.0 193.0 44.5) (float-vector -225.0 193.0 827.5)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 225.0 -193.0 827.5) (float-vector -225.0 -193.0 827.5) (float-vector -225.0 -225.0 827.5) (float-vector 225.0 -225.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 -193.0 44.5) (float-vector 225.0 -193.0 44.5) (float-vector 225.0 -225.0 44.5) (float-vector -225.0 -225.0 44.5)))
         (instance face :init :vertices (list (float-vector 225.0 -193.0 827.5) (float-vector 225.0 -193.0 44.5) (float-vector -225.0 -193.0 44.5) (float-vector -225.0 -193.0 827.5)))
         (instance face :init :vertices (list (float-vector 225.0 -225.0 827.5) (float-vector 225.0 -225.0 44.5) (float-vector 225.0 -193.0 44.5) (float-vector 225.0 -193.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 -225.0 827.5) (float-vector -225.0 -225.0 44.5) (float-vector 225.0 -225.0 44.5) (float-vector 225.0 -225.0 827.5)))
         (instance face :init :vertices (list (float-vector -225.0 -193.0 827.5) (float-vector -225.0 -193.0 44.5) (float-vector -225.0 -225.0 44.5) (float-vector -225.0 -225.0 827.5)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 217.0 201.0 452.0) (float-vector -217.0 201.0 452.0) (float-vector -217.0 -201.0 452.0) (float-vector 217.0 -201.0 452.0)))
         (instance face :init :vertices (list (float-vector -217.0 201.0 420.0) (float-vector 217.0 201.0 420.0) (float-vector 217.0 -201.0 420.0) (float-vector -217.0 -201.0 420.0)))
         (instance face :init :vertices (list (float-vector 217.0 201.0 452.0) (float-vector 217.0 201.0 420.0) (float-vector -217.0 201.0 420.0) (float-vector -217.0 201.0 452.0)))
         (instance face :init :vertices (list (float-vector 217.0 -201.0 452.0) (float-vector 217.0 -201.0 420.0) (float-vector 217.0 201.0 420.0) (float-vector 217.0 201.0 452.0)))
         (instance face :init :vertices (list (float-vector -217.0 -201.0 452.0) (float-vector -217.0 -201.0 420.0) (float-vector 217.0 -201.0 420.0) (float-vector 217.0 -201.0 452.0)))
         (instance face :init :vertices (list (float-vector -217.0 201.0 452.0) (float-vector -217.0 201.0 420.0) (float-vector -217.0 -201.0 420.0) (float-vector -217.0 -201.0 452.0)))
       ))
       (instance faceset :init :faces (list
         (instance face :init :vertices (list (float-vector 225.0 675.0 860.0) (float-vector -225.0 675.0 860.0) (float-vector -225.0 225.0 860.0) (float-vector 225.0 225.0 860.0)))
         (instance face :init :vertices (list (float-vector -225.0 675.0 828.0) (float-vector 225.0 675.0 828.0) (float-vector 225.0 225.0 828.0) (float-vector -225.0 225.0 828.0)))
         (instance face :init :vertices (list (float-vector 225.0 675.0 860.0) (float-vector 225.0 675.0 828.0) (float-vector -225.0 675.0 828.0) (float-vector -225.0 675.0 860.0)))
         (instance face :init :vertices (list (float-vector 225.0 225.0 860.0) (float-vector 225.0 225.0 828.0) (float-vector 225.0 675.0 828.0) (float-vector 225.0 675.0 860.0)))
         (instance face :init :vertices (list (float-vector -225.0 225.0 860.0) (float-vector -225.0 225.0 828.0) (float-vector 225.0 225.0 828.0) (float-vector 225.0 225.0 860.0)))
         (instance face :init :vertices (list (float-vector -225.0 675.0 860.0) (float-vector -225.0 675.0 828.0) (float-vector -225.0 225.0 828.0) (float-vector -225.0 225.0 860.0)))
       ))
       ))
     (dolist (b (cdr bc)) (send (car bc) :assoc b))
     (send (elt bc 0) :set-color :dimgray)
     (send (elt bc 1) :set-color :orange)
     (send (elt bc 2) :set-color :gray)
     (send (elt bc 3) :set-color :gray)
     (send (elt bc 4) :set-color :gray)
     (send (elt bc 5) :set-color :khaki)
     (send (elt bc 6) :set-color :orange)
     (setq blink0 (instance bodyset-link :init (make-cascoords) :bodies bc :name :coe-450-shelf-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


     ;; definition of :handle
     (setq handle0 (make-cascoords :pos (float-vector 0.0 0.0 0.0) :rot #2f((1.0 0.0 0.0) (0.0 1.0 0.0) (0.0 0.0 1.0)) :name "handle0"))
     (send blink0 :assoc handle0)

     ;; 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  handle0) args))
  (:handle-handle0 (&rest args) (forward-message-to handle0 args))
  (:attention (&rest args) (forward-message-to-all (list ) args))
  (:button (&rest args) (forward-message-to-all (list ) args))
  )

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