66. plugins.web
— Tools to access files from the web¶
This module provides some convenience functions to access files from the web. It is currently highly biased to downloading 3D models from archive3d.net, unzipping the files, and displaying the .3ds models included.
66.1. Functions defined in module plugins.web¶
-
plugins.web.
download
(url, tgt=None)[source]¶ Download a file with a known url
If no tgt is specified, a temp one is created. The user is responsible to delete it. The full path to the file is returned.
-
plugins.web.
zipExtract
(filename, members=None)[source]¶ Extract the specified member(s) from the zip file.
The default extracts all.
-
plugins.web.
show3ds
(fn)[source]¶ Import and show a 3ds file
Import a 3ds file, render it, and export it to th GUI