TBC Macros and Extensions

 View Only

quick way to shrink-wrap a bunch of PolySegs?

  • 1.  quick way to shrink-wrap a bunch of PolySegs?

    Posted 5 hours ago

    As last step in my vehicle sweep path simulation I need to shrink-wrap all computed trace-lines to get the max affected area.

    Currently I'm using Trimble.Vce.Geometry.Region.Region.Union.

    union_list = Region.Union(env_regions, HoleProcessingOptions.RemoveChildHoles)

    That works but is extremely slow, sometimes several seconds, when the whole trace line computation is only tens of seconds.

    The manual shrink-wrap function on the same lines is much faster, but I haven't found out yet how to call it from a macro.



    ------------------------------
    Ronny Schneider
    ------------------------------