pythonocc-core
pythonocc-core copied to clipboard
Python package for 3D geometry CAD/BIM/CAM
Do anyone know how to select objects by rectangle select as some software like autocad?
I did a small demo test with pythonOCC version 7.8.1 and found that when using pyside6 as the backend for the model display window, it keeps prompting: no backend has...
I managed to successfully build a STEP file with multiple entities grouped into compounds using StepControl_Writer and I'm wondering how to add additional information that is associated to every entity....
""" from OCC.Core.STEPControl import STEPControl_Reader from OCC.Core.IFSelect import IFSelect_RetDone from OCC.Core.TopoDS import TopoDS_Shell, TopoDS_Solid, topods, TopoDS_Wire, TopoDS_Face from OCC.Core.TopExp import TopExp_Explorer from OCC.Core.TopAbs import TopAbs_SHELL, TopAbs_SOLID, TopAbs_WIRE, TopAbs_FACE from OCC.Core.BRep...
In version 7.8.1.1, building `pythonocc-core` fails when the `PYTHONOCC_MESHDS_NUMPY` CMake option is disabled: ``` pythonocc-core/build/Unix/x86_64--/TShortPYTHON_wrap.cxx:4429:10: fatal error: numpy/arrayobject.h: No such file or directory 4429 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated....
How can I remove or even hide the seam line in the fully revolved shapes? This seam is also noticeable in a simple sphere. I want to render the scene...
When using the pyside6/pyqt6 backend, I tried to select the vertex at a `.stp` file, but when I change to the vertex selection mode, I find that **cursor can't locate...
It is highly recommended to upgrade the compatible version of python to the latest version!
Please refer to my post in OCC Forum: https://dev.opencascade.org/content/how-can-i-extract-name-label-python#comment-26938 Generally, I cannot use `TDataStd_Name` or `TDF_Attribute` instance as the 2nd parameter of `FindAttribute` of Label. The returned error is: ```...
How to Use PythonOCC-Core to Identify Screw Holes, Through Holes, and Blind Holes