I must hatch a area that has a outer diam of 100mm and a inner diam of 65mm.
I try to do this by hand width arc lines but those bent any way but not the
correct one.
Can I do this with a script?
Harry
I must hatch a area that has a outer diam of 100mm and a inner diam of 65mm.
I try to do this by hand width arc lines but those bent any way but not the
correct one.
Can I do this with a script?
Harry
For the above geometry, you'd need 17.5 mm anyway - however, a polygon
is always defined by its /outlines/, so the answer is "no".
If you can't use a restriction for the inner circular "hole" since you
are working on non-copper layers, you need to use two C-shaped polygons
that cover (for example) half of your area each. You will have to draw
the inner and outer half-circly as described earlier, and the radial
borders as straight wires.
Something like this:
-- --
/ | \
| / \ |
| | | |
| \ / |
\ | /
-- --
You'll always have a wire of the polygon width at the border that is
shared by both polygons (the centered vertical line in the above
sketch). Maybe you can play with spacing and width to make it visually
disappear.
You can generate the second polygon as rotated copy of the first, so you
need to draw only one.
Tilmann
As I am trying this to work with the mouse I keep having problems with
changing the wire bend every time correct.
So I rather would do this in a script, working from 9 to now trying again
and again. If a step goes wrong you must start over again and it is
impossible to go one step back whilst defining a polygon.
How do I define a polygon in script is the big question.
For the above geometry, you'd need 17.5 mm anyway - however, a polygon
is always defined by its /outlines/, so the answer is "no".
If you can't use a restriction for the inner circular "hole" since you
are working on non-copper layers, you need to use two C-shaped polygons
that cover (for example) half of your area each. You will have to draw
the inner and outer half-circly as described earlier, and the radial
borders as straight wires.
Something like this:
-- --
/ | \
| / \ |
| | | |
| \ / |
\ | /
-- --
You'll always have a wire of the polygon width at the border that is
shared by both polygons (the centered vertical line in the above
sketch). Maybe you can play with spacing and width to make it visually
disappear.
You can generate the second polygon as rotated copy of the first, so you
need to draw only one.
Tilmann
As I am trying this to work with the mouse I keep having problems with
changing the wire bend every time correct.
So I rather would do this in a script, working from 9 to now trying again
and again. If a step goes wrong you must start over again and it is
impossible to go one step back whilst defining a polygon.
How do I define a polygon in script is the big question.