|
POST
|
Hi .. Can you post a series of screenshots with the precise steps and the error message itself ? Let me know .. Matt
... View more
03-14-2013
02:33 AM
|
0
|
0
|
2505
|
|
POST
|
Hi. Usually you work entirely with geolocated data ( coordinates far away from the cartesian origin ) or without ( near the cartesian origin ). You can not work with both at the same time. This is a measure of caution to prevent export precision issues. So either you georeference your import data or move your existing data back to the origin. You could also do this trick : Create an obj or collada asset from the data you want to import, then drag and drop it into the viewport as a 'Static Model'. Then use RMB > Convert Model to Shapes. > Check the coordinate values in your data. E.g. if your dxf has very high coordinate values, the data is geolocated. Maybe synch this in your CAD app even before import in CE if you don't care about georeferenced stuff. Ok ? Let me know .. Matt
... View more
03-14-2013
02:31 AM
|
0
|
0
|
3191
|
|
POST
|
Hi .. That's 'zFighting', where coplanar faces produce those artifacts. That's normal. - Toggle F11 to make the shapes visible / invisible. - Maybe play with the camera's focal point. Select a shape and press 'f' to frame the object. Does this help ? Let me know..
... View more
03-14-2013
02:19 AM
|
0
|
0
|
1549
|
|
POST
|
Hi .. Open the Paris.cga rule.. the rule which you use to create that building. Change the rule editor to show the rule in text, not the nodebased representation. I assume you just started with CityEngine ? Did you see the tutorial videos ? http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP Matt
... View more
03-14-2013
02:13 AM
|
0
|
0
|
1876
|
|
POST
|
Hi Improving these workflows is planned. Going from parametric subdivision to procedural subdivision indeed would not be too complicated, but there's things involved that need be solved. We've thought of going that route .. We'll see .. 🙂 Matt
... View more
03-13-2013
09:25 AM
|
0
|
0
|
1508
|
|
POST
|
Hi Jussi, The Shape Creation process using the 'Dynamic City Layouts' system is independent of CGA. It's just used to produce shapes for later use with CGA. This may be changed one day though. What you can do though, is to use the menu Shape > Subdivide on a polygonal shape and have it subdivided with the same subdivision parameters. Though this is not dynamic. To go back, use 'undo'. There's no way to go from a polygon to define a dynamic block with 0 street width unless you code this in Python. So this would be an option. Though I'd not recommend this because usually you have some issues with proper block subdivision with streets of width 0. Does this help ? M.
... View more
03-13-2013
08:16 AM
|
0
|
0
|
1508
|
|
POST
|
Ciao chiara, Sure, post more questions here .. 🙂 You find other standard roof types and all other CGA operations in the CGA code reference. Go to the Help Menu (F1). You can make materials transparent by writing : set (material.opacity, 0.3)
... View more
03-13-2013
08:10 AM
|
0
|
0
|
3437
|
|
POST
|
Hi Eva. The issue is that ArcGIS ALWAYS stores shapes in a clockwise manner. CityEngine interprets the normal of a face by interpreting the data counterclockwise. This means that no matter if the user has drawn the shape initially in ArcGIS clockwise or counterclockwise, ArcGIS stores the data clockwise. Depending on this, you may get an offset in the edge index in CityEngine depending on this. The best is to : - make a test dataset for yourself similar to the attached image I did some time ago. - adapt your dataset in ArcGIS so your data will turn out well in CityEngine. Ok ? Matt
... View more
03-13-2013
08:06 AM
|
0
|
0
|
2494
|
|
POST
|
Hi .. You can rename the layer in the Inspector, somewhere on the very top, there's a line for the name. Cheers ! M.
... View more
03-13-2013
07:58 AM
|
0
|
0
|
1173
|
|
POST
|
Hi .. These rules are specifically written so that the back facades keep the low level of detail. It should be 'relatively' easy to find the comp() component split in the code, where this distinction is made. You should just have to change 1 line of code, if you're lucky. Use a dot ( . ) stepping each rule to stop it at these steps. E.g. Roof. -->
.. That way, you find the position, where you have the comp(f) which distincts between front (main) facade, side and back facades. Ok ? Matt
... View more
03-13-2013
07:57 AM
|
0
|
0
|
1876
|
|
POST
|
This should work : // Attributes attr Q_GRONDA = "" # string ! attr STANZA = "" // Functions red = "#ffaaaa" green = "#aaffaa" blue = "#aaaaff" turquoise = "#ooebeb" white = "#ffffff" yellow = "#ffff73" grey = "#9c9c9c" // Start ! @StartRule Lot --> extrude (float (Q_GRONDA)) Colorizer Colorizer--> case STANZA == "4_1" : color(red) Continue case STANZA == "7_2" : color(yellow) Continue case STANZA == "1_3" : color(blue) Continue case STANZA == "4_3" : color(green) Continue else : color(white) Continue Continue --> comp(f) { side : Facade. | top : roofHip(30,0.5) Roof. }
... View more
03-12-2013
04:36 AM
|
0
|
0
|
3437
|
|
POST
|
hi .. just for information, the above was just an example, without correct code.. that code WILL produce errors. can you post your code ? m.
... View more
03-12-2013
03:46 AM
|
0
|
0
|
3437
|
|
POST
|
Hi .. ok. maybe if you have the time, it'd be better that you create a tiny CE project to post here which I can directly use to reproduce the issue. Then we directly can talk about the issue and have both the data. I can certainly track something down, but it may be faster if you provide a minimal reproduction dataset. let me know.. m.
... View more
03-12-2013
03:45 AM
|
0
|
0
|
2068
|
|
POST
|
Hi .. Just before I go and test this myself : A few notes, just want to make sure you're aware of this. - If you run the script based exporter itself, nothing is exported, thus no models are exported - The script based exporter is accompanying a standard exporter, such as e.g. the FBX export, where you actually export geometry. - To do so, export with a standard file format ( e.g. obj, fbx, .. ) and in the MISC tab, select your script. Thus, can it be that it may work, but you just don't see the updates because you don't write geometry ? Seems you're a coding PRO, so just want to make sure. 😮
... View more
03-12-2013
01:39 AM
|
0
|
0
|
2068
|
| 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
|