pythonocc-core
pythonocc-core copied to clipboard
Python package for 3D geometry CAD/BIM/CAM
Hello I imported a Step file representing an open shell (). I now want to find a correct and easy method to close the two existing holes. I searched several...
Hello, is there currently a more efficent way in pythonocc to populate the pc element rather than calling AddVertex(gp_Pnt(x,y,z)) in a foor loop? I need to load lidar pointclouds of...
There are two different functions to calculate the volume properties in the BRepGProp (GProp_GProps, GProp_PrincipalProps) class: - VolumeProperties - VolumePropertiesGK Both calculate the shape volume correctly. However, when calculating the...
There is only old version documentation in pyhonocc portal or others. Please, let me know where I can get leaset documentation
Hi, I have two verified solid objects in input to the BRepAlgoAPI_Cut tool, a blade and a slice. If the blade is not vertical swirled I get a perfect cut...
Hello, We start here with two *topoDS solids* as illustrated below. The blue is obtained by rotating the red one.  The two solids are fused using `BOPAlgo_FUSE`. The *topoDS...
Hi, When using the LinearProperties function from BRepGProp to calculate the length of the edges of a unit cube, the total length of the edges should be 24 if Skipshared=False...
Hi, using pythonocc-core 7.7.2 getting the bounds from a BRepAdaptor_Surface crashes on Windows and on Linux. On Windows it crashes with: Windows fatal exception: code 0xc0000374 Which is consistent to...
Using PySide6 and Qt6 imported a STL file to TopoDS_Shape update the display using [self.display.DisplayShape(](https://github.com/tpaviot/pythonocc-demos/blob/4c5af9e6b6a0fcd1885b3c44325e2a890d80136a/examples/core_display_qt5_app.py#L64C1-L65C1)), app is freezing for nearly 10+ seconds before showing the model in the display tried...
I am currently working on a project where I need to pass a `TopoDS_Shape` object from C++ to a Python function. I have been using `pythonocc-core` for processing STEP files...