Skip to content

Commit

Permalink
fix bug in frame
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed May 14, 2024
1 parent 33548b6 commit 29c62fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compas_gmsh/models/shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def add_cylinder(self, cylinder: Cylinder) -> Tuple[int, int]:

def add_sphere(self, sphere: Sphere) -> Tuple[int, int]:
"""Add a sphere to the model."""
x, y, z = sphere.point
x, y, z = sphere.frame.point
R = sphere.radius
tag = self.occ.add_sphere(x, y, z, R)
return 3, tag
Expand Down

0 comments on commit 29c62fa

Please sign in to comment.