Skip to content

Commit a202ca4

Browse files
authored
Update cylinder.py
1 parent 11e2ae4 commit a202ca4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/compas_rhino/conversions/cylinder.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def geometry(self, geometry):
4646
faces = geometry.Faces
4747
geometry = None
4848
for face in faces:
49+
# being too strict about what is considered a cylinder
50+
# results in cylinders created by Rhino itself
51+
# to not be recognized...
4952
if face.IsCylinder(0.001):
5053
result, geometry = face.TryGetFiniteCylinder(0.001)
5154
if result:

0 commit comments

Comments
 (0)