Huarong Chen
b6d3cbcb61
Fix "bytes aketrans" issues in Python>=3.1
...
Issue https://github.com/assimp/assimp/issues/2339
2019-04-17 14:19:00 +08:00
Charlie Gettys
e45d120f21
Remove experimental change unintentionally included in commit f001dfc8
2019-03-29 18:43:57 -04:00
Charlie Gettys
f001dfc840
* Fix error in previous commit improving imports
2019-03-29 18:36:17 -04:00
Charlie Gettys
5a53fbd65f
port/PyAssimp/pyassimp/: Fix new warnings
2019-03-29 18:36:17 -04:00
Charlie Gettys
efbb85721c
port/PyAssimp/pyassimp/: remove several unised imports
2019-03-29 18:36:17 -04:00
Charlie Gettys
1b9157440f
port/PyAssimp/pyassimp/structs.py: remove unused import of c_int
2019-03-29 18:36:17 -04:00
Charlie Gettys
1614b7bea4
port/PyAssimp/pyassimp/core.py: convert_assimp_string now switches on
...
version instead of just catching the exception if unicode is not defined
& _init_face uses is None instead of == None
2019-03-29 18:36:17 -04:00
Charlie Gettys
ee79ac0f17
port/PyAssimp/pyassimp/sample.py: rename innerloop variable to clarify intent since it shadowed outer variable
2019-03-29 18:36:17 -04:00
Charlie Gettys
7930de9f37
port/PyAssimp/pyassimp/helper.py: replace from ctypes import POINTER; POINTER(something) with ctypes.POINTER(something) to remove warning about importing ctype twice
2019-03-29 18:36:17 -04:00
Charlie Gettys
e849b94f68
port/PyAssimp/pyassimp/core.py & helper.py: catch specific exceptions instead of BaseException
2019-03-29 18:36:17 -04:00
Charlie Gettys
51844b206d
port/PyAssimp/pyassimp/formats.py: add missing comma (implicit string concatenation, assumed unintentional)
2019-03-29 18:36:17 -04:00
Charlie Gettys
4e714fce0e
port/PyAssimp/pyassimp/core.py: remove unused import & second import of ctypes
2019-03-29 18:36:17 -04:00
Charlie Gettys
49033513ef
port/PyAssimp/pyassimp/core.py: remove deprecated unused import & unnecessary from ctype import pointer
2019-03-29 18:36:17 -04:00
Charlie Gettys
eb81619e56
Fix core.py raising string instead of correct RuntimeError
2019-03-29 18:36:17 -04:00
Séverin Lemaignan
1ac86476fe
[pyassimp] Bumped to 4.1.4
...
Main changes:
- Support for metadata fields (Vincent Fazio, Wojciech Matyjewicz)
- added support for aiExportSceneToBlob (Vincent Fazio)
- a few bug fix + code beautification
2019-01-30 22:41:01 +00:00
Kim Kulling
21c162edf1
Merge branch 'master' into patch-1
2018-12-30 21:40:01 +01:00
Kim Kulling
ae31be1e23
next try.
2018-12-30 17:06:50 +01:00
Kim Kulling
ba80410c48
fix review findings.
2018-12-30 15:56:42 +01:00
Kim Kulling
7c23a6c5ca
fix review findings.
2018-12-30 11:41:58 +01:00
carasuca
69ea55d180
Fix: except `SyntaxError` for py3 viewer
...
Following https://www.python.org/dev/peps/pep-3110/
2018-12-30 02:59:49 +01:00
Kim Kulling
df8a9450c8
Merge branch 'master' into coverity_scan
2018-12-26 20:43:04 +01:00
Kim Kulling
b3c2fdc11d
python: fix review findings.
2018-12-23 14:28:40 +01:00
Vincent Fazio
8cb0b4ce2b
Updated pyassimp function description
2018-09-21 11:02:14 +10:00
Vincent Fazio
ef4e317625
Improved some comments
2018-09-21 10:51:38 +10:00
Vincent Fazio
3402cd81c7
Added interface to 'aiExportSceneToBlob()' for pyassimp
2018-09-21 10:31:21 +10:00
Vincent Fazio
0adc032f69
Updated to be in sync with assimp header files
2018-09-14 13:09:44 +10:00
Wojciech Matyjewicz
fdf52f3d25
Build Python representation for metadata.
2018-09-02 00:52:24 +02:00
Wojciech Matyjewicz
8bbfac1f04
Factor out Assimp string -> Python string conversion code.
2018-09-02 00:51:14 +02:00
Wojciech Matyjewicz
475ed6fdc3
Fix metadata property type declarations.
2018-09-01 10:15:09 +02:00
Wojciech Matyjewicz
7004066532
Fix inconsistent newlines.
...
LF newlines have been changed to CR LF to match the rest of the file.
2018-09-01 10:11:59 +02:00
Vincent Fazio
ecd24a736c
Add missing metadata fields
2018-08-24 12:06:24 +10:00
Vincent Fazio
597628f43a
Prevent 'AttributeError' when printing object attributes
2018-08-24 12:03:54 +10:00
Kim Kulling
d4c7eb3b67
Update helper.py
...
Remove deprecated comment.
2018-06-22 16:14:20 +02:00
Kim Kulling
4a720511e4
Update helper.py
...
Remove dead code.
2018-06-22 16:13:46 +02:00
Ravin Kumar
7b0f100fc3
Solved pyassimp.errors.AssimpError in conda
...
This error occurred because of error in finding .extension files.
os.path.splitext(filename)[-1].lower() not in ext_whitelist: ### this line had bugs, failed to select files with extensions .so.x [.so.1 .so.2 .so.3.1] but worked on simple extensions only. like- .so .dll
Added a mechanism to remove this bug.
2018-06-22 12:22:27 +05:30
Séverin Lemaignan
c12c56d33e
[pyassimp] README.{md->rst} to please distutils. Bumped to 4.1.3
2018-05-29 10:47:40 +01:00
Séverin Lemaignan
b6888962ed
[pyassimp] Updated setup.py
2018-05-28 23:53:28 +01:00
Andor Goetzendorff
f4fd5840b1
Encode filename using file system encoding instead of ASCII
2018-05-15 15:35:44 +02:00
Robert Spencer
c036a3b840
Add pyassimp code generation script for materials
...
In the style of gen/structsgen.py, we construct a similar method for
keeping the constants in materials.py up to date.
2018-01-10 12:33:44 +02:00
Robert Spencer
ce5b78f6c0
Remove check for 'assimp' in name of directories to be searched for library in python port
2018-01-06 15:17:29 +02:00
Robert Spencer
d3150eedfb
Version bump pyassimp
2017-12-29 19:46:16 +02:00
Unknown
12dbbd4ce9
Misc. typos
...
Some are doxy comments, some are just trivial source comment typos.
Found using `codespell -q 3 --skip="./contrib" -I ../assimp-whitelist.txt`
whereby whitelist contained:
```
childs
iff
lod
nto
ot
whitespaces
```
2017-11-09 17:19:26 -05:00
Daeyun Shin
bf9d319489
Update helper.py
...
Search for libassimp.so in LD_LIBRARY_PATH if available.
2017-10-31 15:43:39 -07:00
IOhannes m zmölnig
042597552a
split setup.py into multiple lines
...
to make it easier for patching in Debian...
2017-09-02 19:46:57 +02:00
Mel Massadian
37f5619149
created a python3 version of the 3dviewer and fixed the / = float in py3
2017-08-23 20:02:58 +02:00
rodrigo figueroa
01a288ff35
Added support for python3
...
When using python3 and running any of the provided scripts I get:
NameError: name 'unicode' is not defined. Python3 does not have unicode. Using try-except method helps to support python3
2017-07-20 22:48:07 -07:00
Kim Kulling
8648fd223e
update python readme.
2017-07-12 20:35:50 +02:00
Kim Kulling
7b15ec0b64
pyassimp: update readme.
2017-07-01 11:02:03 +02:00
Robert Spencer
c6d888531b
Fixes parameters to pyassimp.load
...
Commit 704e57db4e
changed the order
of the parameters to `pyassimp.load`. The new order groups
`filename` and `file_type` which is preferable, but the samples and
other calls to `load` still point to the old order. This fixes that
with named arguments where necessary.
2017-06-25 15:18:53 +02:00
Séverin Lemaignan
4d37f90ea5
Revert "Installing assimp library as well"
...
This reverts commit 33bd5cfcfb
.
Installing the assimp library from setup.py is *not* a good idea as
it will break every packaging effort.
Besides, the original commit relies on an hard-coded path to find the
library that may not exist.
2017-06-06 15:14:18 +01:00