Closed iceleftd closed 7 months ago
Can you please check which version of cq-gridfinity you are using? My latest version seems to work with your broken test case.
$ python
>>> import cqgridfinity
>>> cqgridfinity.__version__
Update the issue with versioning info.
Ok thanks. It looks like you are using v.0.4.0. Can you try pip installing v.0.4.2 and see if that works?
Updated the version and it still fails. Updated the issue description accordingly.
Thanks. Since it is a problem down in the OCP kernel (called from CadQuery), can you please check the versions of those packages too?
$ python
>>> import cadquery
>>> cadquery.__version__
>>> import OCP
>>> OCP.__version__
FYI, on my working platform CadQuery is v.2.2.0 and OCP is v.7.7.1.0.
Another thing to try is changing the box size to 3x1x3, i.e. gridfinitybox 3 1 3 -ld 2 -l -s -f STL
Does this variant fail too?
Yes, height 1, 2, or 3 doesn't change anything. I should mention that this is an all-new installation. I had all kinds of problems at first that went away when I moved backwards from Python 3.12 to Python 3.11 and reinstalled.
I'm not surprised about the python version 3.12 to 3.11 issue. I think I remember folks in the CadQuery team discussing issues with supporting python 3.12. Sadly as both platforms and libraries are always changing, the probability of breaking changes among dependencies is not zero!
This might help explain your issue with python 3.12: https://github.com/CadQuery/cadquery/issues/1475
Yeah, I more or less figured that one out. :)
@iceleftd Did you identify which versions of CadQuery and OCP your installation are using?
Closing this issue out. Likely a platform difference and potentially resolved since v.0.5.5.
The following command fails:
gridfinitybox 3 1 2 -ld 2 -l -s -f STL
.After some experimentation it appears that changing removing
-l
OR removing-s
OR setting-ld
< 2 does not fail, so this appears to be a corner condition of some sort.Versions:
Error text: