Skip to content

Commit 29c62fa

Browse files
committed
fix bug in frame
1 parent 33548b6 commit 29c62fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_gmsh/models/shape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def add_cylinder(self, cylinder: Cylinder) -> Tuple[int, int]:
2828

2929
def add_sphere(self, sphere: Sphere) -> Tuple[int, int]:
3030
"""Add a sphere to the model."""
31-
x, y, z = sphere.point
31+
x, y, z = sphere.frame.point
3232
R = sphere.radius
3333
tag = self.occ.add_sphere(x, y, z, R)
3434
return 3, tag

0 commit comments

Comments
 (0)