pywavefront/PyWavefront
Python library for importing Wavefront .obj files
21 Releases
Latest: 5y ago
1.3.3Latest
📋 Changes
- Support objects with one vertex statement
1.3.2
📋 Changes
- Properly handle face lines with unspecified normal index such as `1/2/`
1.3.1
📋 Changes
- visualization: objects without lighting will now have their ambient
1.3.0
📋 Changes
- Textures will now use `GL_REPEAT` by default (as the specificiation suggests)
- Added support for parsing texture options in materials.
- Added `options` property to `Texture` class
- visualization now respect the `clamp` option. If `on` the texture will use
- All example windows can now be resized
1.2.0
📦 1.2.0
- Pywavefront is now using `pathlib` internally. `Path` instances can also
- be passed to all parsers.
- Bugfix: Texture paths in materials should no longer be mangled when
- containing spaces or special characters. It should always be read
- exactly as it appears in the file.
- Texture: `file_name` property added as a more robust way to get
- the texture file name without path. This should even work for
- hardcoded windows path on Linux and OS X.
- + 5 more
1.1.0
📋 Changes
- Fixed an incompatibility issue related to image loading in pyglet 1.4.x
- Texture instances now store the texture name as they apprear in the material
- Removed dead code related related to python 2/3 compatibility
1.0.5
Visualization module should enable depth testing by default
1.0.4
Faces with undefined texture coordinates will fall back to uv index 0
1.0.3
📋 Changes
- Fix vertex format exceptions - PR #86
1.0.2
📋 Changes
- Fix two parsing IndexErrors - PR #84
1.0.1
📋 Changes
- Release only for Python3, not universal - Fixes #79
Python 3v1.0.0
📋 Changes
- Use Python 3.4 on CI server - PR #78
- Switch to Python 3.4+ - PR #77
- Fix support for earlier py3 versions, which do not support json as bytes - PR #76
- Add option to retain face data - PR #74
0.4.2
📋 Changes
- Add Python 3.7 support - PR #72
- Add missing material properties - PR #70
- Tweak README - PR #68
0.4.1
📋 Changes
- Add Python 3 - PR #65
0.4.0
📋 Changes
- Add binary cache - PR #63
- Fix handling of negative indices - PR #62
- Set up logger - PR #60
- Allow textures to load from anywhere - PR #59
0.3.2
📋 Changes
- Fix README - PR #55
- Allow users to override material parser - PR #54
- Allow parser to create missing materials - PR #52
- Fix pypi markdown, tweak README - PR #51
0.3.1
📋 Changes
- Revamp README PR #48
- Fix various bugs PR #47
- Cap shininess in visualization PR #46
- Support different vertex formats + example PR #43
- Detect vertex format, vertex color, and tests PR #42
0.3.0
📋 Changes
- Run all parser tests for gzip file - PR #40
- Revamp parser to prepare to support different vertex formats - PR #38
- Make dir available as instance attribute + tests - PR # 33
- Use setuptools - PR #31
0.2.0
📋 Changes
- Make Pyglet an optional dependency - PR #30
- Close file descriptor when no longer needed - PR #29
- Specify the full path for the test files. Remove Pyglet dependency on unit tests - PR #28
- Use the correct accented "e" character- PR #27
- Add basic circleci configuration
0.1.7
📋 Changes
- Handle any unimplemented flag and carry on with a warning - PR #21
- Add support to object-less obj file - PR #23
0.1.6
Import .obj without material file - PR #16
