--- id: ocpsvg version: "0.6.0" license: unclear license_treatment: unclear maintenance: aging --- # ocpsvg License: unclear · Maintenance: aging · Downloads: 423.7K/mo ## What it is and what it does OCPSVG bridges SVG and OpenCASCADE by converting SVG path strings to and from OCP topological objects (TopoDS_Edge, TopoDS_Wire, TopoDS_Face). It works at the low OCP level using svgelements for the SVG parsing and geometry translation. The package is designed to add SVG import and export capability to higher-level CAD APIs that build on OCP. The package is a thin integration layer: it takes SVG documents or path strings and produces native OCP geometry objects, or vice versa. This is useful for workflows where you need to move geometry between SVG (web, design tools) and OpenCASCADE-based CAD systems. It has low install friction as a pure-Python wheel, but maintenance is aging and the license is undocumented. Use it for: - Import SVG designs from web or design tools into OpenCASCADE-based CAD applications - Export OCP geometry as SVG for visualization or sharing in web contexts - Convert SVG paths to TopoDS edges or wires for further CAD operations - Build SVG support into higher-level CadQuery or OCP-based tools ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts between SVG path strings and OpenCASCADE topological objects (edges, wires, faces), enabling SVG import and export at the OCP level. Yes, if you need SVG-to-OCP conversion and can work around the aging maintenance status. The low install friction and lack of security issues are positives. However, verify the license first, and be aware that the package has not been actively developed for several months—expect limited support for edge cases or new SVG features. ## Install pip install ocpsvg uv add ocpsvg poetry add ocpsvg ## Installing ocpsvg Before you install: Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 218 days ago—so expect limited active development and slower response to issues. License in practice: License treatment is unclear; no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or restricted contexts. Quickstart: pip install ocpsvg from ocpsvg import svg_to_ocp # Convert SVG path to TopoDS_Edge or Wire edge = svg_to_ocp('M 0 0 L 10 10') Requires Python >= 3.10 and depends on cadquery_ocp_proxy and svgelements packages. Verify before relying: - Whether the package is actively maintained or in maintenance-only mode - What license actually applies to the package - Performance characteristics when converting large or complex SVG documents - Completeness of SVG feature support (e.g., curves, transforms, groups) ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 423.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags svg to opencascade conversion, svg path to topoDS edge, svg import export cad, svg geometry conversion, svg to face wire edge, svg-geometry, cad-conversion, opencascade [View on SkillFed](https://skillfed.io/packages/ocpsvg) · [View on PyPI](https://pypi.org/project/ocpsvg/)