Commit Graph
42 Commits
Author SHA1 Message Date
Jérémie Dumas 779af8fb48 Merge pull request #1227 from BruegelN/python_fix-viewer-core
Python: igl.glfw.Viewer().core => igl.glfw.Viewer().core() with default arg unsigned core_id = 0
2019-06-14 08:21:34 -04:00
Nico Brügel 7162dbe428 expose igl.glfw.Viewer.core() the same way as in C++ and adding default argument. 2019-06-13 14:54:03 +02:00
BruegelN ea48d38056 Due to the changes in glfw::Viewer one should pass a parameter when calling data() to select a mesh. In C++ mesh_id=-1 by default ( the last element). This commit adds this behaviour for the python bindings. 2019-06-10 19:51:26 +02:00
Jérémie Dumas b15bafaed2 Viewer const accessors + use viewport size (fixes #1166, fixes #1167). 2019-04-21 09:50:47 -04:00
Jérémie Dumas daf7d0707c Merge pull request #978 from jdumas/multiple-views
Multiple viewports
2019-03-22 15:54:33 -04:00
Jérémie Dumas 607148cf72 Misc compilation fixes for Eigen 3.3 compatibility. 2018-12-28 15:02:21 +01:00
Jérémie Dumas 8eac86c163 Make teseo happy. 2018-12-01 09:49:11 -05:00
Roi Poranne 0f40780d5d Multiple viewports. 2018-10-24 11:15:21 -04:00
Jérémie Dumas 1e80372b62 Fix python bindings.
Former-commit-id: 113974b911
2018-02-16 19:42:57 -05:00
Jérémie Dumas a137df845b Also keep base translation separate.
Former-commit-id: 532d94c992
2018-02-16 19:05:14 -05:00
Jérémie Dumas f229319830 Remove model matrix from the viewer.
Former-commit-id: a9d3ef9d06
2018-02-16 18:39:33 -05:00
Daniele Panozzo 53ee86a4ab fixing py tutorials
fixing runtime errors introduced by updating to pybind 2.2


Former-commit-id: ac4ffe2434
2018-02-14 16:05:19 -04:00
Daniele Panozzo 6dbfe3861a python module compilation fixes
Former-commit-id: 08f7f8cb6b
2018-02-14 11:30:19 -04:00
Daniele Panozzo 56b46751d6 dropped serialization defines
dropped external nanogui
removed all references to nanogui


Former-commit-id: c61ad1fed9
2018-02-13 15:14:00 -04:00
Daniele Panozzo ad4d6cd23c python compilation fixes
Former-commit-id: 4b9501ad39
2018-02-04 20:11:03 -05:00
Daniele Panozzo eb0881d6a9 python module compiles again, still not working
Former-commit-id: f838fe518e
2018-02-04 15:09:54 -05:00
Unknown 2ddb11aa6b Misc. typos
Most are non-user facing. Hope this is not too annoying of a PR. 

Used `codespell -d -q 3 --skip="*.po,*.ts,./.git,./external"` to locate typos

Former-commit-id: dc31807ff5
2018-01-14 06:07:31 -05:00
Daniele Panozzo 58a2146c68 added comments to python files 1/2
Former-commit-id: 52d0f35689
2017-10-08 16:02:47 -04:00
Francis Williams e76521800e Python binding for igl_adjacency_list(const MatrixXi& F, vector<vector<int>& A, bool sorted). Use an opaque type for the output parameter A.
I also fixed a couple of bugs in generate_docstrings.py:
1) We were checking for an empty string where a result could also be Nonn.
2) If you forgot to end the argument path with  a slash, the output would be incorrect
3) We were coupled to a specific version of clang for no reason
4) Python 3 clang binding support was only added in April 2017 (https://reviews.llvm.org/D31568). Using python3 by default will not work on the clang bindings which ship with pip and most Linux distros. Let's change the hashbang to use python2 for now.
5) The documentation for the script was a bit confusing.


Former-commit-id: 230ab71e20
2017-07-05 13:31:03 -04:00
s-koch 45b6393a6f Fix bbw python bindings and tutorial 403
Former-commit-id: 37d786ca3e
2017-02-15 16:43:54 +01:00
skoch 3567e2d9b0 Update vector binding to work with new pybind11
Former-commit-id: 9bfa4df107
2017-02-14 18:50:58 +01:00
Daniele Panozzo bf367fa0c9 python fixes
Former-commit-id: 9267fd42d9
2017-02-07 17:57:26 -05:00
Alec Jacobson 7b92189fb8 attempt to convince python to use bbw from main lib
Former-commit-id: 5c602c66bd
2016-11-28 13:50:37 -05:00
Guillermo Lomas Rodríguez 86d93f31db Merge remote-tracking branch 'upstream/master'
Former-commit-id: 231b465472
2016-10-20 11:40:26 +02:00
Daniele Panozzo 303641e6b3 Merge branch 'python_bindings' of https://github.com/s-koch/libigl
Former-commit-id: 1dc17bb6c8
2016-10-19 09:19:17 -04:00
Guillermo Lomas Rodríguez 40b45738a5 Python bindings for line_mesh_intersection()
Former-commit-id: 43e7c6b81c
2016-10-18 18:22:14 +02:00
root 3f1cb13d7b python support for remesh_self_intersections
Former-commit-id: a25fd7b3ce
2016-09-20 12:10:36 -07:00
Sebastian Koch ba5cfc10ba Added tutorial 403 and submodule bbw
Former-commit-id: a475a5d124
2016-07-14 11:59:56 +02:00
Sebastian Koch d07d324403 Updated tutorial 404 to use features of newer pybind11 version,
Introduced typedefs


Former-commit-id: a6b2fd045a
2016-07-12 17:15:40 +02:00
Sebastian Koch d74da4cd6f Added tutorial 404
Former-commit-id: 0258e9fb60
2016-07-11 18:20:22 +02:00
Sebastian Koch 6c61cc5d9f Fixed problem with pybind
Former-commit-id: e16a216e89
2016-07-08 12:52:19 +02:00
Daniele Panozzo e1eb91246c Merge branch 'python_bindings' of https://github.com/s-koch/libigl
# Conflicts:
#	python/CMakeLists.txt


Former-commit-id: 1f073ddda2
2016-07-06 18:19:51 -04:00
Sebastian Koch aa298105c6 Added tutorial 707
Former-commit-id: 3a57699280
2016-07-06 22:20:41 +02:00
Daniele Panozzo f0ecda1418 Merge commit '5ba386306b0e1dc605941711a21d6031132d8094 [formerly 8c6e743cc1]'
# Conflicts:
#	python/modules/py_igl_viewer.cpp


Former-commit-id: 11f7d59227
2016-07-06 14:56:52 -04:00
Sebastian Koch 70f5ed2048 Added tutorial 706
Former-commit-id: 3acc7106d4
2016-07-06 20:38:33 +02:00
Sebastian Koch 5e56eb4f81 Added tutorial 705
Former-commit-id: ef2d804f84
2016-07-06 15:51:04 +02:00
Sebastian Koch 5416e09508 Added tutorial 702
Former-commit-id: 64289b0050
2016-07-06 12:55:53 +02:00
koch 9e91b44667 Finalized tutorial 701, added missing template
Former-commit-id: 63ef13a583
2016-06-22 16:03:01 +02:00
Sebastian Koch 02c18da83a Debug output for tutorial 701
Former-commit-id: efcf06b7dc
2016-06-21 14:10:42 +02:00
Sebastian Koch b275c3672a Added PNG module and tutorial 607
Former-commit-id: c0e04685e2
2016-06-17 18:51:38 +02:00
Sebastian Koch 9727746942 Added tutorial 609_Boolean and CGAL python module + functions
Former-commit-id: 7b6b91bd7a
2016-06-17 17:25:27 +02:00
Sebastian Koch ad00bd397f Restructuring Python bindings, moved submodules and dependencies to own folders, added dependency checking for some tutorials, minor refactorings
Former-commit-id: 2214125878
2016-06-07 15:13:54 +02:00