$npx skillfedfor your agent

ocp-tessellate

Tessellate OCP (https://github.com/cadquery/OCP) objects to use with threejs

Worth itPyPI GraphicsReleased Jul 2026107.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ocp_tessellate-3.4.1-py3-none-any.whl
v3.4.1 · released 2026-07-15 · Python >=3.10 · 4 runtime deps: webcolors, numpy, cachetools, imagesize

Yes. Active, low-friction package with no known vulnerabilities, permissive licensing, and a clear role in the OCP ecosystem. Install if you need to visualize CAD geometry in web-based viewers or embed tessellation in CAD tools; skip if you work exclusively with desktop CAD or have no web visualization requirement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10+ and OCP 7.8 or 7.9 installed separately.
  • Low friction: pure Python wheel with four lightweight runtime dependencies (webcolors, numpy, cachetools, imagesize).
  • Active maintenance with a release in the last 30 days.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions—suitable for most projects.

last release 2026-07-15 (30 days) · last repo commit 2026-07-15 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 107,648 downloads/mo, #12,604 on PyPI

Verify before relying

from ocp_tessellate.convert import export_three_cad_viewer_js

# Accepts OCP shapes, CadQuery, or build123d objects
export_three_cad_viewer_js("shape", your_shape, filename="output.js")
  • Performance characteristics with large or complex assemblies (tessellation time, memory usage).
  • Exact tessellation quality tuning options and their effect on mesh fidelity vs. file size.
  • Compatibility with OCP versions beyond 7.8 and 7.9.
Same gist for agents: .md · .json

What it is and what it does

ocp-tessellate bridges CAD modeling libraries and web-based 3D viewers by converting solid geometry into triangulated meshes packaged as JSON. It walks hierarchical CAD structures—assemblies, compounds, sketches—preserves their tree organization, computes surface triangulations and discretized edges, and emits a format directly consumable by three-cad-viewer and related tooling.

The package offers three entry points: a high-level export function that writes a ready-to-load JavaScript file, a mid-level converter that produces an OcpGroup hierarchy and instance list, and a tessellation function for fine-grained control over mesh parameters like deviation and angular tolerance. It accepts per-object styling (colors, alphas, material modes) and renderer hints.

Use it for

  • Export CAD designs to interactive 3D web viewers without manual mesh conversion.
  • Embed tessellation in CAD tools to preview geometry changes in real time.
  • Generate JSON scene trees for downstream processing or custom applications.
  • Preserve assembly structure and metadata through the tessellation pipeline.
  • Batch convert OCP shapes to web-ready formats for documentation or design review.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Active, low-friction package with no known vulnerabilities, permissive licensing, and a clear role in the OCP ecosystem. Install if you need to visualize CAD geometry in web-based viewers or embed tessellation in CAD tools; skip if you work exclusively with desktop CAD or have no web visualization requirement.

Install

ocp-tessellate on PyPI

Before you install

Low friction: pure Python wheel with four lightweight runtime dependencies (webcolors, numpy, cachetools, imagesize). Active maintenance with a release in the last 30 days. Requires Python 3.10+ and OCP 7.8 or 7.9 as external dependencies.

Requires Python 3.10+ and OCP 7.8 or 7.9 installed separately.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

from ocp_tessellate.convert import export_three_cad_viewer_js

# Accepts OCP shapes, CadQuery, or build123d objects
export_three_cad_viewer_js("shape", your_shape, filename="output.js")

Verify before relying

  • Performance characteristics with large or complex assemblies (tessellation time, memory usage).
  • Exact tessellation quality tuning options and their effect on mesh fidelity vs. file size.
  • Compatibility with OCP versions beyond 7.8 and 7.9.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
webcolorsnumpycachetoolsimagesize
MaintenanceActively maintained 30 days since the last release
Last repo commit
First released
Downloads107,648 / month, #12,604 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: ocp_tessellate-3.4.1-py3-none-any.whl

Tags

Capabilities
ocp shape to json meshcad geometry tessellationthree-cad-viewer exportopencascade mesh conversioncadquery visualization export
Topics
cad-visualizationmesh-conversion3d-geometry
PyPI keywords
3d models3d printing3d viewing3dbrepcadcadqueryopencscadepython

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 › “ocp shape to json mesh”

  • ocp-tessellateConverts OCP (OpenCascade Python bindings) CAD shapes into…
  • smplxLoads and manipulates SMPL-X, a unified 3D body model with 10,475…
  • cadquery-ocp-proxyA proxy package that routes optional dependencies to either…

Give your agent the search over MCP, or paste the wish link into any chat.

More Graphics packages

pillow Worth it
PyPI · Graphics · released Jul 2026

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.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

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.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
matplotlib-inline Worth it
PyPI · Graphics · released May 2026

Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.

BSD-3-Clausepure Python · 3.9+
130.5Mdownloads / mo
pymupdf Worth it
PyPI · Libraries · released Aug 2026

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.

AGPLcompiled wheel · 3.10+
114.9Mdownloads / mo
pypdfium2 Worth it
PyPI · Libraries · released Aug 2026

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.

permissive licensecompiled wheel · 3.6+
76.9Mdownloads / mo
altair Worth it
PyPI · Graphics · released Jun 2026

Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.

BSD-3-Clausepure Python · 3.10+
54.5Mdownloads / mo

See also cascadio · ocp-gordon · ocpsvg · cadquery-ocp · cadquery-ocp-novtk · build123d · cadquery · manifold3d · cadquery-ocp-proxy · smithy-json