pythonocc-core
pythonocc-core copied to clipboard
Python package for 3D geometry CAD/BIM/CAM
 `import sys import numpy as np from OCC.Display.backend import load_backend load_backend("pyqt5") # Ensure Qt backend is loaded from OCC.Core.gp import gp_Pnt from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeCylinder from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_MakeEdge,...
I tried to generate a Voronoi diagram from a point cloud and convert it into a TopoDS_Shape. The code works well for finite cells, but I'm struggling with handling infinite...
Hi guys, my computer is Linux Ubuntu 24.10, and i met an error when i follow the Linux installation instructions, specifically this step. ``` [Configure and build OpenCascade] cmake -DINSTALL_DIR=/opt/occt781...
I would like to know how to load an stp file, put two points on a circle shape, and return the distance. What can I do?
from . import _AIS ImportError: DLL load failed while importing _AIS:
when i try to read the stp file ,the return is 1.This file is converted from a .prt file in Creo 5.0.I tried to use reader.PrintCheckLoad(True, 0) to print the...
Hello, I am quite unexperienced with python wrappers of c++ code. It seems like the Write version in OCC.Core.BRepTools can point to different version of the c++ write function. How...
Hi, I am trying to push some variable to shader program. But while importing Graphic3d_Vec3 (which is the data type of the variable I am using), the following error occurred....
I couldn't find any relevant documents about loading BinXCAF and XmlXCAF, I'm not sure if it's possible to add them
Hello there, I am a new to python and PyCharm. I tried to install the package of pythonocc-core in PyCharm and I got the following error codes. ERROR: Could not...