Loading

Coffeescad

by ckaos, published

Coffeescad by ckaos Dec 3, 2012

Description

Parametric modeling tool similar to OpenScad, but running in your browser, using a Coffeescript base & syntax :
this means support for classes, real variables, advanced iteration etc )
and a better code editor! (line numbers, syntax highlighting, search & replace ...)

Update : august 2013
The project has grown a fair bit, website is now at coffeescad.net
and you can give the latest version a try here :
coffeescad.net/online_edge/

Recent Comments

view all

I was curious, are you still in active development on this guy? I am taking some time off work, and was looking to start some small-medium scale projects, and would love to them in coffeescad (but would hate if this had hit a dead end.)

Best Scad editor out there. I wondering if there is any libraries repository. I am looking for a box/enclosure library, in particular.

thanks a lot :)

More from Tools

view more

Liked By

view all

License

Coffeescad by ckaos is licensed under the Creative Commons - Attribution license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Instructions

Hello everyone!
This is the first public release of Coffeescad, a parametric, web based modeling tool: it was born out of:
- love of openscad
- frustration of its limitations as far as code editing and programming language goes (no classes, no real variables etc)
- the great openjscad library
- lots of passionate discussions with other reprapers/tinkerers/coders


The github repository can be found here :
github.com/kaosat-dev/CoffeeSCad


You can give the current version a go here :
kaosat-dev.github.com/CoffeeSCad/

Feedback, bug reports and feature requests are more than welcome!
Hope you will enjoy it!

Ps: The attached zip is just a github snapshot, please use the github repository to get the latest versions instead.
Small Ps : licence is actually MIT

Comments

You must be logged in to post a comment.

CrazyJaw on Feb 25, 2014 said:

I was curious, are you still in active development on this guy? I am taking some time off work, and was looking to start some small-medium scale projects, and would love to them in coffeescad (but would hate if this had hit a dead end.)

fsamir on Aug 27, 2013 said:

Best Scad editor out there. I wondering if there is any libraries repository. I am looking for a box/enclosure library, in particular.

CrazyJaw on Aug 4, 2013 said:

Something like this has been my dream for a long time. Openscad (IMHO) is terrible, but its just the best of it type available. I hope this project is still alive; I would love for this to become the defacto standard for programmatic object creation

ckaos on Aug 4, 2013 said:

Thank a lot CrazyJaw :)

Yes I am still working on it , the project now has a webpage here : http://coffeescad.net/

and if you want to use the latest version you can go to http://coffeescad.net/online_e...

it is still in early alpha, so lots of improvements and new features coming up !

sudhir on Jan 29, 2013 said:

I totally love the way to create polygons! And the ease with which one gets rounded corners. I've just started playing with it, and it already feels so powerful. Really awesome work!

ckaos on Aug 4, 2013 said:

thanks a lot :)

yzorg on Dec 22, 2012 said:

Genious!
i cant do anything with the files from github but the Demo is awesome!

aubenc on Dec 7, 2012 said:

Absolutely Awesome!!

I miss a couple of things I can't live without and I don't seem to find the way to do them: polyhedrons and rotate_extrude :)

And...

How hard would it be to add tools to create primitives in one click?
(I mean, click on the "cube" button, fill properties, click on add... voila!)

ckaos on Dec 18, 2012 said:

Thanks a lot Aubenc , and sorry for the late reply !
Polyhedrons are not in (yet), but rotate extrude , is :)
You can see it in action in the "shapes" example under file->examples
it works very similarly to openscad:
shape = thingy.extrude  offset: [0, 0, 100]  twist:45  slices:10

You are also completely right about "one click primitive creation", I added that to the list of "issues" on github , which means it will soon be implemented !

emmett on Dec 4, 2012 said:

This is a cool idea and the web interface looks very nice. However, the one big advantage of OpenSCAD's syntax is that it's very compact and linear, which I think helps make complex geometry readable. It would be useful to see some side-by-side comparison of OpenSCAD and Coffeescad scripts that make the same object.

ckaos on Dec 4, 2012 said:

Hello Emmet, thanks for the kind words.
You are right, a concise syntax is more pleasant to use, that is one of the reasons why I chose Coffeescript over Javascript as the language. 

Coffeescript uses indentation instead of curly braces, so it is also a matter of taste as well, but the examples in the screenshots could also be written like this (for example)

circle = new Circle ( d:100, $fn:10)
instead of 
circle = new Circle  d:100  $fn:10

i'll whip up some more concrete side-by sides if you want, but  please also keep two things in mind:
- coffeescript and thus coffeescad has a lot more "language" features compared to Openscad (real variables, advanced iterators etc)
- the syntax for geometry creation of Coffeescad is not yet final

Cheers!

Erik on Dec 3, 2012 said:

This is BIG BIG NEWS!!! I love it! Maybe preaching to the choir... but watch this if you dig coding physical things:
https://codebits.eu/intra/s/se...

ckaos on Dec 4, 2012 said:

Thanks a lot Erik ! Nice to hear, especially from you ! (big fan of the Ultimaker!)
Very nice presentation/ overview of both the history and "process" of "3d printing" ! Good to see you spreading the word!

Top