Regarding generating geometry from 'stl' file #12
Unanswered
dineshkumarreddyg36
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wish to generate a geometry other than the ones that are given by default in the xcompact3d-toolbox. So, I used solidworks and generated the geometry and tried to import that stl file. I used the following commands
for key in epsi.keys():
epsi[key] = epsi[key].geo.from_stl(
"mm_part.stl",
scale=1.0,
rotate=dict(axis=[0, 0.5, 0], theta=math.radians(0)),
origin=dict(x=10, y=0, z=0)).geo.mirror("x")
epsi["epsi"].sel(z=0, method="nearest").plot(x="x");
where mm_part.stl is my geometry file. But I ended up getting these errors
exception (False, 'No lines found, impossible to read')
exception (False, 'No lines found, impossible to read')
exception (False, 'No lines found, impossible to read')
exception (False, 'No lines found, impossible to read')
can someone tell me what mistake I've done?
Thanks in advance !!!!
Beta Was this translation helpful? Give feedback.
All reactions