Slicer Discord
Error-Checking In Preview Window for Customizable OpenSCAD Objects – 3D printable model from Thingiverse Thingiverse

Error-Checking In Preview Window for Customizable OpenSCAD Objects

10 Downloads
8 Likes
0 Makes
Go to Model
This library implements an "assert" feature with a difference: rather than displaying
a console error, it actually renders 3D text of your choice describing the assertion
failure.
This is particularly useful for customizable (parameterized) SCAD files, where you want
a user to be able to customize the parameters on Thingiverse or in the OpenSCAD
application's Customizer pane. Your parameters may have limitations that can't be
expressed in customizer syntax, so you may be doing parameter-checking using assert
statements instead. But a user likely won't even see 'assert' output, and likely
wouldn't understand it if they did. So this library allows you to display error
messages directly in the preview window. That's almost impossible for a user to miss,
and you can write your own user-friendly messages.

Usage instructions:
* Put this file in the same directory as your .scad file (or in a library directory;
see the OpenSCAD documentation)
* Add this to your .scad f
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
PLA, TPU
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!

Similar Models

6 Suggestions
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection