Skip to content

Commit 85c60a4

Browse files
RUFF
1 parent 109cf95 commit 85c60a4

17 files changed

+64
-43
lines changed

docs/acknowledgements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Acknowledgements
33
********************************************************************************
44

5-
This package provides Python bindings for selected methods of libigl written by:
5+
This package provides Python bindings for selected methods of libigl developed by:
66
* Tom van Mele, [email protected]
77
* Petras Vestartas, [email protected]
88

docs/examples/example_boundaries.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import math
22

3-
import compas_libigl as libigl
43
from compas.colors import Color
54
from compas.datastructures import Mesh
65
from compas.geometry import Polyline
76
from compas.geometry import Rotation
87
from compas.geometry import Scale
98
from compas_viewer import Viewer
109

10+
import compas_libigl as libigl
11+
1112
# ==============================================================================
1213
# Input geometry
1314
# ==============================================================================

docs/examples/example_curvature_gaussian.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import compas
2-
import compas_libigl as igl
32
from compas.colors import Color
43
from compas.colors.colormap import ColorMap
54
from compas.datastructures import Mesh
6-
from compas.geometry import Point, Line
5+
from compas.geometry import Line
6+
from compas.geometry import Point
77
from compas_viewer import Viewer
88

9+
import compas_libigl as igl
10+
911
# ==============================================================================
1012
# Input geometry
1113
# ==============================================================================
@@ -52,7 +54,7 @@
5254
viewer = Viewer()
5355

5456
# Add the colored mesh
55-
viewer.scene.add(trimesh, use_vertexcolors=True) #, vertexcolor=vertex_colors)
57+
viewer.scene.add(trimesh, use_vertexcolors=True) # , vertexcolor=vertex_colors)
5658

5759
# Add normal vectors scaled by Gaussian curvature
5860
normal_scale = -10

docs/examples/example_curvature_principal.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import compas
2-
import numpy as np
3-
import compas_libigl as igl
42
from compas.colors import Color
5-
from compas.colors.colormap import ColorMap
63
from compas.datastructures import Mesh
7-
from compas.geometry import Line, Point, Vector
4+
from compas.geometry import Line
5+
from compas.geometry import Point
6+
from compas.geometry import Vector
87
from compas_viewer import Viewer
9-
from compas_viewer.scene import BufferGeometry
8+
9+
import compas_libigl as igl
1010

1111
# ==============================================================================
1212
# Input geometry

docs/examples/example_geodistance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import compas
2-
import compas_libigl as igl
32
from compas.colors import Color
43
from compas.colors import ColorMap
54
from compas.datastructures import Mesh
65
from compas.geometry import Point
76
from compas_viewer import Viewer
87

8+
import compas_libigl as igl
9+
910
# ==============================================================================
1011
# Input
1112
# ==============================================================================

docs/examples/example_geodistance_multiple.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import compas
2-
import compas_libigl as igl
3-
from compas.colors import Color, ColorMap
2+
from compas.colors import Color
3+
from compas.colors import ColorMap
44
from compas.datastructures import Mesh
5-
from compas.geometry import Point, Scale, Rotation
5+
from compas.geometry import Point
66
from compas_viewer import Viewer
7-
import math
8-
import numpy as np
7+
8+
import compas_libigl as igl
99

1010
# ==============================================================================
1111
# Input

docs/examples/example_intersections.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import compas
2-
import compas_libigl as igl
32
import numpy as np
43
from compas.colors import Color
54
from compas.datastructures import Mesh
65
from compas.geometry import Line
76
from compas.geometry import Point
87
from compas_viewer import Viewer
98

9+
import compas_libigl as igl
10+
1011
# ==============================================================================
1112
# Input geometry
1213
# ==============================================================================

docs/examples/example_intersections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
********************************************************************************
2-
Mesh-ray intersections
2+
Ray-Mesh Intersections
33
********************************************************************************
44

55
.. figure:: /_images/example_intersections.png

docs/examples/example_isolines.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import math
22

3-
import compas_libigl as igl
4-
from compas.colors import ColorMap, Color
3+
from compas.colors import ColorMap
54
from compas.datastructures import Mesh
65
from compas.geometry import Rotation
76
from compas.geometry import Scale
8-
97
from compas_viewer import Viewer
108

9+
import compas_libigl as igl
10+
1111
# ==============================================================================
1212
# Input geometry
1313
# ==============================================================================

docs/examples/example_massmatrix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import compas
2-
import compas_libigl as igl
32
import numpy as np
43
from compas.colors import ColorMap
54
from compas.datastructures import Mesh
65
from compas_viewer import Viewer
76

7+
import compas_libigl as igl
8+
89
# ==============================================================================
910
# Input geometry
1011
# ==============================================================================

0 commit comments

Comments
 (0)