Cut rebar in slab opening

@jamess166 I found this python code which detect each rebar in a set.