Giter Club home page Giter Club logo

todrawatopology's Introduction

ToDrawATopology Build Status

About

This project is a plug-in for Blender to allow users to create non-photorealistic renders of modeled objects. A variety of shading styles are available to render objects with. Renders are produced in the SVG format.

Gallery

Installation

  • I recommend installing this on Blender 2.79b as it is the only tested version.

  • Clone this repository in to the add-ons folder of your Blender installation. The folder can be found at YourBlenderFolder/2.79/scripts/addons for Blender version 2.79x.

  • Navigate into the ToDrawATopology folder and run the command python3 project_setup.py "PathToYourBlender/2.79/python/bin/pip" install. A pip path shouldn't be needed for Windows. This will install the necessary packages to run the add-on.

  • If the system cannot find pip on Windows for some reason then run the command PathToBlender/2.79/python/bin/python -m ensurepip to make sure pip is installed in Blender. When inside the project folder ../../../python/bin/python -m ensurepip should also work.

  • If the system cannot find pip on Linux for some reason then run the command PathToBlender/2.79/python/bin/python3.5m -m ensurepip to make sure pip is installed in Blender. When inside the project folder ../../../python/bin/python3.5m -m ensurepip should also work.

  • Now that the dependancies are installed, the plug-in can be used. You can find it in the render tab of the add-ons.

todrawatopology's People

Contributors

ewancorbett avatar shteevee avatar

Stargazers

 avatar  avatar  avatar  avatar

todrawatopology's Issues

Missing module

Hi, following what I think might be a fix for the missing packages, I've now turned to try and activate the module. So I've dragged the folder into the addons subfolder.

Screenshot 2020-11-17 at 21 20 40

However, I obtain a "cannot locate module" error when trying to install the addon.

Screenshot 2020-11-17 at 21 15 10

I've tried to study the __init__.py file and also the corresponding export_components_operator.py file. But I can't seem to understand the module import terminology.

How might I narrow down the source of this issue?

Research into "drawing"

This is going to be the majority of the rest of the project as the key features of images can be extracted now. Need to find a way to simulate pen strokes using svg libraries in python. (Or another way)

Problem with older version of Python

Hi!

This looked like such an interesting extension and I'd love to run it. However, I ran into an issue which seems due to the older nature of Blender 2.79b. I am running on a Mac.

Firstly, in /Applications/Blender/blender.app/Contents/Resources/2.79/python/bin, I ran

./python3.5m -m ensurepip
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-9.0.1 setuptools-28.8.0

However, within '/Applications/Bl/blender./Contents/Resources/2.79/scripts/addons/ToDrawATopology', upon running

../../../python/bin/python3.5m project_setup.py "/Applications/Blender/blender.app/Contents/Resources/2.79/python/bin/pip3" install

I got errors like this:

Collecting numpy<1.16
  Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:720) - skipping
  Could not find a version that satisfies the requirement numpy<1.16 (from versions: )
No matching distribution found for numpy<1.16

Despite Googling this, I couldn't seem to find a workaround.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.