...
Start klayout with the special klayout-gds3 command that includes the OpenSCAD and gds3xtrude environment:
Code Block language bash $ klayout-gds3
- In the "Tools" menu of klayout, choose "Manage Packages"
- Choose "Install New Packages" tab
- Find gds3xtrude and click the check mark itself to installgds3xtrude (it may be easiest to type "gds" into the search box at the top)
- Highlight gds3xtrude
- Click the checkmark icon above the list of packages
- Click the "Apply" button, which will also say "one package selected"
- A "ready for Installation" window pops up showing that gds3xtrude will be installed
- Click "OK"
- In the "Run Macros" pop up window, choose "Yes" to run these macros now
- Quit klayout
- Restart klayout with the klayout-gds3 command
...