pete
/
psc
1
0
Fork 0
- fixed crash when stair-guard--num was called outside of stair-guard-assembly due to var location being nil
- fixed crash when floor landing had stair on one side only due to width at other side being nil
checker-starter-anchor-sl
Dennis Dreischmeyer 4 months ago
parent 2339184d12
commit c85058a769

3
.gitignore vendored

@ -15,4 +15,5 @@ checkopen/check.csv
docs/code-manual/build/dist/
docs/code-manual/build/__pycache__/
docs/user-manual/build-commands/dist/
docs/user-manual/build-commands/__pycache__/
docs/user-manual/build-commands/__pycache__/
*._dc

@ -525,7 +525,7 @@
) ;_ defun d-plt
(defun l-off ( / off)
(setq off (* (- front_l-stair_wid front_r-stair_wid) dir 0.5))
(setq off (* (- (?n front_l-stair_wid) (?n front_r-stair_wid)) dir 0.5))
(mapcar
'(lambda (obj) (vla-move obj (3dpt 0 0) (3dpt 0 off)))
(collection->list blockobj)

@ -78,7 +78,7 @@ on location LOC. See %stair-guard-assembly for format of LOC.
If there is no guard rail at LOC, returns nil. If there is only one guard rail on the
flight, returns 0, indicating numbers are unnecessary."
(declare with-data
(vars (loc str (member location '("ibot" "obot" "itop" "otop" "btwn")))))
(vars (loc str (member loc '("ibot" "obot" "itop" "otop" "btwn")))))
;; hamming weight of a bit string
(defun hamming (n / ret)
(setq ret 0)

Loading…
Cancel
Save