Skip to content

Commit df6a1f2

Browse files
committed
updates
1 parent d6e74dc commit df6a1f2

10 files changed

+388
-146
lines changed

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
os:
2+
- linux
3+
- osx
4+
5+
script:
6+
- chmod 777 ./install.sh
7+
- travis_wait 120 ./install.sh -y
8+
- source ~/.bashrc

LICENSE LICENSE.md

File renamed without changes.

README.md

+78-16
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,66 @@
1-
| **Authors** | **Project** |
2-
|:------------:|:-----------:|
3-
| N. Curti | BlendNet |
1+
| **Authors** | **Project** | **Build Status** |
2+
|:-----------------------------------------------:|:-----------:|
3+
| [**N. Curti**](https://github.com/Nico-Curti) | **BlendNet**| **Linux/OSX** : [![travis]()](https://travis-ci.com/Nico-Curti/BlendNet) <br/> **Windows** : [![Windows]()]() |
4+
5+
[![GitHub pull-requests](https://img.shields.io/github/issues-pr/Nico-Curti/BlendNet.svg?style=plastic)](https://github.com/Nico-Curti/BlendNet/pulls)
6+
[![GitHub issues](https://img.shields.io/github/issues/Nico-Curti/BlendNet.svg?style=plastic)](https://github.com/Nico-Curti/BlendNet/issues)
7+
8+
[![GitHub stars](https://img.shields.io/github/stars/Nico-Curti/BlendNet.svg?label=Stars&style=social)](https://github.com/Nico-Curti/BlendNet/stargazers)
9+
[![GitHub watchers](https://img.shields.io/github/watchers/Nico-Curti/BlendNet.svg?label=Watch&style=social)](https://github.com/Nico-Curti/BlendNet/watchers)
410

511
<a href="https://github.com/physycom">
612
<div class="image">
713
<img src="https://cdn.rawgit.com/physycom/templates/697b327d/logo_unibo.png" width="90" height="90">
814
</div>
915
</a>
1016

11-
# Blender Network viewer
17+
# BlendNet
18+
### (Blender Network viewer)
1219

13-
<a href="https://github.com/Nico-Curti/blend_net/blob/master/example/star_graph.png">
20+
<a href="https://github.com/Nico-Curti/BlendNet/blob/master/example/star_graph.png">
1421
<div class="image">
15-
<img src="https://github.com/Nico-Curti/blend_net/blob/master/example/star_graph.png" width="960" height="540">
22+
<img src="https://github.com/Nico-Curti/BlendNet/blob/master/example/star_graph.png" width="960" height="540">
1623
</div>
1724
</a>
1825

19-
One of the biggest problem during graph visualization is to obtain good results in 3D environment. [Blender](https://www.blender.org/) software allow to create very beautifull 3D objects and it is very easy to use throw the python support.
26+
One of the biggest problem during graph visualization is to obtain good results in 3D environment. [Blender](https://www.blender.org/) software allows to create very beautiful 3D objects and it is very easy to use by Python API.
2027

21-
**BlendNet** project include a simple python interface to Blender environment to draw network in 2D and 3D as required in the input file.
28+
**BlendNet** project include a simple single-file python interface to draw network in 2D and 3D using Blender support.
2229

23-
## Installation
30+
1. [Why BlendNet?](#why)
31+
2. [Prerequisites](#prerequisites)
32+
3. [Installation](#installation)
33+
4. [Authors](#authors)
34+
5. [License](#license)
35+
6. [Contribution](#contribution)
36+
7. [Acknowledgments](#acknowledgments)
37+
8. [Citation](#citation)
38+
39+
## Why BlendNet?
40+
41+
Graph visualization is still an open problem in many applications.
42+
Commonly the problem is related to large graph visualization in which problems arise from the rendering of a large number of nodes and a greater number of links between them.
43+
An other open problem concern the multi-dimensional visualization of the graphs.
44+
Despite the most common graph tools compute the node coordinates in a any space dimensions (and clearly the maximum number of possible dimension for a visualization is still three) the real visualization is often allowed only a 2D space.
45+
The counterpart of these problems concern the pretty visualization of the graphs that it is often ignored in many tools but it can be guarantee a good result, the so called wow-effect, in a presentation.
46+
47+
BlendNet is a custom tool written in Python with the help of Blender API.
48+
Blender is now a standard in the 3D rendering and it is commonly used in a wide range of graphical applications, starting from the simpler 3D dynamics to the video-games applications.
49+
Blender is certainly more than a simple graphical viewer but the easy Python interface and the wide on-line documentation and blogs make it a useful tool for graphical representation of 3D structures.
2450

25-
The scripts [install.sh](https://github.com/Nico-Curti/blend_net/blob/master/install.sh) and [install.ps1](https://github.com/Nico-Curti/blend_net/blob/master/install.ps1) cover a full installation example of Blender and project dependencies for Unix and Windows users, respectivelly.
51+
## Prerequisites
2652

27-
## How to use
53+
**BlendNet** package uses Blender to render the network structure so install it before use it.
54+
A full list of Blender instruction can be found [here](https://www.blender.org/download/).
2855

29-
The [Makefile](https://github.com/Nico-Curti/blend_net/blob/master/Makefile) cover a list of examples and command lines instructions about different inputs available. Just type `make help` to see the full list of available rules:
56+
Then you have to update the list of packages of the Python version inside Blender.
57+
So go to the `path_to_blender/version/python/bin` directory and download `pip` as package manager and use it to install `networkx` `pandas` `matplotlib` `numpy` or use the [requirements.txt]() file inside the project as `pip install -r path_to_BlendNet/requirements.txt`.
58+
59+
## Installation
60+
61+
The scripts [install.sh](https://github.com/Nico-Curti/BlendNet/blob/master/install.sh) and [install.ps1](https://github.com/Nico-Curti/BlendNet/blob/master/install.ps1) cover a full installation example of Blender and project dependencies for Unix and Windows users, respectively. To use it please download also the submodules of the project. The full list of dependencies will be installed as no-root users so any trouble about user-privileges is ignored.
62+
63+
The [Makefile](https://github.com/Nico-Curti/BlendNet/blob/master/Makefile) cover a list of examples and command lines instructions about different inputs available. Just type `make help` to see the full list of available rules:
3064

3165
```bash
3266
**Blender viewer for graph**
@@ -57,14 +91,42 @@ To beginner:
5791

5892
A list of examples could be found in [example](https://github.com/Nico-Curti/blend_net/tree/master/example) directory.
5993

60-
## Contributions
61-
62-
Any contribution is more than welcome. Just fill an issue or a pull request and I will check ASAP!
6394

6495
## Authors
6596

6697
* **Nico Curti** [git](https://github.com/Nico-Curti), [unibo](https://www.unibo.it/sitoweb/nico.curti2)
6798

99+
See also the list of [contributors](https://github.com/Nico-Curti/walkers/contributors) who participated in this project.
100+
101+
68102
## License
69103

70-
This project is released under GPL license. [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://github.com/Nico-Curti/blend_net/blob/master/LICENSE)
104+
The `BlendNet` package is licensed under the GPL License. [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/Nico-Curti/BlendNet/blob/master/LICENSE.md)
105+
106+
## Contribution
107+
108+
Any contribution is more than welcome :heart:. Just fill an issue or a pull request and I will check ASAP!
109+
110+
## Acknowledgments
111+
112+
Thanks goes to all contributors of this project:
113+
114+
| [<img src="https://avatars0.githubusercontent.com/u/9303827?s=400&v=4" width="100px;"/><br /><sub><b>Alessandro Fabbri</b></sub>](https://github.com/allefabbri) | [<img src="https://avatars2.githubusercontent.com/u/721187?s=400&v=4" width="100px;"/><br /><sub><b>Stefano Sinigardi</b></sub>](https://github.com/cenit)
115+
|:---:|:---:|
116+
117+
and to Raffaele Pepe who help me with Blender instructions.
118+
119+
### Citation
120+
121+
If you have found `BlendNet` helpful in your research, please consider citing the
122+
123+
```tex
124+
@misc{BlendNet,
125+
author = {Nico Curti},
126+
title = {{B}lend{N}et},
127+
year = {2019},
128+
publisher = {GitHub},
129+
howpublished = {\url{https://github.com/Nico-Curti/BlendNet}},
130+
}
131+
```
132+

appveyor.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
image: Visual Studio 2017
2+
clone_folder: c:\projects\BlendNet
3+
4+
environment:
5+
WORKSPACE: C:\projects
6+
matrix:
7+
- platform: Win64
8+
COMPILER: vs
9+
MSVC_SETUP_ARG: x64
10+
PYTHON: "C:\\Python36-x64"
11+
PYTHON_VERSION: "3.6.3"
12+
PYTHON_ARCH: "64"
13+
MINICONDA: "C:\\Miniconda36-x64"
14+
15+
install:
16+
# Use Miniconda to accelerate the build (max time for CI is 60 minutes!)
17+
- "SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
18+
- "python -m pip install -U pip"
19+
- "python --version"
20+
- "pip --version"
21+
- "SET PROFILE=C:\\Users\\appveyor\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1"
22+
23+
- git submodule -q update --init --recursive
24+
25+
before_build:
26+
- cd C:\projects\BlendNet
27+
28+
build_script:
29+
- ps: .\install.ps1 -y
30+
31+

0 commit comments

Comments
 (0)