{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/2"}],"enrichment":{"capability":"Interpolates networks of curves into smooth Gordon surfaces using B-spline mathematics, integrated with CadQuery's OCP for CAD geometry operations.","skillfed_tags":["cad-geometry","b-spline","3d-modeling"],"use_cases":["Generate smooth CAD surfaces from a grid of profile and guide curves in parametric design workflows.","Create complex 3D geometry for 3D printing or CAD models by interpolating curve networks.","Integrate surface generation into build123d or CadQuery-based design scripts.","Approximate conic curves and other complex geometries using B-spline representations.","Prototype aircraft or aerodynamic surfaces using parametric curve networks."],"what_it_does":"ocp-gordon is a Python library for creating Gordon surfaces\u2014smooth interpolated surfaces generated from a network of profile and guide curves. It wraps B-spline mathematics and integrates with CadQuery's OCP (OpenCASCADE Python bindings) to work with CAD geometry primitives. The implementation is adapted from C++ code and includes several refinements: a polyfilled optimization algorithm for curve intersection, regularization to prevent singular matrices, and support for iso-parametric inputs that skip unnecessary reparameterization.\n\nThe library is designed primarily for use within build123d but can be used independently. It depends on numpy and scipy for numerical computation, plus cadquery_ocp_proxy for geometric operations. The package is actively maintained and has no known security vulnerabilities. A documented caveat is that Gordon surfaces may show misalignment with input curves at boundaries, particularly for non-iso-parametric inputs, due to approximation in the reparameterization process.","worth_installing":"Yes, if you are working with CadQuery or build123d and need to generate smooth surfaces from curve networks. The low install friction, permissive license, and active maintenance make it a straightforward addition. Be aware that it is early-stage (first release September 2025) with limited community presence, and boundary misalignment is a known issue for non-iso-parametric inputs\u2014consult the wiki before relying on high-precision surface matching."},"id":"ocp-gordon","links":{"html":"https://skillfed.io/packages/ocp-gordon","md":"https://skillfed.io/packages/ocp-gordon.md","pypi":"https://pypi.org/project/ocp-gordon/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-16","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"ocp-gordon","python_support":"supports_current","summary":"A Python library for Gordon Surface interpolation using B-splines."},"popularity":{"monthly_downloads":353606,"position":7302,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.2"}
