Skip to content

Is XSDRAWSTLVRML or anything under TKXSDRAW available in pyocct? #90

@capfish

Description

@capfish

Context

Hi,
I'm trying to follow these guidelines for viewing an STL:
https://dev.opencascade.org/doc/overview/html/occt_user_guides__visualization.html#occt_visu_3_5_5

But I am unable to find XSDRAWSTLVRML to create the data source as MeshVS.MeshVS_DataSource doesn't have a constructor. Is this class available somewhere within pyOCCT? I have been unable to find it, but also I'm new to OCCT so maybe I'm just missing something/there's another way to create this data source?

>>> import OCCT
>>> for package in pkgutil.iter_modules(OCCT.__path__):
...     try:
...         foo = foo + dir(importlib.import_module(f'OCCT.{package.name}'))
...     except:
...         print(package.name)
...
IVtkTools
RWGltf
step
>>> [bar for bar in foo if 'xsdraw' in bar.lower()]
[]
>>> [bar for bar in foo if 'stlvrml' in bar.lower()]
[]

It's also not in those modules that it couldn't import.

Your Environment

  • Version used: 7.5.2.1
  • Operating System and version (desktop or mobile): Windows 10, Debian 9 Stretch, Desktop

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions