ocpsvg
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10 and depends on cadquery_ocp_proxy and svgelements packages.
- 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 · maintenance · safety
(unclear) — 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.
last release 2026-01-08 (218 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 423,657 downloads/mo, #6,769 on PyPI
Alternatives
Verify before relying
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')- 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)
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 on this page. Verify before relying on it.
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
ocpsvg on PyPI
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.
Requires Python >= 3.10 and depends on cadquery_ocp_proxy and svgelements packages.
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')
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 the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagescadquery_ocp_proxysvgelements |
| Maintenance | Aging 218 days since the last release |
| First released | |
| Downloads | 423,657 / month, #6,769 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: ocpsvg-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “svg to opencascade conversion”
- ocpsvgConverts between SVG path strings and OpenCASCADE topological objects…
- cascadioConverts STEP files to GLB (glTF binary) format using OpenCASCADE,…
- build123dbuild123d is a Python CAD framework for creating 2D and 3D models…
Give your agent the search over MCP, or paste the wish link into any chat.
More Graphics packages
Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.
Install it if you need to work with images in Python—it is the de facto standard for this task.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.
PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.
The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.
pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.
Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.
Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.
See also ocp-tessellate · svgelements · cascadio · ocp-gordon · cadquery-ocp-novtk · cadquery-ocp · cadquery-ocp-proxy · svg.path · build123d · svgpathtools