![]() ![]() jison-build.shĬompiles the Jison lexer/parser to an AMD module in the src folder called openscad-parser.js. the parse method returns the text and the context object, allowing for processing of use statements.)īuild Web node tools/r.js -o build-web.jsĬreates a optimised script (with Almond AMD loader) in the dist folder. parser - a Jison parser object which can be used for more advanced parsing (e.g.parse - a function which accepts OpenSCAD text and returns OpenJsCAD text.Include lib/underscore.js and dist/web-built.js and the openscadOpenJscadParser object will be available. Var openJSCADResult = parser.parse(openSCADText) Ĭonsole.log(openscadOpenJscadParser.parse($('#txt').text())) Var openSCADText = fs.readFileSync("test.scad", "UTF8") Usage Node var parser = require('openscad-openjscad-translator') See: Install npm install openscad-openjscad-translator OpenSCAD.Node module that translates OpenSCAD syntax () into OpenJsCAD syntax ().Your logo will show up here with a link to your website. JSCAD and all sub components are built upon great open source packages, and contributions. HUGE THANKS and SHOUTOUT to nodeBB for hosting our (awesome) forum for free ! Thanks a lot ! Acknowledgements Small Note: If editing this README, please conform to the standard-readme specification.Ī BIG THANKS to all the people who have already contributed to the JSCAD project! If you have a change or new feature in mind, please start a conversation with the Core Developers and start contributing changes. You might find the answer in the JSCAD User Guide. If you have a question about how to use JSCAD, then please start a conversation at the JSCAD User Group. We only accept bug reports and pull requests on GitHub. New contributions are accepted as Pull Requests via GitHub. If you want to submit a change or a patch, please read the Contributing Guide. Bug reports are accepted as Issues via GitHub. If you want to submit a bug report please make sure to follow the Reporting Issues guide. We welcome and encourage anyone to pitch in but please take a moment to read the following guidelines. The various JSCAD packages and all source code are part of the JSCAD Organization, and maintained by a group of volunteers. This will be expanded upon in the future, and is the backbone of the newer, modular JSCAD project. cherry pick formats you want to use for input/output without needing the dependencies of all packages.use the specific packages as part of Node.js or Browserify projects.easily create your own renderer for the 3D and 2D geometries 2 Openscad Cookbook Openscad Recipes For Learning 3 most popular programming language, for everything from quick-and-easy hobbyist calculations to running some of the biggest online websites such as Google, YouTube, Dropbox, Reddit, and many others.One example of what can be achieved with this can be found here The full list of these is available here and here Please see here for details Use of the different modular components directlyįrom version 1.0.0 onwards, almost all the individual parts of this project are availableĭirectly as scoped NPM packages, and can be used independently from the main repository. Please see here for details Use of components and viewer in websites Please see here for details Use as Command Line Interface (CLI) Go to OpenJSCAD.xyz (Tested browsers include Chrome, Edge, Firefox, Opera, Safari) Use within a Web Site (pre built files, from GitHub) all the packages are available on NPM under the name.node.js: custom mix and match of packages.desktop app: pre pre alpha work in progress can be found here!.cli: command line interface : can be found here.There are different 'flavors' of JSCAD that you can use based on your needs This repository is a monorepo (container of multiple packages and tools) maintained with Lerna JSCAD is a set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code.Īn online version, self hosteable web based ui, as CLI (command-line interface) for server-side computations with Node.js, as well as an experimental desktop app or individual Node.js packages!! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |