compas-dev / compas

Core packages of the COMPAS framework.

Home Page:https://compas.dev/compas/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polyline not drawing on gh

katarametin opened this issue · comments

Describe the bug
I tried to draw a Polyline in grasshopper, and it shows only the points.

To Reproduce

from compas.geometry import Polyline
from compas.geometry import Point
from compas.artists import Artist
pt1 = [3, 4, 0]
pt2 = Point(2, 3, 2)
pt3 = [5, 6, 9]
compas_polyline = Polyline([pt1, pt2, pt3])
a = Artist(compas_polyline).draw()

Screenshots
image

Desktop (please complete the following information):

  • OS: windows
  • Python version: iron python 2.7