Git Product home page Git Product logo

mesh2img's People

Contributors

phistrom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mesh2img's Issues

Feature request: option for light source position

With the original script, the left side of the models I've been converting comes out really dark. So far, in set_camera(). I've just been making it so the light source is placed in the same position as the camera, which has been working well enough. I think an option for entering the light position would be helpful, though.

AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"

blender -b -P mesh2img.py -- --paths cube.stl --dimen sions 200 -i jpg
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
Traceback (most recent call last):
File "/srv/mesh2img/mesh2img.py", line 485, in
Mesh2Img(**cliargs).start() # pass in all the paths given on the command li ne
File "/srv/mesh2img/mesh2img.py", line 84, in init
self.materials = [mat_name.strip() for mat_name in material.split(',')]
AttributeError: 'NoneType' object has no attribute 'split'

Blender quit

what this mean?

AttributeError: 'NoneType' object has no attribute 'split'

cadtoimg/mesh2img$ blender -b -P mesh2img.py -- --paths /home/cadtoimg/bunny/data/bun180.ply --dimensions 200

Blender 2.90.1
Read prefs: /home/.config/blender/2.90/config/userpref.blend
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
Traceback (most recent call last):
File "/home/cadtoimg/mesh2img/mesh2img.py", line 485, in
Mesh2Img(**cliargs).start() # pass in all the paths given on the command line
File "/home/cadtoimg/mesh2img/mesh2img.py", line 84, in init
self.materials = [mat_name.strip() for mat_name in material.split(',')]
AttributeError: 'NoneType' object has no attribute 'split'

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.