LinkedInTwitterFacebook

Category Archives: Python

Blender 3D – sin mesh object with python.

This is a simple example of create one object from vertrices and edges using sin function. First you need to create the mesh with: bpy.data.meshes.new . The n number is random, you can use any number for vertices and edges. This number is points for the drawing sin function. The spaces variable is the range […]

Blender 3D – script to show python code under console.

To run this script yo need to select the render to Cycles Render. Then go to Compositing from Screen layout ( in the top of the screen) and select Use Nodes from Material. This will make a default material with a Diffuse BSDF . The next step is to select Scripting from Screen layout. This […]

Using bpy – changing colors .

This tutorial show you a simple example of python scripting into Blender 3D software. You need to select the window for scripting and to test with python scripting shell. First you need to add one object : cube. The default script and most common python script, start with this :

You need to see […]

Python and LibreOffice – part 001.

As you know the LibreOffice includes several applications that make it the most powerful Free and Open Source office suite on the market: Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing). This tutorial is about LibreOffice and python scripts used like macros. First you need […]

Using python to make authentication into GMail API.

Is simple to do with python. The script I make is simple without classes. Let’s start with first steps: You need to create your project and then one credential with json file. See the next image to see how is your json file. My json file is renamed to client_secret.json and is used by python […]