Line and point style in the viewer

Hi @alex and Speckle team,
Regarding our geometry viewer
I am wondering if line styles are supported in terms of color, width and dotted line ? Is there any way for @ahmedwael94 to implement it in the TopSolid connector so that I can get it in the viewer? Or should we improvise ?
I’ve read work is currently being done by @clrkng there

Also, is there a way to increase the size of points in the viewer? using smalle circles for exemple? Like this

Btw I hope the SpeckleCon went well
Thanks

Hi @RaphaelVouilloz

Lines currently support both colors and varying width. Here’s a stream which @clrkng was kind enough to make for us that shows lines with different colors and widths. For lines, these properties are found under their displayStyle object, so from TopSolid, you’d need to store them there in order to be automatically picked up and applied.

Points also support different point size, however currently it can only bet set via a custom SpecklePointMaterial that has it’s size property set to whatever value you want. The way to apply materials is via the setMaterial API call.

Cheers

2 Likes

Thanks @alex, that’s very useful we’ll give it a try

1 Like

A post was split to a new topic: Line Style and Point Size