Skip to content

Conversation

@nseinlet
Copy link

@nseinlet nseinlet commented Jan 1, 2021

3 small improvements I use daily to handle stl which comes out of openscad designs.

OpenSCAD handle circles as polygon. setting a high enough number of 
polygon and a small enough diameter generate really small, but non null, 
lines.
@petterreinholdtsen
Copy link
Contributor

Why is the check for zero-length/short-lengh lines removed? It seem a bit risky.

@nseinlet
Copy link
Author

the check is removed because models produced in openscad with high $fn, like $fn = 200;cylinder(r=2,h=10,center=true); are unusable in pycam.

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Nov 11, 2021 via email

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Nov 11, 2021 via email

@petterreinholdtsen
Copy link
Contributor

@nseinlet Btw, do you have an example STL file demonstrating the problem, and perhaps the openscad file used to generate it?

@nseinlet
Copy link
Author

I'll reproduce the issue and upload file and Traceback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants