BalconyStripe --> s('3, '1, balconyLength) center(x) i("builtin:cube:notex") BalconySupport
*normal* [ haha, 3d graphics 'inside joke' ]
try these files.
this is a hack though.
to know : if you cut a profile with a split, the 'closing geometry' is created. thus in this example, we align the scope to some very specific edges to cut from one side, then from the other side to close the geo.
though since these edges are specific to each assets, they need be found/set manually (play with the values to find them). then, set the miniCutDepth to something small, like 0.005.
the case why there are no geometries created was just a development decision some time ago. this may change one day.
use the provided asset, but adapt the path to it ..
not CGA-related :
as an architect, I MUST [ ;) ] say that the profile you are using is an ornamental 'band', but is not directly used as a 'form' for a balcony in reality. yes, some details are important .. hehe.
I just retried with this with my original asset : the asset itself works.
though, there may some other things which go wrong :
to make the edge-finding process faster, create an attr of the left and right indices, then use the slider in the Inspector :)
when retrying here at home, I weirdly found other indices (left 5 and right 7). puzzling.
make sure your scale.sx is large enough to be trimmed even at sharp angles, so maybe scale it to '20 !
of course, if not all geometry is trimmed, the number of edges is not correct, so the whole point of this hack is lost.
here's the proof that it works with my code and asset. [sorry, could have posted also before !]
let me know .. !
- using you asset, when choosing incorrect edges the asset was split, but no new faces were created! Why? For example, on the screen I chose edge number 4 and the asset was split from the back. Shouldn't I have
just to be clear, you actually meant using 'my (AndrÃ©'s) own' asset, right ?