|
POST
|
check my other reply in your other thread here : http://forums.arcgis.com/threads/61181-How-to-define-the-street-side-to-do-the-setbacks-in-static-shapes * * * in general, a generic description of your process is tricky. if you have multiple parcels inside 1 block, theoretically all edges are facing a street simply because they're all inside streets. thus, you have to create a script which distinguishes between the states if a neighboring parcel edge is closer than an actual street. for this, you can write a Python script, which I'd recommend in your case. let me know if this helps so far. in case you decide to write such a script on your own, I can help you with starting. matt
... View more
08-15-2012
06:48 AM
|
0
|
0
|
4368
|
|
POST
|
that thread may help you : http://forums.arcgis.com/threads/44677-Define-Front-of-a-House
... View more
08-15-2012
06:41 AM
|
0
|
0
|
1201
|
|
POST
|
hi ! the vehicles are actually placed 'geometrically'. for this, the streets are split according to their UV coordinates. First into lanes and medians, then into smaller segments, on which the cars are inserted. at the current state, CityEngine has no actual lane information available to work with. Thus, all cars you see are simply placed 'randomly'. for a driving simulator, what you could do is 'create some metadata' which lets you recreate the curve network for use in your simulator, using Python scripting. but for this, I'd of course need to know what your simulator needs as input data.
... View more
08-15-2012
06:27 AM
|
0
|
0
|
4015
|
|
POST
|
not perfectly sure if I understand correctly. what you can do is query the height above zero at the very beginning of the model creation for use in CGA. would that help you ?
... View more
08-15-2012
06:22 AM
|
0
|
0
|
5756
|
|
POST
|
hmm. difficult to say without code. but you'd have to adapt the code of course when using indices for the distinction. if you could post a breakdown of the code, I may better help you. let me know ..
... View more
08-15-2012
06:18 AM
|
0
|
0
|
1408
|
|
POST
|
Hi ! CityEngine seems to have converted all the LIDAR points into little point markers, but that's not a proper way to work with LIDAR. Actually, LIDAR is not supported at all. To derive proper Roofs from LIDAR, you'd have to use ArcGIS or better contact a company who is specified in that type of processing. CityEngine is a procedural modeling application, thus it's specialty is to create geometries based on rule sets you define. CityEngine is not meant to be an application which lets you get 3d buildings from LIDAR data. Let me know if you have more questions.. matt
... View more
08-15-2012
05:53 AM
|
0
|
1
|
6233
|
|
POST
|
hi ! I did get some feedback, so I am waiting to post an official statement. Hope I get it soon.
... View more
08-15-2012
05:46 AM
|
0
|
0
|
1145
|
|
POST
|
Hi ! This is the case because CityEngine VUE does not have Python Scripting. Only the CityEngine 2010.3 PRO version contains it.
... View more
08-15-2012
05:39 AM
|
0
|
0
|
1120
|
|
POST
|
hi ! first, 3 things : 1] shape copies if you write : A -->
B
C you get 2 copies of the incoming shape (A), named B and C which are identical. this is sometimes useful, but not in your case. if you write : Lot2-->
split(x){ '0.5 : one | '0.5 : two }
split(v, uvSpace, 0) { 0.5 : three} you basically first make 2 copies of Lot2. thus you get wrong geometry. what you want is to split 'one' and 'two' further in the opposite direction, so you either need to define a new rule for this or write the same operation in the same line. CGA, in this case, does not go down step by step through each line. 2] familiarize yourself more with the scope here : http://forums.arcgis.com/threads/44417-CGA-Understanding-the-concept-of-the-scope and notice that for splitting in u and v directions, you first need to set the UVs properly first with setupProjection() and projectUV(). but in your case, you rather just want to split in x and z directions. only Street and Sidewalk shapes have already properly layouted UVs so you can split them nicely. on Lot shapes, I'd never use UV splits. 3] you can use the so-called 'generic attributes' define an attr, e.g. : attr remainingLotArea = 0 then, after the setback where you get the remainder shape, set the attr : set(remainingLotArea, geometry.area)
after that, you can access this attr in the rest of your code. hope this helps you further.
... View more
08-03-2012
02:37 AM
|
0
|
0
|
1770
|
|
POST
|
Hey ! that is really easy. just create an attr for this. for example : attr HighLOD = true then, at the best position in your code, add a case statement : e.g. Facade --> case HighLOD : # in case it's set to true ColorRule. else : TexturingRule. like this, you can distinguish the two states and either go for texturing or coloring, or add more details, .. make sense ? m.
... View more
08-03-2012
02:22 AM
|
0
|
0
|
1408
|
|
POST
|
you could also just select all footprints and use the align function. in the Shapes menu, align the shapes to the terrain. don't use the project option, you want to have the footprints flat. play a little with the options. once the shapes are in place, there's also a function where you then can align the terrain back to the shapes. this should work. 🙂
... View more
08-03-2012
02:19 AM
|
0
|
0
|
5756
|
|
POST
|
Hi ! Please contact Esri Customer Service at [email protected].
... View more
08-03-2012
02:14 AM
|
0
|
0
|
432
|
|
POST
|
Hi ! I found the little example. See attached file. It calculates the length of a selected graph segment. You may notice that CityEngine uses Jython, not Python. Hope this gives you a good start.
... View more
08-03-2012
02:08 AM
|
0
|
0
|
2457
|
|
POST
|
hmm. this could indeed be a precision issue there. but we've reworked the FGDB exporter so it should work much better for 2012. can you send me a test dataset ( PM ) so I can try to reproduce the issue here ? let me know.
... View more
07-31-2012
06:31 AM
|
0
|
0
|
1542
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-06-2012 08:40 AM | |
| 1 | 09-30-2013 08:33 AM | |
| 1 | 08-07-2013 04:45 AM | |
| 1 | 10-15-2012 02:19 AM | |
| 1 | 01-30-2014 12:09 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|