Skip to content

Question on the "dotted" keyword in Lines() object #692

Answered by marcomusy
jkissi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the dotted feature is less than perfect... You may explore one of these options:

from vedo import *
pts = [[1, 0, 0], [5, 2, 0], [3, 3, 1]]
ln = Line(pts, c='r', lw=5).pattern('- -', repeats=10)
ln.show(axes=1).close()

ln = DashedLine(pts, c='r', lw=4)
ln.show(axes=1).close()

ln = Line([5, 2, 0], [3, 3, 1], res=50).ps(5).c('r').lighting("off")
ln.show(axes=1).close()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jkissi
Comment options

Answer selected by jkissi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants