I am writing a code where i needed to fracture layers vertically and horiontally. I used dbLayerTile to fracture them vertically and I created my own version that fracture layers horiontally since I could not find anything in the documantation that do this job. My problem is I wanted to boost the performance of the code so my first thought is to rotate them by 90deg and then execute dbLayerTile a second time then bring them altogether to their original position. But how to write this in a code in a simplest way still puzzles me.
You probably could use 'leChopShape', if you are not going to use it within a PCell.leChopShape( d_shapeId l_points g_closed [ g_remove ] [ x_sides ] ) => l_newShapes | nilCuts the shape d_shapeId using the chop shape l_points.
Thanks Bernd for the quick reply.
Yes you were right, this is exactly what i have done in my code. Now I have already discarded to used dbLayerTile in my code, instead I made a sub routine that fractures a target dbobj both horizontal and vertical using leChopShape. now my code looks much simplier.
by the way, we are both from unterhaching, I'm from fasanenpark.
Is there any comamnd in skill which splits a polygon into max of 2 rectangles.
I am writing a skill code which needs stretch all the poly gates by fixed distance and hence entire layout should move accordingly maintaining others shapes like contacts lengts/widths as constant..can anyone help me of how to go with this?
Thanks & Regards,
What's wrong with dbLayerTile? Obviously if the polygon is not rectangular or L-shaped, it can't be fractured into only two rectangles, but apart from that, surely that does what you want?
In few cases, poly is getting fractured into more than two rectangles and all the polys(specially polys of "polygon" lpp) are not getting stretched by same length(say 0.015),I dont know how to overcome this and make my code work properly.