13 messages in com.googlegroups.sketchuprubyRe: moving components to Z elevation| From | Sent On | Attachments |
|---|---|---|
| honkinberry | 11 Jul 2007 14:10 | |
| Todd Burch - Katy, Texas | 11 Jul 2007 15:17 | |
| honkinberry | 11 Jul 2007 17:00 | |
| Todd Burch - Katy, Texas | 11 Jul 2007 20:20 | |
| honkinberry | 11 Jul 2007 21:06 | |
| Todd Burch - Katy, Texas | 12 Jul 2007 05:36 | |
| honkinberry | 12 Jul 2007 07:52 | |
| Todd Burch - Katy, Texas | 12 Jul 2007 09:34 | |
| Todd Burch - Katy, Texas | 12 Jul 2007 09:43 | |
| honkinberry | 12 Jul 2007 10:22 | |
| Todd Burch - Katy, Texas | 12 Jul 2007 10:30 | |
| honkinberry | 12 Jul 2007 10:59 | |
| Todd Burch - Katy, Texas | 12 Jul 2007 11:38 |
| Subject: | Re: moving components to Z elevation![]() |
|---|---|
| From: | honkinberry (honk...@gmail.com) |
| Date: | 07/12/2007 07:52:59 AM |
| List: | com.googlegroups.sketchupruby |
user has a large site plan. picture rolling hills and many houses. in SU, user has established these rolling hills, built his buildings, and so on.
meanwhile, in AutoCAD, everything is a 2-D world. but this is where the user is designing the landscape design.
we have a AutoLISP routine that creates a text file for SU, with a list of components to represent each tree and shrub, and an X,Y coordinate for where they need to go.
So I have a Ruby script that reads in that text file, loads each component, and places it at that X,Y coordinate.
yet, they are all at Z level 0. I would like to have them all at the appropriate Z elevation, to match the rolling hills that the user has.
This is for hundreds, if not thousands of components. there is to be no user interaction other than initially firing this Ruby script. It is to read in the components to place, and then place them at the correct locations.
So, again, given an X,Y coordinate, how do I determine the appropriate Z elevation to snap to a SU contour?
--J




