Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported STEP file unreadable #317

Closed
AndyPhil opened this issue Mar 31, 2018 · 9 comments
Closed

Exported STEP file unreadable #317

AndyPhil opened this issue Mar 31, 2018 · 9 comments
Labels
bug NURBS STEP Issues relating to STEP file read/write

Comments

@AndyPhil
Copy link

System information

SolveSpace version: 2.3
Operating system: MacOS High Sierra

Expected behavior

Exported STEP file should be readable

Actual behavior

STEP file was not readable by many sites

Additional information

After completing the excellent "bracket tutorial", I tried loading the resulting "Export surfaces..." step file to the Weerg site which produce automated on-line quotes (very cool). The part did not load and caused an error.

Based on the statement that Solvespace STEP files have been successful in the past, I tried to submit incrementally more complex files to find out if something in particular causes the problem. I redid the tutorial quickly and loaded an incomplete part and it loaded fine! I went back to the part from the original tutorial and deactivated the later steps (so the product is just an angle with an inside radius: no gusset and no holes) and to my surprise this part still caused an error. The two parts (try1.stp and try2.stp attached in zip) are similar (not identical) but only try1.stp causes an error.

In trying to understand the difference I looked at the step code, but .... it is too hard to understand. Last thing I did was to export the *.slt versions of these files in the hope that my slicer program would give me a hint of what is going on. Indeed the stl model was also faulty for the first try and fine for the second. The slicer program detected 12 non-manifold edges (see messages in lower right corner of two images below). This may help understand what is going on.
capture d ecran 2018-03-31 a 10 33 41
capture d ecran 2018-03-31 a 10 33 25

Archive.zip

@whitequark
Copy link
Contributor

OK, this is related to the issues with our NURBS backend. I'm afraid this may prove tricky to address as this likely not an issue with the STEP exporter itself.

@AndyPhil
Copy link
Author

AndyPhil commented Mar 31, 2018 via email

@phkahler phkahler added the STEP Issues relating to STEP file read/write label Mar 30, 2020
@phkahler
Copy link
Member

@AndyPhil is there any way you can try this again with the latest code in master? I am unable to reproduce the problem. SolveSpace doesn't show any bad edges, and I was able to load an exported .stl in Slic3r with no problems. The website that couldn't read the stp is foreign language to me, so can't test that.

@AndyPhil
Copy link
Author

AndyPhil commented Aug 20, 2020 via email

@phkahler
Copy link
Member

@AndyPhil the files are attached above.

@ruevs
Copy link
Member

ruevs commented Oct 21, 2020

I tried with this:
https://viewer.kisters.de/en/products/3dviewstation-desktop-version.html
And the exported STEP files from both try1 and try2 open and display just fine.

@shful
Copy link

shful commented Apr 15, 2024

I've got another file causing such an issue in SolveSpace 3.1: An exported .STL file could not be read by two 3D-Printer sites.

After that, I tested the generated .STL files with the import function of FreeCAD.
Finally, I got a pair of files where one worked, while the other generated an invalid STL export.

Both differ only minimally in some 2D objects only. The defective file has an additional Sketch In Workplace and a Point and a Circle in it. (I expected the exported STL to be identical in both files because only 2D elements were added.)

Please tell me when the defective files would be useful, or when I should open a new case.

@ruevs
Copy link
Member

ruevs commented Apr 16, 2024

@shful it is always interesting to see files that cause problems. Issue #738 has a long list of known ones. If you have time to look through them and find one that is similar - comment under it. Otherwise open a new one.

@shful
Copy link

shful commented Apr 16, 2024

Thanks! I'll investigate more, and then try to put the issue in the right place...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug NURBS STEP Issues relating to STEP file read/write
Projects
None yet
Development

No branches or pull requests

5 participants