Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hatch image
#4
(01-03-2019, 01:55 PM)denzjos Wrote: When I have to hatch a technical drawing, I have to draw a line, copy the layer and move the layer (multiple times). I thought a macro creator would be usefull and I've tried the Pulovers Macro Creator (open source). I've made a macro and it is satisfying. Before starting the macro one have to make sure the copy layer is tranparent and set the thichness of the pencil to 1.Then start with an empty image.The macro draw a new image, draw a 45 degree line, copy the layer and move it to the left. This is done up to 150 times. After the macro is ended, all one have to do is make the backgrond layer invisible and merge the visible layers (Image / Merge Visisble Layers). One can then copy and paste the transparent layer and then move the pasted layer to the right to fill out the empty space. Then it is advisible to crop the layer (Layer / Layer to Image Size). In attachment, the macro and the result. If the macro give a fault result on your computer, then change the sleep times. The macro is made for a keyboard with a keypad. It is possible that this does not work on a portable. Then change the Numpadx to x(where x is a number / press right mouse button to change) . I've made also a macro that draw lines with Pulovers Macro Creator but copy layers is much faster. Made on screen resolution 1920 x 1080



I don't know how to post a file here so I'v made an image of the code :


Denzjos

Blighty, thank you for the tip, here is the file in .7z format :


.7z   draw layer draw lines move layers c.7z (Size: 1.16 KB / Downloads: 4)
Reply


Messages In This Thread
hatch image - by denzjos - 01-03-2019, 01:55 PM
RE: hatch image - by Ofnuts - 01-04-2019, 09:13 AM
RE: hatch image - by Blighty - 01-04-2019, 11:50 AM
RE: hatch image - by denzjos - 01-04-2019, 11:58 AM
RE: hatch image with GMIC QT - by denzjos - 01-13-2019, 06:52 PM

Forum Jump: