CadQuery / cadquery

A python parametric CAD scripting framework based on OCCT
https://cadquery.readthedocs.io
Other
3.15k stars 289 forks source link

An error is reported when the code is run #1557

Open binfengjiao opened 5 months ago

binfengjiao commented 5 months ago

code:

import cadquery as cq
from lq.topologies.schwartz import schwartz_p_heterogeneous_lattice
cq.Workplane.schwartz_p_heterogeneous_lattice = schwartz_p_heterogeneous_lattice

# BEGIN USER INPUT
unit_cell_size = 4
Nx = 10
Ny = 10
Nz = 10
min_thickness = 0.1
max_thickness = 7
# END USER INPUT

schwartz = schwartz_p_heterogeneous_lattice(unit_cell_size, min_thickness, max_thickness,
                                      Nx, Ny, Nz
                                      )

Error:
ValueError: STEP File could not be loaded
jmwright commented 5 months ago

@binfengjiao There is a lot of code that we cannot see, so it makes it impossible to help. Can you post a minimal example that reproduces the issue?

jmwright commented 5 months ago

@binfengjiao I have deleted your last comment sent via email because it contained login information. We are an open source project of volunteers. We do not provide the sort of remote support that you asked for.