We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33548b6 commit 29c62faCopy full SHA for 29c62fa
src/compas_gmsh/models/shape.py
@@ -28,7 +28,7 @@ def add_cylinder(self, cylinder: Cylinder) -> Tuple[int, int]:
28
29
def add_sphere(self, sphere: Sphere) -> Tuple[int, int]:
30
"""Add a sphere to the model."""
31
- x, y, z = sphere.point
+ x, y, z = sphere.frame.point
32
R = sphere.radius
33
tag = self.occ.add_sphere(x, y, z, R)
34
return 3, tag
0 commit comments