File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212### Changed
1313
14+ * Changed ` compas_triangle.rhino.discretise_boundary ` and ` compas_triangle.rhino.discretise_constraint ` to not convert points to lists.
15+
1416### Removed
1517
1618
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def discretise_boundary(guids, length):
1818 curve : Curve = guid_to_compas_curve (segment )
1919 N = int (curve .length () / length )
2020 _ , points = curve .divide_by_count (N , return_points = True )
21- boundary .extend (map ( list , points ) )
21+ boundary .extend (points )
2222
2323 rs .DeleteObjects (segments )
2424 rs .EnableRedraw (True )
@@ -32,5 +32,5 @@ def discretise_constraints(guids, length):
3232 curve : Curve = guid_to_compas_curve (guid )
3333 N = int (curve .length () / length )
3434 _ , points = curve .divide_by_count (N , return_points = True )
35- polylines .append (map ( list , points ) )
35+ polylines .append (points )
3636 return polylines
You can’t perform that action at this time.
0 commit comments