XCAFDoc_VisMaterialPBR is missing properties in OCP 8.0.1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start at the OCP binding entry point for XCAFDoc_VisMaterialPBR and compare its exposed members with the official OCCT XCAFDoc_VisMaterialPBR reference. Verify the six listed properties are available on a Python instance and confirm the completed binding through the existing project checks, if present.
Written by the indexing model from the issue text.
Description
I have built materials support for build123d with PBR support. In order to convert it to OCCT, I need XCAFDoc_VisMaterialPBR.
Unfortunately, the OCP 8 bindings for XCAFDoc_VisMaterialPBR are not complete. Missing properties:
BaseColorTextureMetallicRoughnessTextureEmissiveTextureOcclusionTextureNormalTextureEmissiveFactor
Official Anaconda OCP 8.0.1 package:
❯ ipython
Python 3.13.15 | packaged by conda-forge | (main, Sep 2 2026, 21:53:23) [Clang 21.1.8 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 9.17.1 -- An enhanced Interactive Python. Type '?' for help.
Tip: Put a ';' at the end of a line to suppress the printing of output.
In [1]: import OCP
In [2]: OCP.__version__
Out[2]: '8.0.1.0'
In [3]: from OCP.XCAFDoc import XCAFDoc_VisMaterialPBR
In [4]: pbr = XCAFDoc_VisMaterialPBR()
In [5]: dir(pbr)
Out[5]:
['BaseColor',
'DumpJson',
'IsDefined',
'IsEqual',
'Metallic',
'RefractionIndex',
'Roughness',
'__class__',
'__delattr__',
'__dir__',
'__doc__',
'__eq__',
...
see https://occt3d.com/dev/doc/refman/html/struct_x_c_a_f_doc___vis_material_p_b_r.html
- Dominant language
- C++
- Stars
- 200
- Forks
- 48
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CadQuery/OCP
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Python 3.14t build Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
OCCT8
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·