Commit Graph
61 Commits
Author SHA1 Message Date
Alec Jacobson 94028e5dba try to fix python errors
Former-commit-id: 56dd532f10
2017-08-02 16:19:57 -07:00
Hasnain Vohra f5313e23f3 add wrapper for readPLY
Former-commit-id: 46385dc442
2017-07-17 15:40:36 -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
Daniel Crispell 2115264e37 add python binding for writePLY
Former-commit-id: 89248fc18f
2017-06-30 21:57:51 -04:00
s-koch dd743f2175 Fix tutorial 102_tcp and tutorial 303
Former-commit-id: 2d55c372b0
2017-03-29 23:48:49 +02: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
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
jmespadero fa97cbbb30 py_internal_angles
Former-commit-id: c6a0ba5cf4
2016-10-24 16:07:19 +02: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 ea18a88d58 Python bindings for barycentric_to_global()
Former-commit-id: 777d5b1858
2016-10-19 09:49:16 +02:00
Guillermo Lomas Rodríguez 40b45738a5 Python bindings for line_mesh_intersection()
Former-commit-id: 43e7c6b81c
2016-10-18 18:22:14 +02:00
Pelayo González aeaf610e41 Python bindings for remove_duplicate_vertices()
Former-commit-id: 198571d71e
2016-09-23 14:54:58 +02:00
root 3f1cb13d7b python support for remesh_self_intersections
Former-commit-id: a25fd7b3ce
2016-09-20 12:10:36 -07:00
Sebastian Koch 19f547093e Merge branch 'master-upstream' into python_bindings
Former-commit-id: 1bfdf9b30e
2016-09-14 19:13:03 +02:00
pancha e9db1095fd * adding streamline code and tutorial
* adding python bindings for streamline and python tutorial


Former-commit-id: 9abb24e0bc
2016-08-11 10:37:34 -04:00
pancha a0664b0a3d adding python wrapper for edge_topology and triangle_traingle_adjacency
Former-commit-id: 42f022f021
2016-08-09 16:56:52 -04: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 aa298105c6 Added tutorial 707
Former-commit-id: 3a57699280
2016-07-06 22:20:41 +02: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
Sebastian Koch dcbb98ce9a Added tutorial 701
Former-commit-id: 54e2fe0935
2016-06-21 11:54:53 +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
Sebastian Koch c5e77fa5d7 Added multiple tutorials
Former-commit-id: 706aa31449
2016-06-03 16:53:22 +02:00
Sebastian Koch db0ef84ad7 Fixed assertion problem in debug mode
Former-commit-id: 71091ca3f5
2016-05-27 16:03:06 +02:00
Sebastian Koch fb530cb053 Fixed signed_distance function
Former-commit-id: 6204302f84
2016-05-25 22:01:38 +02:00
Sebastian Koch 6e4a3738aa Fixed minor bugs in bindings, moved AABB implementation to own file, added boolean matrix and comparison functions to python bindings
Former-commit-id: aa6e79dc36
2016-05-25 21:47:37 +02:00
Sebastian Koch 39ade1009b Added further python bindings, extended py_vector slightly
Former-commit-id: 13e300c8a9
2016-05-20 20:18:29 +02:00
Sebastian Koch 344cb9eea3 -Changes to header files to support parsing
-Added header parser and docstring generator


Former-commit-id: e879d27f15
2016-05-12 15:36:04 +02:00
Daniele Panozzo 93a6a05509 updated python build system
Former-commit-id: bf79f74c4a
2016-03-02 23:51:21 -05:00
Daniele Panozzo 38814fe106 moved comiso functions in copyleft
Former-commit-id: b27a97ccbb
2016-03-02 23:14:46 -05:00
Daniele Panozzo b976d8c144 python fixes
Former-commit-id: 6b3df962c1
2015-10-05 21:19:08 +02:00
Daniele Panozzo dba9e977d4 added 507
Former-commit-id: fc093eb7ee
2015-10-04 19:12:27 +02:00
Daniele Panozzo c413f9df1d added 505 miq
Former-commit-id: 482f021aeb
2015-10-04 18:01:52 +02:00
Daniele Panozzo 44a2dc4c1e fixed bug in nrosy wrapper
Former-commit-id: 5e6fbb4acb
2015-10-04 17:26:07 +02:00
Daniele Panozzo 73f00b0f44 added python module comiso
added 504


Former-commit-id: 88cf5cc812
2015-10-01 21:33:26 +02:00
Daniele Panozzo 4cfbb151a4 added 502
Former-commit-id: b386614cb6
2015-10-01 17:11:41 +02:00
Daniele Panozzo 03e3692bd4 added 501
Former-commit-id: 821d857f0b
2015-10-01 17:04:02 +02:00
Daniele Panozzo 57120986b1 added 405
Former-commit-id: bff37c3987
2015-10-01 14:36:22 +02:00
Daniele Panozzo 0ef447445a added 401, improvement in getitem for vectors
Former-commit-id: 10e1f0dccd
2015-10-01 00:23:14 +02:00
Daniele Panozzo 1524d4d294 fixed nasty memory bug in pybind11, appearing only with python 2.7 but also potentially affecting 3.x
Former-commit-id: d23c0b6c9b
2015-09-14 16:55:34 +02:00
Daniele Panozzo b57ee21b85 added 306
finished chapter 3 of the tutorial
warning: there is a memory leak in 305 that happens rarely, it requires debugging

Former-commit-id: b25ed574a2
2015-09-13 23:04:14 +02:00
Daniele Panozzo 0cd2dc884b added 305
Former-commit-id: 477339d410
2015-09-13 20:10:26 +02:00
Daniele Panozzo 026cea6924 added 304
fixed bug in py_jet


Former-commit-id: 7db5843947
2015-09-13 17:21:32 +02:00