Message 1 of 6
Make all Objects Touch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
What im pretty much doing is trying to come up with a code that will make all my shapes touch within the boundaries of
(setq p1 (list (* 120 25.4) (* 72 25.4)))
(setq p2 (list (* (+ (/ (car p1) 25.4) 120.01) 25.4) (* (+ (/ (cadr p1) 25.4) 72.01) 25.4)))
If you see my dwg you will see that the top left has a gap. Can someone help write a code that i can run that will auto check all shapes ( Rectangles, Trapezoids, Circles ) that there is atleat one touching point and its within the boundaries of what is provided i dont want it shifting outside of p1 and p2