Duplicate post in this forum, maybe it's more the right place. (It was posted to a PCB SKILL forum)
Present to you the tools to align objects on PCB.
Welcom for comments, bugs, suggestions.
Who wants to can join to development.
Code in HG repository: https://bitbucket.org/Kapustin/align
For download go to the download tab.
For install view readme.txt.
How it looks:
Looks nice! Will comment more once I have had a chance to try it out.
In reply to Welcome04:
What revision are you got, what steps for reproduce?
Have you defined alias for "oops" command?
I didn't test for Linux, but I seems that should work ...
For APD worked, but I was not going a full testing, and didn't test last revisions.
PS I think I see where the error...
You load scripts twice. Why, I don't know. Do not do that.
Later I add checking for this situation. (thanks for suggestion :))
Temporary sulution for "oops" error:
in initHotKeys() procedure update next line:
let( (aliases alias aliasFun _oopsAlias)
Tell me how it helped. I can't test this solution now.
Also you can simle definу alias in env file.
Hi John,I did not change the skill code butI load the skill code manually on the command prompt, the align tool menu pop out but the error still exit as below:Skill > alignE- *Error* eval: unbound variable - _oopsAliasERRORI will test out later, see whether the option of Align tools is working.Will let you know once I found anything strange.The pull down menu has no more align command if I manually load it.If I load it automatic on the apd.ilint, the pull down me having two align command.Thanks have a nice weekend.RegardsElaine
Fixed: *Error* eval: unbound variable - _oopsAlias.
Get revision: 59:f5873beef39b.
About double loading, I tried, but not reproduce it.
Now I'm using allegro.ilinit for load scripts in APE and APD.
In HF2 worked, and in HF3 appears error?
Which steps to reproduce?
PS Don't past (remove) previous message in reply, please. It pollutes the forum.
I have been playing with this for a while and think it's very good. One comment though is that it appears to hijack the align command from the Placement Application Mode, select components and RMB - Align. Don't think that is a good idea. Maybe a tweak is required to keep the original commands intact......
In reply to steve:
In reply to Silver John: