{"library":"ocp-gordon","title":"OCP Gordon Surface Interpolation","description":"A Python library for Gordon surface interpolation using B-splines, building on Open CASCADE Technology (OCCT) via OCP. Version 0.2.0 requires Python >=3.10,<3.15. Active development with frequent releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install ocp-gordon"],"cli":null},"imports":["from ocp_gordon import GordonSurface","from ocp_gordon import make_gordon_surface"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from ocp_gordon import GordonSurface\nfrom OCP.BRepPrimAPI import BRepPrimAPI_MakeBox\nfrom OCP.gp import gp_Pnt\n\n# Create a simple Gordon surface from four corner points\npts = [gp_Pnt(0,0,0), gp_Pnt(1,0,0.5), gp_Pnt(0,1,0.3), gp_Pnt(1,1,0.8)]\nsurf = GordonSurface(pts, degree_u=3, degree_v=3)\n# Convert to shape for further processing\nshape = surf.to_shape()\nprint('Gordon surface created')","lang":"python","description":"Create a Gordon surface from four corner points using bicubic B-spline interpolation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}