HakanSeven12 wrote: ↑
Tue May 28, 2019 12:06 pm
Its not important for basic road but in intersections you need to edit those lines for seperate two road sections(or other surfaces like earthwork). Or you need to edit those lines for different situation.
So what does 'editing' involve? I'm thinking about rolling that functionality into the horizontal alignment tool, since it really seems like it ought to be done there, but I could be wrong... In any case, the lines could be easily generated as scenegraph nodes to be switched on / off as needed - far more efficient than manipulating Part.Line objects.
I guess the idea would be that you'd create a non-visual python object (not a FeaturePython object) to manipulate the data as required and simply update the scenegraph nodes for the visualization. Unless having each cross section line appear in the treeview as a separate object is really helpful to the user, I would think the editing could be managed at the Coin3D scenegraph level, rather than as Part.Line objects.
That said, it's not as straightforward as building lines or FeaturePython objects, so I'm not suggesting going after that at the moment. But you may want to consider it in the future to eliminate cluttering the treeview.