Thingiverse
OpenSCAD Module_Help
di txoof
20
Download
16
Likes
0
Makes
I got tired of cracking open libraries that I wrote and trying to decipher the comments and documentation that I left for myself. Instead, I thought it would be nice if I could just `use ` and then call `help_libraryName()` to get a list of the available functions and module calls.
This is an attempt to add a standardized way of documenting modules.
The current version will be hosted on Git Hub: https://github.com/txoof/module_help
Add the module help_YourLibraryNameHere() {} to your OpenSCAD library to provide some
callable help.
Usage from an imported library:
//provide a list of all help topics in the "colors" library:
use
help_colors();
//output:
ECHO: "Available Help Topics in this Library:"
ECHO: "colorArray"
ECHO: "chord"
ECHO: "RGB"
ECHO: "RGBScale"
ECHO: "red"
ECHO: "redScaled"
//get help on a particular topic from the "colors" library:
help_colors("colorAray");
//output:
ECHO: "He
This is an attempt to add a standardized way of documenting modules.
The current version will be hosted on Git Hub: https://github.com/txoof/module_help
Add the module help_YourLibraryNameHere() {} to your OpenSCAD library to provide some
callable help.
Usage from an imported library:
//provide a list of all help topics in the "colors" library:
use
help_colors();
//output:
ECHO: "Available Help Topics in this Library:"
ECHO: "colorArray"
ECHO: "chord"
ECHO: "RGB"
ECHO: "RGBScale"
ECHO: "red"
ECHO: "redScaled"
//get help on a particular topic from the "colors" library:
help_colors("colorAray");
//output:
ECHO: "He
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!