When a structural line with element type as cable is defined, the sofimsh file writes Styp C behind the lines. But it does not connect areas (here a membrane) with lines (here cables) as i could see in the animator. If I change the Styp C into CE manually in the sofimsh file it connects the cables with the lines. But how can I automate it with grasshopper? How can i reach, that Grasshopper writes CE?
Hi, yes, by default, cables are not intersecting with other elements. Instead of setting STYP CE you can control the intersection behavour in detail also with the parameter XFLG in the SLN command (see in the SOFiMSHC manual page 5-15 ff) which overwrites the settings at STYP. You could pass the options using the Text-Input in the StructuralLine Component.
Other workaround would be to use string replacement on the SOFiMSHC-output.
Not sure if this works with rhino/grasshopper, but it is the approach inside teddy:
Another option is to define a structural point (SPT) at the instersection point.
The area (membrane) should automatically make a node there.
Then define the cable as going to/from a spt (rather then defining the cable with coordinates)
the solution sounds nice, but in the manual pages you mentioned I couldn´t find what I was looking for. There are a lot of options mentioned how to disconnect the lines, but not how to connect them. Furthermore the options do not work for parallel connections…
What do you mean by the string replacement?
Are there some other ideas?
Thanks a lot,
I understood the string replacement now. Thanks!