Skip to content

jeff-dh/py_scadparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_scadparser

A basic openscad parser written in python using ply.

This parser is intended to be used within solidpython to import openscad code. For this purpose we only need to extract the global definitions of a openscad file. That's exactly what this package does. It parses a openscad file and extracts top level definitions. This includes global variables, function and module definitions.

Even though this parser actually parses (almost?) the entire openscad language (at least the portions used in my test libraries) 90% is dismissed and only the needed definitions are processed and extracted.

For information on what this parser is capable of and how to use it, take a look at the bottom of scad_parser.py.

About

A basic openscad parser written in python using ply

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published