|
CSGMesh_var | square (const ArgList &args) |
|
CSGMesh_var | circle (const ArgList &args) |
|
CSGMesh_var | cube (const ArgList &args) |
|
CSGMesh_var | sphere (const ArgList &args) |
|
CSGMesh_var | cylinder (const ArgList &args) |
|
CSGMesh_var | polyhedron (const ArgList &args) |
|
CSGMesh_var | polygon (const ArgList &args) |
|
CSGMesh_var | import (const ArgList &args) |
|
CSGMesh_var | surface (const ArgList &args) |
|
CSGMesh_var | multmatrix (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | resize (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | union_instr (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | intersection (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | difference (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | group (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | color (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | hull (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | linear_extrude (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | rotate_extrude (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | projection (const ArgList &args, const CSGScope &scope) |
|
CSGMesh_var | parse_instruction_or_object () |
|
CSGMesh_var | parse_object () |
|
CSGMesh_var | parse_instruction () |
|
ArgList | parse_arg_list () |
|
Value | parse_value () |
|
Value | parse_array () |
|
bool | is_object (const std::string &id) const |
|
bool | is_instruction (const std::string &id) const |
|
bool | is_modifier (int toktype) const |
| Checks if a token corresponds to an instruction or object modifier. More...
|
|
void | next_token_check (char c) |
| Checks that the next token is a given character. More...
|
|
Token | next_token () |
| Gets the next token. More...
|
|
Token | lookahead_token () |
| Gets the next token without any side effect. More...
|
|
Token | next_token_internal () |
| Function to actually get the next token from the stream. More...
|
|
int | lines () const |
| Gets the total number of lines of the currently parsed source.
|
|
int | line () const |
| Gets the currently parsed line source.
|
|
void | syntax_error (const char *msg) |
| Throws an exception with an error message. More...
|
|
void | syntax_error (const char *msg, const Token &tok) |
| Throws an exception with an error message. More...
|
|
Creates meshes from OpenSCAD .csg files.
Understands a subset of OpenSCAD .csg format.
Definition at line 465 of file mesh_CSG.h.
bool GEO::CSGCompiler::is_modifier |
( |
int |
toktype | ) |
const |
|
protected |
Checks if a token corresponds to an instruction or object modifier.
A modifier is one of '','#','!','*', where '' and '*' discard the subtree, '#' does not change anything and '!' replaces the result with the subtree (re-root). Note: in OpenSCAD, '' and '#' display the subtree as a transparent object.