{ "info": { "author": "Matthew van Niekerk", "author_email": "matthewvanniekerk@mac.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# gdsblenderpy\n\nTranslate GDS to Blender files \n\n# Dependencies\n\n+ [Phidl](https://github.com/amccaugh/phidl)\n+ [GDSPy](https://github.com/heitzmann/gdspy/)\n+ NumPy\n+ MatplotLib\n\nWhile not an explicit dependency, [KLayout](https://klayout.de) is a fantastic open source tool for viewing and creating GDS files.\n\n# Installing Blender\nFollow instructions to install [Blender](https://www.blender.org)\n\nAdd blender to path, to allow for commands from the terminal.\nThe executable exists in these locations (by default).\n\n## Windows\n+ 64-bit\n\n`C:\\Program Files\\Blender Foundation\\Blender\\blender.exe`\n\n+ 32-bit\n\n`C:\\Program Files (x86)\\Blender Foundation\\Blender\\blender.exe`\n\n## Linux\n\n`/usr/bin/blender`\n\n## MacOS\n\n`/Applications/blender/blender.app/Contents/MacOS/blender`\n\n\n# Installation of this Package\nThese instructions help to install pip into the python that comes with blender, since python is not released with pip in the first place. More detail can be found [here](https://blender.stackexchange.com/questions/56011/how-to-install-pip-for-blenders-bundled-python) or with a differently worded google search.\n1. First `cd` into your blender path:\n\n `cd /path/to/blender-2.8/2.80/python`\n\n2. Run ensurepip for your blender's python:\n\n `/bin/python3.7m lib/python3.7/ensurepip`\n\n * in MacOS, ./python3.7m will run the executable instead of just the filename\n\n3. Now you have pip and can install modules by:\n\n `bin/pip3 install --target lib/python3.6 packageName`\n\n4. Install the dependencies manually:\n\n `bin/pip3 install --target lib/python3.6 numpy`\n \n `bin/pip3 install --target lib/python3.6 gdspy`\n\n `bin/pip3 install --target lib/python3.6 phidl`\n\n5. Run setup.py for this project after downloading from git (untested)\n\n## ALTERNATIVELY (WORKING)\n\n4. Install this module:\n\n `bin/pip3 install --target lib/python3.6 gdsblenderpy`\n\n# Creating layer_stack file\n\nSee the example.\n\nIn essence, add the layers you are interested in capturing for your blender project, give them, initial height (z), thickness, color and an etch_target if the layer is intended to cut into another layer (as opposed to being extruded).\n\nAt the end of the file (currently - will be changed in the future), add the layer stack and run the draw in blender command.\n\nThen when you run the translator like below, it should work as the example does.\n\n# Running Translator\n`blender filename.blend --python layerstack-file.py`\n\nWhere the layerstack-file.py file has been created following instructions.\nSee example\n\n# TODO\n## Use\n\n+ Neaten plotting of cross section \n\n+ Figure out way to do dopings?\n\n+ Fix plot cross section\n\n## Function\n+ [Easier execution](https://blender.stackexchange.com/questions/6817/how-to-pass-command-line-arguments-to-a-blender-python-script)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/matthewvanniekerk/gds-blender-py", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "gdsblenderpy", "package_url": "https://pypi.org/project/gdsblenderpy/", "platform": "", "project_url": "https://pypi.org/project/gdsblenderpy/", "project_urls": { "Homepage": "https://github.com/matthewvanniekerk/gds-blender-py" }, "release_url": "https://pypi.org/project/gdsblenderpy/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "GDS to Blender Python Translator", "version": "0.0.3" }, "last_serial": 5900130, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c5265922bbbc0e261e1a51c2e23fc905", "sha256": "c6e5218a0102f04d2b260d3449412cdab083b0aac6cdc6fbe9a7b3ec2dfdd155" }, "downloads": -1, "filename": "gdsblenderpy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c5265922bbbc0e261e1a51c2e23fc905", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5901, "upload_time": "2019-09-27T17:57:41", "url": "https://files.pythonhosted.org/packages/6e/1b/073366d0df2dfb0d1fe6401547e41aeee9739e6bfe2796983eb2f8d76475/gdsblenderpy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5aaa3afcf5c3cb54641379568c2a8fc0", "sha256": "8ccf63499b1daceea56b407759b7948c9356a9472914bd3f681bbc7e59ae117f" }, "downloads": -1, "filename": "gdsblenderpy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5aaa3afcf5c3cb54641379568c2a8fc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6084, "upload_time": "2019-09-28T01:32:02", "url": "https://files.pythonhosted.org/packages/b1/e8/0e1322ff8384e28298c834c017034a00600b661d621411e655e77336d58b/gdsblenderpy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a08bd52e9550c5d948f249985e8ca4f6", "sha256": "cbace07838ab6254d6740f46def4a6318d269fa493a6c25afef36921c7731f1f" }, "downloads": -1, "filename": "gdsblenderpy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a08bd52e9550c5d948f249985e8ca4f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6139, "upload_time": "2019-09-28T17:25:44", "url": "https://files.pythonhosted.org/packages/2b/38/74a72c783968de5dd044e8a988da3da8bc6c86159c064fa9ed157c8775a9/gdsblenderpy-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a08bd52e9550c5d948f249985e8ca4f6", "sha256": "cbace07838ab6254d6740f46def4a6318d269fa493a6c25afef36921c7731f1f" }, "downloads": -1, "filename": "gdsblenderpy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a08bd52e9550c5d948f249985e8ca4f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6139, "upload_time": "2019-09-28T17:25:44", "url": "https://files.pythonhosted.org/packages/2b/38/74a72c783968de5dd044e8a988da3da8bc6c86159c064fa9ed157c8775a9/gdsblenderpy-0.0.3.tar.gz" } ] }