|
POST
|
Hi, this should work. I'm not sure what the issue is here. 😞 Since I'm on medical leave I don't have time to look into this right now. Can you try and track this down further a bit and try to isolate the issue ? Thanks ! Matt
... View more
03-17-2014
08:07 AM
|
0
|
0
|
3924
|
|
POST
|
Hey ! good question. Look at the CGA Reference and read the comp(f) documentation carefully. You'll notice more selectors. What I usually do is comp(f) {bottom : NIL | all : RoofPlane. } If you need a specific orientation, you can play with comp(f) {bottom : NIL | world.south : SouthernRoofPlane | all : RoofPlane. } // DID NOT TEST THIS. otherwise, go via an index attribute to manually choose. attr roofFaceID = 0 comp(f) { bottom : NIL | all = RoofPlanes } // NOTE THE '=' ! This puts all shapes in 1 new shape, instead of n RoofPlanes --> comp(f) {sel ( roofFaceID) : RoofPlaneWithDormer. | all : NoDormers } Ok ? matt
... View more
03-05-2014
02:55 AM
|
0
|
0
|
2527
|
|
POST
|
The code s(0,0,0) i() makes sure that the ORIGINAL size of the asset is taken. Since the scope size (0,0,0) is only a point, CGA falls back to the asset dimension when inserting the asset. so you have to edit the 'overheadpylon.obj' asset in a 3d modeling application to give it the correct dimensions. Use e.g. Maya, Max, SketchUp or an other similar app. Ok ? m.
... View more
03-05-2014
02:48 AM
|
0
|
0
|
1190
|
|
POST
|
Hi Amir, then it's most possibly those 2 points : 1] make sure the pole size is modeled correctly and in meters 2] make sure the pole assets are modeled near the cartesian origin ( put the pole 'bottom' to 0,0,0 ) ok ? matt
... View more
03-04-2014
09:38 AM
|
0
|
0
|
1190
|
|
POST
|
Ok.. Maybe SketchUp lets you script this .. e.g. with Ruby script or so .. matt
... View more
03-04-2014
09:36 AM
|
0
|
0
|
1309
|
|
POST
|
Hi, but for the street widths it works ? lemme know.. m.
... View more
03-03-2014
04:00 AM
|
0
|
0
|
1946
|
|
POST
|
Hi, in this regard, CGA is still limited. One thing you can do after extruding is : comp(f) {front = FrontShape} // Note the = that puts all selected shapes in 1 resulting shape, not n new shapes.
attr ID = 0
FrontShape -->
comp(f) {sel (ID): DoorWall. | all : WindowWall. } // sel() casts a string to a selector. But of course, you need to set the ID manually, since CGA cannot evaluate which one is the best for a door. ok ? matt
... View more
03-03-2014
03:45 AM
|
0
|
0
|
1419
|
|
POST
|
Hi, yes, this is possible and has been done e.g. in the Paris Example. usually, you need to create a few functions that create the logic to find the appropriate texture, using fileRandom() or so. check the string operations in the CGA reference. Matt
... View more
03-03-2014
03:37 AM
|
0
|
0
|
819
|
|
POST
|
Hi 1] Create the poles as separate asset files ( obj or dae ), add them to the assets folder. 2] Create a rule with the following code 3] Assign the rule to all imported pole position shapes ( originating from attributed point features )
poleFolder = "assets/poletypes/"
attr poleType = ""
attr poleRotation = 0
@StartRule
Pole -->
alignScopeToAxes(y)
s(0,0,0)
i(poleFolder + poleType + ".obj")
r(scopeCenter, 0, poleRotation, 0)
center(xz)
Pole. Let me know if this makes sense .. Matt
... View more
03-03-2014
02:44 AM
|
0
|
0
|
1190
|
|
POST
|
Hi ! attribution in dae/kml/kmz is not yet implemented. it's on the wishlist. use the esri formats for this ( preferred GDB ). ok ? m.
... View more
03-03-2014
02:32 AM
|
0
|
0
|
1327
|
|
POST
|
Hi Carl, In your case, just export 1 model pre building from SU. Import those files separately. Ok ? If you have georeffed data, use kmls, drag-n-drop them in the CE viewport and you'll get a 'Static Model' per file. just fyi : http://forums.arcgis.com/threads/68876-Importing-obj-dae-from-Sketchup
... View more
03-03-2014
02:29 AM
|
0
|
0
|
1309
|
| 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
|