The OpenSCAD package

[Tags:bsd3, library, test]

An algebraic data type for describing OpenSCAD models, functions to make building such models easier, and functions for rendering an ADT into an OpenSCAD program.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.3.0.0, 0.3.0.1, 0.3.0.2
Dependencies base (>4.5 && <5.0), colour (==2.3.*), containers (>=0.5), filepath (>=1.3 && <1.5), semigroups (>=0.15 && <1.0) [details]
License BSD3
Author Mike Meyer
Maintainer mwm@mired.org
Stability Unknown
Category Graphics
Home page https://chiselapp.com/user/mwm/repository/OpenSCAD/
Source repository head: SourceRepo {repoKind = RepoHead, repoType = Just (OtherRepoType "fossil"), repoLocation = Just "https://chiselapp.com/user/mwm/repository/OpenSCAD/", repoModule = Nothing, repoBranch = Nothing, repoTag = Nothing, repoSubdir = Nothing}
this: SourceRepo {repoKind = RepoThis, repoType = Just (OtherRepoType "fossil"), repoLocation = Just "https://chiselapp.com/user/mwm/repository/OpenSCAD/", repoModule = Nothing, repoBranch = Nothing, repoTag = Just "0.3.0.2", repoSubdir = Nothing}
Uploaded Tue Jul 7 16:28:55 UTC 2015 by MikeMeyer
Distributions NixOS:0.3.0.2
Downloads 1186 total (15 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-07-07 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for OpenSCAD

Readme for OpenSCAD-0.3.0.2

What's Graphics.OpenSCAD

This is a library whose primary component is an algebraic data type for describing OpenSCAD models, and a function that converts that data type into a string. There are convenience functions to make building the model easier.

What's different

Given the primitive and quirky nature of the OpenSCAD language, the idea of "using OpenSCAD" as an assembler is both obvious, and promoted in lieu of adding major extensions to OpenSCAD. So there are a number of such projects, for a variety of languages.

Any compiler that generated "assembler" that caused the assembler program to generate errors would be considered buggy. However, none of the alternative projects I looked at seemed to do anything about that (my apologies if I missed one - I only looked at languages I was interested in using). Graphics.OpenSCAD takes the attitude that errors from OpenSCAD on the generated code are errors in Graphics.OpenSCAD. If you manage to generate code that causes OpenSCAD to issue an error message, please open an issue here.

More info

Read the online docs at hackage.