Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember the settings used in prevuis run in the same layout #11

Open
tomek-szczesny opened this issue Dec 31, 2022 · 4 comments
Open

Comments

@tomek-szczesny
Copy link

Hi,
Still using this tool on the same board, and just a minor request is to change the default offsets to 0 on both x and y.
The reason being, I have to run the script multiple times for each component, and in most cases the array will be created along either x or y.

I'm using a fairly old version of this tool so pardon me if that has already been taken care of.

Thanks again for your contribution to FLOSS. :)

@MitjaNemec
Copy link
Owner

For the time being you can comment out (append a hash symbol # at the beginning of the line) the following lines: 246, 247, 251, 252

@MitjaNemec
Copy link
Owner

I've changed the UI so that there are no defaults set. I'll leave this open as I can maybe set the default values to the previously set values used in this project (but I'll have to save previously used values somewhere)

@MitjaNemec MitjaNemec changed the title Change default offset to 0/0 ~~Change default offset to 0/0~~Remember the settings used in prevuis run in the same layout Jan 17, 2023
@MitjaNemec MitjaNemec changed the title ~~Change default offset to 0/0~~Remember the settings used in prevuis run in the same layout ~~Change default offset to 0/0~~ Remember the settings used in prevuis run in the same layout Jan 17, 2023
@MitjaNemec MitjaNemec changed the title ~~Change default offset to 0/0~~ Remember the settings used in prevuis run in the same layout <del>Change default offset to 0/0</del> Remember the settings used in prevuis run in the same layout Jan 17, 2023
@MitjaNemec MitjaNemec changed the title <del>Change default offset to 0/0</del> Remember the settings used in prevuis run in the same layout Remember the settings used in prevuis run in the same layout Jan 17, 2023
@tomek-szczesny
Copy link
Author

The reason why I suggested 0,0 is that I placed components along x or y axis (which I suppose is the most common scenario). I pasted one coordinate from clipboard and put "0" at the other. I wished I could skip that last step, as it involved surprisingly many extra hand movements. :)

I guess storing some values in OS' default temporary directory would be acceptable, even if they get wiped out after KiCAD shutdown. Or as a file within project directory, if the plugin environment allows for that. Sadly I don't know much about all this.
Thank you for your help!

@tomek-szczesny
Copy link
Author

Related to #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants