Skip to content

Minimal example with OCC is displaying empty renderer #751

@chaffra

Description

@chaffra

This minimal example is displaying nothing for me. OCC works by itself with the JupyterRenderer but I cannot see the OCC shapes created from JupyterCAD.

from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox
from jupytercad import CadDocument
doc = CadDocument()
box_shape = BRepPrimAPI_MakeBox(10, 20, 30).Shape()
doc.add_occ_shape(box_shape, name='box')
display(doc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions