File: irt-all-objects.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 (15 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;
;; DO NOT EDIT THIS FILE
;; this file is automatically generated from euslisp+euslib version 
;;
;;
(defun execute-irtviewer (lst &key (width 100) (height 100)) (let ((x 0) (y 0) (x-offset 10) (y-offset 25) (x-limit (elt (send x:*root* :size) 0))) (mapcar #'(lambda (f) (warning-message 2 "~A~%" f) (let* ((r (eval f)) (p (make-irtviewer :width width :height height :title (send r :name) :no-menu t))) (send p :move x y) (send p :objects (list r)) (send p :look-all) (send p :draw-objects) (incf x (+ width x-offset)) (if (>= x (- x-limit width)) (setq x 0 y (incf y (+ height y-offset)))) p)) lst)))
;;
;;
(load "load-irt-all-objects.l")
;;
;;
;;
(warning-message 3 "(make-all-objects) to make all objects model~%")
(defun make-all-objects ()
    (execute-irtviewer *irt-all-objects* :width 70 :height 70))