POST
|
I had the same problem. The solution was to input the shapefiles instead of the feature classes from a file Geodatabase. http://www.arcgis.com/home/item.html?id=755f96fcde454ece8f790fecb3e031c7#! How the tool works? The tools process shapefile data from TomTom MultiNet or NAVTEQ NAVSTREETS into a file geodatabase network dataset.
... View more
04-13-2015
01:05 AM
|
0
|
0
|
341
|
POST
|
Hi Devin, Your solution works well. Isolating the lower mass (ground floor) of the building and applying a "split(z)" before a "comp(f)" is a good workaround (instead of a "comp(f)" and a split() on each facade one after another). It avoids over/undershooting and it is much simpler. Thank you for your help. Thibault
... View more
08-18-2014
11:44 PM
|
0
|
0
|
648
|
POST
|
Here is a simplified (and incomplete but working) version of the CGA code with which I am having trouble : -- version "2014.0" attr HEIGHT = 0 attr groundFloorHeight = 4 attr floorHeight = 4 attr roofHeight = 1.5 attr groundFloorElevation = 0.20 attr corridorWidth = 2 @StartRule Building --> //innerRect extrude(HEIGHT) split(y){ groundFloorHeight:GroundFloor| floorHeight:Floor| roofHeight:Roof} GroundFloor --> split(y){ groundFloorElevation:GroundFloorElevation| ~1:GroundFloorBuilding} GroundFloorBuilding --> comp(f){ front:GroundFloorFacade| left:GroundFloorBuildingLeft| right:GroundFloorBuildingRight| back:GroundFloorBuildingBack} GroundFloorFacade --> t(0,0,-corridorWidth) color("#FFFF00") GroundFloorBuildingLeft --> split(x){ ~1:GroundFloorBuildingSideWall| corridorWidth:NIL} GroundFloorBuildingRight --> split(x){ corridorWidth:NIL| ~1:GroundFloorBuildingSideWall} -- Resulting model with over/undershoot issues on the yellow face:
... View more
08-16-2014
08:18 PM
|
0
|
2
|
648
|
POST
|
The second example is maybe a little confusing. The model (in dark grey) is manually edited, from a 2d shape (extent of a building, totally not rectangular), extruded, then I manually splited each faces to simulate what I am trying to achieve trough CGA. If you go back to the first example part two, using comp(f), it shows what I am really trying to do. Using Matt suggestion with "innerRect" solve the over/undershoot issues (see the yellow face) : but the building doesn't follow the extent any more. And as I have a few of these buildings next to each other, I have gaps in between : instead of : but here I have the under/overshoot issues (it is the first example) :
... View more
08-16-2014
08:13 PM
|
0
|
3
|
648
|
POST
|
innerRect is a solution, but I would like not to modify the extent of my buildings. What I am trying to do is maybe not possible, but I'd like to understand how to write a code similar to: @StartRule A --> extrude(5) split(x){ '0.5:B| '0.5:C} and get something like : instead of : Thank you. Thibault
... View more
08-16-2014
09:55 AM
|
0
|
5
|
648
|
POST
|
Hi, I imported some buildings extent interpreted by CE as static shapes, but they are not perfect rectangles. So every time I attempt to use a split(x/z) or a comp(f) followed by some t(x,y,z), it is all messed up. Example using split : General view CGA version "2014.0" @StartRule A --> extrude(6) B B --> split(x){ 0.5:P| ~1:M| 0.5:P} P --> color("#FF80C0") M --> color("#00FF00") Example using comp(f) : General view Issues The yellow face is the "front" face of the ground floor, translated backward. On the left it overshoots On the right it undershoots I guess my problem is that all my operations are based on the scope of my model, which is rectangular, but my shape, so my model, are not. What would be the best way to handle this ? Thank you. Thibault
... View more
08-16-2014
08:11 AM
|
0
|
8
|
1617
|
POST
|
Hi, I found the cause of problem but not the solution. CityEngine like some other software won't work on a virtual machine using vmware player. I have a nvidia graphic card and even if I enable 3D acceleration in the VM settings, the VMware SVGA 3D doesn't seems to be recognised as the nvidia card. For example, I can't install nvidia's drivers to the host operating system (win7). It doesn't seems to affect some software, and some won't even start. When CityEngine starts, there isn't any error message saying the graphic card is not supported or recognized. The only option I could think of would be to install VMware vSphere ESXi 5.5 along with nvidia VMware vSphere ESXi 5.5 drivers. But I can't test it at the moment. Any idea on how to use CE on a virtual environment ? Thank you. Thibault
... View more
08-16-2014
02:25 AM
|
0
|
2
|
581
|
POST
|
Whenever I apply a rule to a shape, nothing seems to happen. When I actually select a shape on which I applied a rule, I can see the wireframe structure of the model as shown below : I get the same result with both Lots and Streets, with a simple rule like : Building --> extrude(5) Could you please help me figure out what I have missed ? Thx Thibault
... View more
07-31-2014
06:01 AM
|
0
|
6
|
1596
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|