|
POST
|
Hi ! I with only 1 format would exist which connects all packages, but that's an illusion since every major developer must have his own format. Formats suck. 🙂 Nothing on the horizon yet concerning new formats, but the globe's spinning fast .. 🙂 I hope Alembic becomes the new 'master' file format ! Cheers ! Matt
... View more
02-14-2013
08:22 AM
|
0
|
0
|
1329
|
|
POST
|
Hi ! [ATTACH=CONFIG]21781[/ATTACH] In the image you see the streetWidth street parameter which defines the width of the street shape. So in your case, you would set this value to ( 2 + 2 ) * 3m = 12m first. Then you use CGA to split into the amount of lanes which result ( 2+2 ). This workflow is set because you must set the streetwidth in the first place to even get the street shapes. A little additional detail which may help you : split() {~ .. }* splits into even parts. The little star symbolizes a 'repetitive' split. The tilde (~) sign evens out the dimensions. That means the combination makes the split result in a full number of lanes for each side, no matter how wide the street is. ok ? m.
... View more
02-14-2013
12:15 AM
|
0
|
0
|
3439
|
|
POST
|
Hi ! I have forwarded your issue to the according people. Thanks for reporting ! Glad you have a workaround for now. Matt
... View more
02-14-2013
12:03 AM
|
0
|
0
|
5630
|
|
POST
|
and note : the 'Model' is created based on the 'Shape'. So a street graph defined the width of the total street shape. So since the total width is already give plus using the fact that 1 lane is about 3 meters wide, n lanes can actually be created. e.g. a 9 meter wide shape can produce 3 lanes. so that can be 1 left lane and 2 right lanes. But since the total width of the street is given and thus drives the total number of lanes, it makes 'no sense' to define attr Lanes_Left = 2
attr Lanes_Right = 2 makes sense ? the laneOffset I have in my code then defines the offset : e.g. if 5 lanes can be produced, 2 left and 3 right can be produced. an offset of 1 makes 1 left and 4 right lanes. makes sense too ? m.
... View more
02-13-2013
07:00 AM
|
0
|
0
|
3439
|
|
POST
|
btw. use the TEXT editor to author the rules. if a median is done or not .. for that I'd make a 'boolean' attr. I've done this in my example code : attr doMedian = true yes, you can use copy paste, but only if the code works. you'll get errors otherwise. using ctrl-f, you can search your code. search my code for all places, where 'doMedian' is used. Note the case :
case doMedian :
..
else :
..
... View more
02-13-2013
06:54 AM
|
0
|
0
|
3439
|
|
POST
|
http://www.sidefx.com/ 🙂 there's some possibilities in CGA, sure, but you'll not be pefectly happy. more than using assets as fracture patterns or holes can not easily be done. but maybe you find a cool workflow !
... View more
02-13-2013
06:49 AM
|
0
|
0
|
5190
|
|
POST
|
Hi, Currently in CGA, you have to create assets to insert in the wall. Currently, there are no cracking patterns possible in CGA by itself. Those have to be inserted as assets. But of course you can drive the severeness via an attribute which either just drives the texturing, small cracks or to full holes. CGA is limited in such tasks, so you may want to have a look at the tool called 'Houdini'. Let me know .. Matt
... View more
02-13-2013
01:21 AM
|
0
|
0
|
5190
|
|
POST
|
It all boils down to some statistical math where you calculate how many car objects you place on the lanes. Quite easy to calculate if you already have the numbers .. The person who did the Modern Streets Example just set up the function so that he can enter the 'traffic density' basically. Btw. you should re-code the whole thing from scratch to get a hang of it. 🙂 We can then later on also place cars with your numbers. M.
... View more
02-12-2013
11:03 PM
|
0
|
0
|
3439
|
|
POST
|
the actual mapping in the typology layer is still there ? that code is intact or is that missing ? if the value is always 0, the mapped value cannot be found. it may help me you send a series of screenshots of all important details to my mail address .. ok ? m.
... View more
02-12-2013
06:54 AM
|
0
|
0
|
1457
|
|
POST
|
Hi ! Did you try restarting in 'SafeMode' ? If this does not help, the WorkSpace may be garbled. You may need to create a new WorkSpace via File > Switch Workspace > Other ( edit the path to a new name ). Then copy all projects on the harddrive into the new WS folder and link in all projects in CE. m.
... View more
02-12-2013
06:51 AM
|
0
|
0
|
1369
|
|
POST
|
hi .. written from my head .. please test the code, it may contain errors.
attr HEIGHT = 0 # connect to GIS attr
@Range( "palm", "pine", "eucalyptus" )
attr TREETYPE = "palm"
getAssetPath =
fileRandom ( "assets/trees/" + TREETYPE + "/*.obj" )
@StartRule
TREE -->
alignScopeToAxes(y)
s(0,HEIGHT,0)
i(getAssetPath)
center(xz)
Tree.
... View more
02-12-2013
06:48 AM
|
1
|
0
|
3763
|
|
POST
|
Hi ! that would be the next step in the rule at the current state. e.g. placing cars would use an other UV-split to cut a thin line on which cars. same can then be done with sidewalks to distribute trees or street furniture. if you have point features in ArcGIS, you'd just insert assets via on these positions via i() in CGA. makes sense ? let me know when you understood most of the code, then we can add some more details to it. m.
... View more
02-12-2013
05:27 AM
|
0
|
0
|
3439
|
|
POST
|
Hi ! The typo is fixed meanwhile and will be in the next update. Many things have changed in the Inspector's heuristics between 2011 and 2012, thus it's well possible that some mappings are lost. 😞 Best is to check the attribute sources and relink them again. Let me know if you face more issues with this .. M.
... View more
02-12-2013
05:16 AM
|
0
|
0
|
1457
|
| 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
|