PixInsight Forum (historical)
Software Development => New Scripts and Modules => Topic started by: Enzo De Bernardini on 2011 December 28 16:34:49
-
Hello,
I created a repository for my published scripts at the following address:
http://www.astrosurf.com/astronosur/pixinsight/scripts/
If you wish, you can add them from menu Resources > Updates > Manage Repositories, Add button, and paste the url.
I have added three scripts:
- ImageInsert (http://pixinsight.com/forum/index.php?topic=3661.0)
- PropagatePreviews (http://pixinsight.com/forum/index.php?topic=2190.0)
- LinearPatternGeneration (http://pixinsight.com/forum/index.php?topic=2956.0)
I have tested on Win 32 and it seems to work well. Let me know if there is any problem.
Best regards,
Enzo.
Edited Feb 29: added www to address (Astrosurf change url rules)
-
Hi Enzo,
Fantastic work. Your repository works like a charm and the scripts are useful, nice and very well written. Well done! ;)
Just a couple things. The LinearPatternGeneration script should be in the Render category IMO. When the active image has no preview defined, PropagatePreviews should show an error message (on a MessageBox) and terminate. Either that, or allow the user select the source image with a ViewList control.
Keep them coming!
-
Hi Enzo, that is excellent. They works propertly on win 64.
Saludos y feliz año nuevo
-
Thanks Juan!
The LinearPatternGeneration script should be in the Render category IMO.
Ah, yes!, good idea. I've updated the code.
When the active image has no preview defined, PropagatePreviews should show an error message (on a MessageBox) and terminate. Either that, or allow the user select the source image with a ViewList control.
Humm, should do now. It's a warning type message, at least it works for me on W32. Is in the main() function. And change the source image is a good idea...I have to think about that ;)
Regards,
Enzo.
-
Thanks!
Side note-
I had to use http://www.astrosurf.com/astronosur/pixinsight/scripts/ to get it to work
-
Oh, yes!, Astrosurf change some url rules, and now all addresses are redirected to www. Thanks and apologies for any inconvenience. :)
Greetings,
Enzo.
-
Hello Enzo
have you taken off this link? It doesnt appear to work any more.
thanks
Martin
-
Hi Martin, this complete link seems to work fine:
http://www.astrosurf.com/astronosur/pixinsight/scripts/
Saludos, Alejandro.
-
Hello Enzo. When I run this script in the new PI 1.8 environment, I got this error:
Processing script file: C:/appl/astro/PixInsight/src/scripts/LinearPatternGeneration.js
*** Error [001]: C:/appl/astro/PixInsight/src/scripts/LinearPatternGeneration.js, line 259: ReferenceError: HorizontalSizer is not defined
Something is missing?
-
Hi FunTomas,
Are you using the script that is in the oficial distribution? It is in Script>Render>LinearPatternGeneration.
I tried it and generate the pattern without problems on Linux 64 with 1.8 RC3
See screeshot
Saludos.
Alejandro.
-
Hi Alejandro. I run script from official distribution (Script>Render>LinearPatternGeneration), but I run it from Win7 32bit environment.
-
I tried in W7 64 and also works (PI 1.7 in this case). Then must be that 32 bit is not supported...
-
...not supported... yes, I need to look for new hardware. Thank you for your help.
-
I tried to go to your repository, and I just get a message saying to add it to my list. Here is the URL I used:
http://www.astrosurf.com/astronosur/pixinsight/scripts/
-
Hi,
You need to add the address to repositories in Resources > Updates > Manage Repositories and click Add button.
I have a bit outdated scripts for lack of time. I hope to put up soon :embarassed:
Best regards,
Enzo.
-
Hi Enzo
I did the "Resources > Updates > Manage Repositories and click Add button" sequence and then put in the above url. However, none of these scripts appear in PI. What am I missing?
Geoff
-
Same thing here, Geoff. Got the repository but no scripts.
-
Hi folks,
Yes, I'm sorry, the repository is out of date (old PI version declaration) But don't worry, the three scrips are now part of the standard distribution: ImageInsert, LinearPatternGeneration and PropagatePreviews (for PropagatePreviews see bitli new version here (http://pixinsight.com/forum/index.php?topic=7105.msg47965))
I will notify if I add new scripts in the repository.
Greetings,
Enzo.