Skip to content

Visualizing 1D geometry with 'k3d' #451

Description

@cme147

When attempting to visualize a 1D geometry using the 'k3d' backend in 'vedo' a TraitError occurs. Below is a code example that reproduces the error:

from splinepy.helpme.create import line
from vedo import settings

settings.default_backend = 'k3d'
curve = line(([0.0, 0.0], [1.0, 1.0]))
curve.show()

Error Message: TraitError: The 'width' trait of a Line instance expected a float or a dict, not the float32 np.float32(0.11313708).

Metadata

Metadata

Labels

bugSomething isn't workingdependencyIssues (possibly) related to dependency

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions