setting up cadquery and python and getting some errors. #1664
-
Just starting with cadquery and python and getting some errors.
my code is
Versions am using in Pycharm (installed via packages) : Do i need cq editor to view the screen? i didn't install it. Any help is appreciated. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
i understand that i needed vtk lib and installed the same. now i get this error after installing vtk. 2024-09-11 04:38:39.729 ( 1.840s) [DF028C248740CB57]vtkDemandDrivenPipeline:677 ERR| vtkCompositeDataPipeline (000001A3AC1E64D0): Input port 0 of algorithm vtkTriangleFilter (000001A3A3320F10) has 0 connections but is not optional. I see a blank screen without 3d model on screen but i should see a box as per the code. Please help. |
Beta Was this translation helpful? Give feedback.
-
@purushothamanmunusamy Did you install recently via pip? There may be an issue with the VTK packages. You can try |
Beta Was this translation helpful? Give feedback.
-
It worked. You are awesome. Thank you so much. |
Beta Was this translation helpful? Give feedback.
@purushothamanmunusamy Did you install recently via pip? There may be an issue with the VTK packages.
You can try
pip uninstall cadquery_vtk
and thenpip install cadquery-ocp==7.7.2.0
to see if that fixes the problem?