Skip to content

Claude edits#302

Open
alecjacobson wants to merge 8 commits intomainfrom
claude-edits
Open

Claude edits#302
alecjacobson wants to merge 8 commits intomainfrom
claude-edits

Conversation

@alecjacobson
Copy link
Contributor

Claude supposedly adding all missing bindings for the core library. 🚀

alecjacobson and others added 5 commits March 6, 2026 12:10
New bindings: accumarray, barycentric_interpolation, bezier, colormap,
combine, dijkstra/dijkstra_backtrack, directed_edge_parents, edge_topology,
edges_to_path, euler_characteristic, exterior_edges, extract_manifold_patches,
face_occurrences, fit_plane, flipped_triangles, flood_fill, hausdorff,
hsv_to_rgb/rgb_to_hsv, is_boundary_edge, is_delaunay, is_irregular_vertex,
iterative_closest_point, lbs_matrix, look_at, mvc, orient_outward,
orientable_patches, per_corner_normals, per_edge_normals,
per_vertex_attribute_smoothing, polar_dec, procrustes, pseudonormal_test,
random_dir/random_dir_stratified, ray_sphere_intersect, ray_triangle_intersect,
readCSV, readSTL, rgb_to_hsv, rigid_alignment, rotation_matrix_from_directions,
sample_edges, segment_segment_intersect, sharp_edges, signed_angle, snap_points,
solid_angle, super_fibonacci, tet_tet_adjacency, tri_tri_intersect,
turning_number, uniformly_sample_two_manifold, vector_area_matrix, voronoi_mass,
writeOFF, writeSTL.

Also fixes extract_manifold_patches to use std::make_tuple (was std::make_pair
with missing nanobind/stl/pair.h include). Adds 8 new test functions covering
all new bindings; total test count goes from 48 to 56.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The default push=0.0 caused division by zero in the C++ implementation,
corrupting the distance matrix and crashing with segfault/bus error/access
violation on x86_64 and Windows CI platforms.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cibuildwheel <=3.1.3 downloads virtualenv.pyz via a GitHub blob URL that
gets rate-limited (HTTP 429) on macOS and Windows CI runners. v3.1.4
switched to the GitHub Releases URL, which is reliably CDN-cached.

See: pypa/cibuildwheel#2555

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@alecjacobson
Copy link
Contributor Author

I put these on pypi at https://pypi.org/project/libigl/2.6.3.dev1/

Will send claude to do the rest of the existing supported modules and then the unsupported modules (except opengl/*)

alecjacobson and others added 3 commits March 10, 2026 11:09
New bindings:
- igl.copyleft.marching_cubes (grid and indexed overloads)
- igl.copyleft.quadprog
- igl.copyleft.cgal.coplanar
- igl.copyleft.cgal.delaunay_triangulation
- igl.copyleft.cgal.outer_hull
- igl.copyleft.cgal.extract_cells
- igl.copyleft.cgal.peel_outer_hull_layers
- igl.copyleft.cgal.peel_winding_number_layers
- igl.copyleft.tetgen.cdt (+ CDTParam class)
- igl.copyleft.tetgen.mesh_with_skeleton
- igl.embree.bone_visible
- igl.embree.line_mesh_intersection
- igl.triangle.cdt
- igl.triangle.refine

Key fixes applied: int64→int32 casts for CGAL/tetgen/triangle internals,
bone_visible uses VectorXN column vectors for s/d, tetgen.cdt inverted
bool return worked around by checking output TT.rows() instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant