Metadata-Version: 2.1
Name: blendfig
Version: 0.0.1
Summary: Python plotting library for Blender
Home-page: https://github.com/stanrusak/blendfig
Author: Stanislav Rusak
Author-email: stanislav.rusak@gmail.com
License: GPLv3+
Description: # blendfig
        
        ![](https://github.com/stanrusak/stanrusak.github.io/blob/main/files/projects/blendfig/banner.png?raw=true)
        
        ## Overview
        
        blendfig is a Python module to be used with the 3D modeling software Blender. With blendfig you can create surface plots in Blender similarly to the usual Python plotting libraries such as plotly and matplotlib. You can then use Blender's powerful shading, modeling etc. features to create beautiful plots and animations.
        
        ## Installation
        
        ```python
        python -m pip install blendfig
        ```
        
        Blender comes with its own Python installation so make sure you are using Blender's Python binary. On Windows it is located at `C:\Program Files\Blender Foundation\Blender <version>\<version>\python\bin\python.exe` by default (you may need to run as administrator).
        
        ## Usage
        
        Syntax is similar to that of plotly.
        
        ```python
        import blendfig as bf
        import numpy as np
        
        x, y = np.mgrid[-1:1:51j, -1:1:51j]
        z =(x**2+y**2-1)**2
        
        fig = bf.Figure()
        fig.add_trace(bf.Surface(x=x, y=y, z=z))
        fig.create()
        
        ```
        
        ![Example](https://github.com/stanrusak/stanrusak.github.io/blob/main/files/projects/blendfig/example.png?raw=true)
        
        And after some simple shading
        ![After shading](https://github.com/stanrusak/stanrusak.github.io/blob/main/files/projects/blendfig/example_shaded.png?raw=true)
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
Description-Content-Type: text/markdown
