Issue with aligning line .obj model according to polyline shape file

2822
2
03-04-2015 02:50 AM
NiladriBanerjee
New Contributor

hi All,

 

Having some issues with ESRI city engine. I have imported a line shape file with projection in UTM. While loading the following rule its not aligning properly which shows in the following screen shot. The rule file is like following:

 

@StartRule

attr height = .5

attr pole_height =5

attr cableHeight = pole_height

attr connectionStart = ""

 

 

@Location(388,28)

PowerlineAligned -->

 

    case connectionStart == "" :

    i("powerline cable 1.obj")   

    t(0,cableHeight,0)

        else :

        t(0,cableHeight,0)

 

I want to show the texture of the "powerline cable 1.obj" as a pipe line according to the alignment of the shape file. However when I add the object model it shows some irregular texture like the image attached.

 

Any help concerning this will be highly appreciated.

 

 

Thanks,

Niladri

Tags (1)
0 Kudos
2 Replies
NiladriBanerjee
New Contributor

Can anyone please shed light on this topic? Please help me I am stuck in middle of a Project.

Thanks,

NIladri

0 Kudos
MatthiasBuehler
Occasional Contributor III

Hi,

what is the structure of your obj file ? can you post a screenshot of the asset ?

let me know..

Matt

Matthias Buehler

Head of 3D Technologies

twitter: @MattB3D

-------------------------------------

Garsdale Design Limited

matthias.buehler@garsdaledesign.co.uk

www.garsdaledesign.co.uk

0 Kudos