February 10, 2019 at 5:00 pm #25602
I try to make a script that can duplitace an image into – in this case – 72 layers incl. the first one.
I put an image in the first square and then run my script.
But the round bead becomes an oval bead when the script dupl. the image.
The document is 900 x 800 pxl and the square (grid) 100.
Any idea what i am doung wrong ?February 10, 2019 at 5:12 pm #25603
You are trying to make the script from scratch?
What is the script copying? What command is it using in order to paste the image into subsequent spots?
Since the first image is round, why do you need the 72 copies of it? Are they going to show some variations? or rotations?February 11, 2019 at 4:56 am #25656
Yes i try to make a script duplicating and then i’ m going to make a script turning each image in degrees.
When i started recording i used Ctrl +C and then CTRL + E.
They are going to show different rotations.
The image i show was just a test with a round bead.February 11, 2019 at 10:36 pm #25687
I am still unsure why the round bead, once copied and pasted becomes oval. You are using Ctrl-E which is Paste as a selection. Maybe that is distorting? But how did you get to paste in each individual locations? Also, why not use a regular Paste as a new layer?February 12, 2019 at 4:56 am #25707
When a pasted – then i just moved the bead into position. I tried to start with en oval bead and when the script duplicated the bead it becomes bigger.
I will red0 the script. I’ ll try paste as a new layer.February 13, 2019 at 8:10 am #25768
You were right. The problem was Paste + E. Using Paste + V makes everything looks fine.
Thank you so much for your help.March 14, 2019 at 9:29 am #26846
Now i have tried several times not using Paste + E but the problem is back.
I thought it might be when i start with grid and snap to grid så i tried only with grid but the same happens.
This is how i do:
Start with a document 900×800 pxl and grid 100. I place a dot in the upper left square.
Now i start the scipt.
In layer i rightclick >duplicate and mowe the dot until all squares has a dot.
I stop the script.
When i try the script i put an oval – this time – in the upper left square and then start the script. Then every oval becomes larger almost round and fill up each square.
I wrote about my problem again thinking perhaps someone had the sam problem and found out how to do.
I’ m a bit lazy so i would be happy to find aout a way to use the script for duplicating.March 14, 2019 at 3:18 pm #26854
A couple of questions:
– how do you MOVE the dot? Are you using the Move tool or another tool?
– how is the dot made? Is it a brush imprint? A vector shape?March 15, 2019 at 4:54 am #26885
I use the move tool.
This time the dot was made with a brush – just an easy way when i try to find out what the problem is.
I have tried vector shapes and not vector. I have tried using tubes too.March 15, 2019 at 6:32 am #26887
At which step is the shape changing size?
Have you tried running the script with single step to see exactly when it happens? You can find that under File > Script > Single Step. That will then require you to say OK for EVERY single step before it continues, so that you can really see what is the next step, and what the result is before and after each of those steps. This is a common troubleshooting trick.March 15, 2019 at 10:08 am #26900March 19, 2019 at 5:18 am #27125
I tried to redo the script several times but the same thing happens.March 19, 2019 at 6:34 am #27128
I see a couple of things that MIGHT be an issue.
1- do you have the Snap to guides active? When you recorded the script, did it snap to those guides?
2- I see you are using the Pick tool. Can you try using the Move tool instead?
You must be logged in to reply to this topic.