GIS Point Data & 3D Models

764
1
07-04-2013 02:06 AM
TriciaRyan
New Contributor
Hi there,

I have just downloaded the City Engine free trial and am looking at the potential for its use in relation to the renewables sector, specifically wind turbines.  I have watched quite a few of the tutorials but there are few that seem to deal with the point GIS data.  What I want to do is import in a 3D model of a wind turbine that has been created in SketchUp.  I'm sure it is quite simple and I am just missing something obvious...I have the model in a variety of formats - kmz, obj, dae.  I cannot seem to find a way to import them and assign them to my windfarm layout?  Do I need to write a specific rule for this?

All suggestions would be great.
Thanks for your time and help in advance.
Tricia
0 Kudos
1 Reply
JoanneO_Brien
Occasional Contributor
Hi

I use point files for my trees, you do need to write a rule for these and assign it to the point but it's pretty simple.

tree_tex =  "assets/trees/alleyTree_1_v1.obj"
attr treeSize = 12
@StartRule
LotTree--> s(0,treeSize,0) # Tree size 
         center(xz) i(tree_tex) Tree.


Here I'm just importing the tree asset with tree_tex. I then have my start rule LotTree, where I give the scale of the tree, centre it and then import the obj file.

If you create a file like this for your windturbines then they should insert fine. 🙂
0 Kudos