CityEngine: ability to snap/detach GraphNodes via Python

255
0
08-03-2017 07:37 AM
Status: Open
deleted-user-F36TjxlqdCoV
New Contributor II

in CityEngine, there is a way to move a Graph Node over another graph Node and it would combine the two graph nodes into one. if you use the python interface using ce.move(), the two points will not be merged like it does in the user interface.

ce.move( [ list_of_graph_nodes ], merge = True, mergeDistance = 0.1 )

Moreover, if you have a GraphNode with N Adjacent Graph Segments, it would help to be able to break that Graph Node intro 1 Graph Node per adjacent Graph Segment. The end result would appear like all graph segments are independent and no longer linked

ce.detachGraphNodes( list_of_graph_nodes )