{"id":23388,"library":"cadquery-ocp-proxy","title":"CadQuery OCP Proxy","description":"Proxy package that tracks the cadquery_ocp / cadquery_ocp_novtk version to avoid version mismatches. Version 7.9.3.1, released monthly alongside CadQuery OCP. Use this package to pin the OCP version in your CadQuery projects.","status":"active","version":"7.9.3.1","language":"python","source_language":"en","source_url":"https://github.com/CadQuery/cadquery","tags":["cadquery","ocp","open-cascade","cad","3d-modeling"],"install":[{"cmd":"pip install cadquery-ocp-proxy","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required at runtime, version tracked by this proxy","package":"cadquery_ocp","optional":false}],"imports":[{"note":"This proxy enables correct OCP imports for visualization with ocp_vscode.","symbol":"ocp_vscode","correct":"from ocp_vscode import show, show_object"},{"note":"Directly importing from cadquery_ocp is fragile; use cadquery as the public API.","wrong":"from cadquery_ocp import *","symbol":"cadquery","correct":"import cadquery as cq"}],"quickstart":{"code":"import cadquery as cq\n\n# Create a simple box\nbox = cq.Workplane(\"XY\").box(1, 1, 1)\n\n# Export to STL\ncq.exporters.export(box, \"box.stl\")","lang":"python","description":"Basic usage: import cadquery as usual. This proxy ensures the correct OCP version is installed."},"warnings":[{"fix":"Use `import cadquery as cq` and work with the public CadQuery API.","message":"Do NOT import directly from cadquery_ocp or cadquery_ocp_novtk. Always import cadquery for your modeling code.","severity":"gotcha","affected_versions":"all"},{"fix":"Use a requirements.txt or pip freeze to pin both cadquery and cadquery-ocp-proxy to known compatible versions.","message":"This proxy does not pin an exact version of cadquery_ocp; it only tracks the version. Version mismatches can occur if multiple packages require different OCP versions.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3d':45 '3d-modeling':44 '7.9.3.1':20 'alongsid':23 'avoid':16 'cad':43 'cadqueri':1,9,11,24,36,38 'cascad':42 'mismatch':18 'model':46 'month':22 'novtk':13 'ocp':2,10,12,25,32,39 'open':41 'open-cascad':40 'packag':5,28 'pin':30 'project':37 'proxi':3,4 'releas':21 'track':7 'use':26 'version':14,17,19,33","created_at":"2026-05-01T08:07:30.827971+00:00","updated_at":"2026-05-01T08:07:30.827971+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'ocp_vscode'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"7.9.3.1.1","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/cadquery-ocp-proxy/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-09","install_tag":null}}