POST
|
thanks Matt, your replies are very useful - as usual. I found a way around to the problem itself importing my geometries in different layers. so now I am trying to select a shape in a given Layer.. is it possible? I was thinking of something like: [INDENT]shapes = ce.getObjectsFrom(ce.scene, **ce.inLayer("Layer_Name")** ) [/INDENT] I am not used to scripting in general, so every time I face a problem I change the initial condition to avoid it... but I guess the problem is my lack in jython 😛 gino
... View more
11-13-2013
07:14 AM
|
0
|
0
|
381
|
POST
|
Hi, related to my previous thread in General Discussion Is there a way to use the Continuous Graph Objects selection method via the python console? In case that is not implemented I was thinking of some like: select every street graph with isGraph getVertices to check which ones have vertices in common setSelection on every connected shapes create a list of those in order to act separately on each group... Am I going down a blind alley? :confused: thanks in advance, gino
... View more
10-29-2013
10:54 AM
|
0
|
4
|
722
|
POST
|
Got it! I tried the alignScopetoGeometry(zUp, auto) before but in the wrong place 🙂 Now it works: [ATTACH=CONFIG]27152[/ATTACH] Lotter -->
split(x){ 'fronteX :
split(y) { 'fronteY :
alignScopeToGeometry(zUp, auto)
extrude(high)
Building
| ~a : Wall
}
| ~a : Wall
}
Thanks for the support!
... View more
09-02-2013
07:32 AM
|
0
|
0
|
482
|
POST
|
Thanks for the reply matt. I'm indeed working with dynamic shapes, but I cannot understand this fact : once I apply the setback to the Lot and separate with comp(f) the setback - which is working great - from the remainder, the operator split(y) doesn't seems to work correctly on this former part of the surface :
// setback method
Lot -->
setback (1){ street.front : Cinta
| noStreetSide : extrude(4) Wall
| remainder :
offset(1,inside)
Lotter
}
//[...]
Lotter -->
split(x){ 'fronteX :
split(y) { 'fronteY :
extrude(high)
Building
| ~a : Wall
}
| ~a : Wall
}
It seems to recognize only the x axe on the surface, else it's only acting on the edge I suppose: [ATTACH=CONFIG]27141[/ATTACH] In the other way :
// offset method
Lot -->
offset(-1)
comp(f) { inside :
offset(1,inside)
innerrect
Lotter
| border : Cinta
}
//[...]
Lotter -->
//the same as before I get this : [ATTACH=CONFIG]27142[/ATTACH] I've been working with CE shape grammar for a while lately and I love it, but I keep on using what I understood the most from the tutorials..
... View more
09-01-2013
03:15 AM
|
0
|
0
|
482
|
POST
|
Hi Matt, I noticed that surfaces resulting from an offset border are considered as a single entity. I need to differentiate the streetSide surfaces from the rest: is there a way to act separately on each one of them? I thought of using the setback operator, but it seems to act only on edges (at least the remainder selector doesn't act on the surface properly.. ) alternatively: is there a way to apply the setback operation to the whole surface of the Lot? thanks in advance
... View more
08-26-2013
10:30 AM
|
0
|
4
|
1183
|
POST
|
Hi matt, i've been looking for this thread from ages.. at least i don't have to open a new one! is there a way to set a Block Parameter through CGA? I like the Mapped method, but for parameters like subdivisionOffset I would like to set it always to "true" thanks
... View more
08-19-2013
11:44 AM
|
0
|
0
|
367
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|