![]() Well given blender doesn’t natively support GIS data to make things easy, I am using the BlenderGIS addon. It is a public dataset so if you want to snag it head here Altalis. So we shall see how this goes, but i’m taking a crack at importing the province of Alberta’s 25m DEM from Altalis. I have done a bit of messing around in blender previously, however it’s been awhile and I never really got very good at it. # 4.I have seen some really cool applications of DEM models in blender. # packages_path = "C:\\Users\\\\AppData\\Roaming\\Python\\Python39\\Scripts" + "\\.\\site-packages" # the path you see in console insert the path to packages_path below and uncomment watch blender's python path in console output at this moment launch next 2 lines of code in blender python interpreter ![]() To show Blender terminal in v2.93 click Window -> Toggle System Console Successfully import your package in the script: import tqdm Packages_path = "C:\\Users\\\\AppData\\Roaming\\Python\\Python39\\Scripts" + "\\.\\site-packages" In blender script add the path where your blender's pip installs packages to PATH: import sys Install package you want from blender script ( tqdm for example given below): import pipįrom blender console watch the path where pip actually installs packages in your configuration ( WARNING: The script tqdm.exe is installed in 'C:\Users\\AppData\Roaming\Python\Python39\Scripts' which is not on PATH): For windows, with no special permissions, and from blender python script only:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |