{"id":24071159,"url":"https://github.com/shanto268/lfl_klayout_macros","last_synced_at":"2025-02-26T21:22:57.741Z","repository":{"id":184575049,"uuid":"672135389","full_name":"shanto268/LFL_KLayout_Macros","owner":"shanto268","description":"This repository offers custom PCells and functional macros for KLayout for LFL Lab Workflows","archived":false,"fork":false,"pushed_at":"2023-07-31T03:56:25.000Z","size":33,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T16:38:40.196Z","etag":null,"topics":["fabrication","klayout","layout-design","mems","pcells","quantum-computing","quantum-hardware"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shanto268.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-29T03:29:33.000Z","updated_at":"2024-09-15T00:14:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"de91b682-ffa5-4c43-86ed-11127b89ca00","html_url":"https://github.com/shanto268/LFL_KLayout_Macros","commit_stats":null,"previous_names":["shanto268/lfl_klayout_macros"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanto268%2FLFL_KLayout_Macros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanto268%2FLFL_KLayout_Macros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanto268%2FLFL_KLayout_Macros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanto268%2FLFL_KLayout_Macros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanto268","download_url":"https://codeload.github.com/shanto268/LFL_KLayout_Macros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240935906,"owners_count":19881213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fabrication","klayout","layout-design","mems","pcells","quantum-computing","quantum-hardware"],"created_at":"2025-01-09T16:38:55.099Z","updated_at":"2025-02-26T21:22:57.722Z","avatar_url":"https://github.com/shanto268.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LFL KLayout Macros:\n\nSome KLayout macros that I use to speed up NBR design work...\n\n## Installation:\n\n## Custom PCell Library:\n\n1. **Launch KLayout**: Start the KLayout application on your system.\n\n2. **Add Macro Directory to KLayout**: In KLayout, go to `Macro Development` \u003e `Macros` \u003e `Add Location To Search Path`. In the dialog box that opens, navigate to the location of this repository on your system and click `Open`. This will add the directory to KLayout's macro search path, and KLayout will automatically load all `.lym` files in that directory.\n\n3. **Execute the `RunLibrary.lym` Macro**: After adding the directory, all the macros in the directory will be loaded automatically. To load all the PCells into the library, you need to execute the `RunLibrary.lym` macro. You can do this by going to `Macro Development` \u003e `Macros`, selecting the `RunLibrary.lym` macro, and clicking on the `Run` button. This macro will register all the custom PCells and add them to your library.\n\n## Other Functional Macros:\n\n1. **Load the Functional Macro Files**: In KLayout, go to `Macro Development` \u003e `Macro` \u003e `Run/Debug Macro`. In the dialog box that opens, navigate to the location of this repository on your system. You will see multiple `.lym` files. Select each functional macro file (`GetCouplingCapStats.lym`, `GetPolygonLength.lym`, `PathToCPW.lym`, `ViewLayoutCenter.lym`) and click `Open` to load them one by one.\n\n2. **Run the Macros**: After loading each macro file, you can run the macros by selecting them and clicking on the `Run` button. Repeat this step for each macro file you've loaded.\n\n3. **Use the Macro Functions**: The functions provided by the macros can now be used. The specific usage will depend on the functions provided by each `.lym` macro file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanto268%2Flfl_klayout_macros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanto268%2Flfl_klayout_macros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanto268%2Flfl_klayout_macros/lists"}