klayout icon indicating copy to clipboard operation
klayout copied to clipboard

why is not working for keep_hv is True in smooth function

Open knightzhong opened this issue 6 months ago • 4 comments

Hello,

I've been using the smooth function with the keep_hv parameter set to True, and I've noticed that regardless of how large I set the d value, the function does not seem to make any changes to the polygon. I am attempting to smooth out the polygon while maintaining horizontal and vertical edges, but it appears that the function is not responding to the changes in the d parameter.

Could you please advise why this might be happening? Is there a specific reason why the smooth function is not altering the polygon even when a large d value is specified with keep_hv=True? mycode:all_image_geo_smooth = all_image_geo_smooth.smoothed(pixel_size *100,keep_hv = True) Thank you for your time and assistance. orig smooth

knightzhong avatar Aug 20 '24 05:08 knightzhong