Blockscad

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Blockscad

Neon22
I did not know about this.
MIT and Scratch hooked up to OpenSCAD.

https://blockscad.einsteinsworkshop.com/

A graphical UI to programming openSCAD.. you know for kids :)
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

tp3
On 09/13/2015 05:47 AM, Neon22 wrote:
> I did not know about this.
> MIT and Scratch hooked up to OpenSCAD.
>
> https://blockscad.einsteinsworkshop.com/
>
> A graphical UI to programming openSCAD.. you know for kids :)
>
Yes it's really a nice thing to get started. There was some initial
post some time ago (http://forum.openscad.org/OpenSCAD-td9598.html)
but unfortunately no more contact I'm aware of.

I think they are still using OpenJSCAD so maybe the plan to switch
to OpenSCAD was dropped or is not finished.

Good thing is that it says it GPL3, and there's a repo on github
(https://github.com/EinsteinsWorkshop/BlocksCAD).

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

bobc
In reply to this post by Neon22
That's very cool :)

They also implemented color in the rendered output. Meshlab would not load the X3D file, said it was "not valid", looks ok as text. AMF looks ok.

Now, if we could port their code into OpenSCAD, that would be great. Quite a fair chunk of Javascript there.
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

ufomorace
Oh fun! In the readme file it sais the darpa funded it, and they are searching for more funds to develop it further. i tried some cubes joined together and it only render one corrupt cube in the preview an in the render stl file, the x3d crashes meshlab and netfabb. The csg code is csg.js it runs from index.html if you dl it to the pc. It is fraught with errors. They should change all the CSG engine to OpenJSCAD. i have more chance of getting openjscad to run color files. i have a x3d parser already in JS will see if i can find some colors options in the file formats.
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

minuti
This post has NOT been accepted by the mailing list yet.
Yup, it's DARPA-funded, but that's why we're not looking for funding anymore.

Would you mind sending the exported XML blocks that fail the way you describe? Or opening a bug report on github? We haven't seen any issues with "some cubes joined together" except for using hull with colinear points, which we're working to fix, and examples of breaking are super-helpful.

It's already using OpenJSCAD as it's engine, which in turn uses csg.js. I initially wanted to use emscripten on OpenSCAD so we'd have exact feature compatibility, but that's turned out to be a heck of a project, and it's on the backburner for now. IIRC, I did get all the dependencies to build successfully, except one, and all that progress is in the "emscriptenation" branch of our github fork.

If you want to download it to your PC, you should check the development branch out of github https://github.com/EinsteinsWorkshop/BlocksCAD/tree/development. That one has STL import, text, and a whole lot of bugfixes.

I could've sworn we fixed the X3D issue, but apparently that branch never made its way back into master. I'll go fix that right now...
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

minuti
This post has NOT been accepted by the mailing list yet.
Fixed X3D, just updated the live version on the site, go ahead and try it now :)
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

Neon22
In reply to this post by ufomorace
I see they also added indexed_hull as a specialop

On 9/14/2015 6:03 AM, ufomorace wrote:

> Oh fun! In the readme file it sais the darpa funded it, and they are
> searching for more funds to develop it further. i tried some cubes joined
> together and it only render one corrupt cube in the preview an in the render
> stl file, the x3d crashes meshlab and netfabb. The csg code is csg.js it
> runs from index.html if you dl it to the pc. It is fraught with errors. They
> should change all the CSG engine to OpenJSCAD. i have more chance of getting
> openjscad to run color files. i have a x3d parser already in JS will see if
> i can find some colors options in the file formats.
>
>
>
> --
> View this message in context: http://forum.openscad.org/Blockscad-tp13790p13796.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.6125 / Virus Database: 4419/10633 - Release Date: 09/13/15
>
>


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

jdawgaz
i couldn't find a way to copy the code, so I could place it into openscad.

Saving to xml, was simply not an option, just plain unreadable.

But otherwise, a good way to teach kids, and the very old.


--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. 
- Anonymous

If writing good code requires very little comments, then writing really excellent code requires no comments at all!
- Ken Thompson


On Sun, Sep 13, 2015 at 4:07 PM, Mark Schafer <[hidden email]> wrote:
I see they also added indexed_hull as a specialop

On 9/14/2015 6:03 AM, ufomorace wrote:
Oh fun! In the readme file it sais the darpa funded it, and they are
searching for more funds to develop it further. i tried some cubes joined
together and it only render one corrupt cube in the preview an in the render
stl file, the x3d crashes meshlab and netfabb. The csg code is csg.js it
runs from index.html if you dl it to the pc. It is fraught with errors. They
should change all the CSG engine to OpenJSCAD. i have more chance of getting
openjscad to run color files. i have a x3d parser already in JS will see if
i can find some colors options in the file formats.



--
View this message in context: http://forum.openscad.org/Blockscad-tp13790p13796.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6125 / Virus Database: 4419/10633 - Release Date: 09/13/15




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

ufomorace
Hi Minuti,

I've had some fun playing on Blockscad, it is a very cool idea, my first steps into programming were using a sound generator visual programming suite. It's not far off from building 3d using a node editor, I have a strange visionof a 3d fancyware generator built with lego's of code and with a synthesizer panel to change parameters.

Does the program run loops already? The program makes only one cube from a loop and it seems that openjscad doesn't run loops either.

Perhaps children would benefit from a small picture in the options menu next to every 3d command, so sphere, cylinder, to reinforce their understanding of those, and icons for translate and rotate.

Some examples presets would be cool too, there are some crystals.scad files around online for girls and some cars and rockets for the boys :) just because 3 lines of rotations makes so cool crystals icosahedron and everything.

 

here is actually a node editor experiment in dx11 environment, http://forum.unity3d.com/threads/csg-library-for-c.281028/  can someone tell me what other visual geometry programming codes exist?
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

nophead
In reply to this post by jdawgaz
Am I missing something or does the binary maths operator have the connector in the wrong place? It only seems to connect to an if, rather than something that expects a value.

In fact I don't think there should be any distinction between if conditions and values.

On 14 September 2015 at 00:51, Jerry Davis <[hidden email]> wrote:
i couldn't find a way to copy the code, so I could place it into openscad.

Saving to xml, was simply not an option, just plain unreadable.

But otherwise, a good way to teach kids, and the very old.


--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. 
- Anonymous

If writing good code requires very little comments, then writing really excellent code requires no comments at all!
- Ken Thompson


On Sun, Sep 13, 2015 at 4:07 PM, Mark Schafer <[hidden email]> wrote:
I see they also added indexed_hull as a specialop

On 9/14/2015 6:03 AM, ufomorace wrote:
Oh fun! In the readme file it sais the darpa funded it, and they are
searching for more funds to develop it further. i tried some cubes joined
together and it only render one corrupt cube in the preview an in the render
stl file, the x3d crashes meshlab and netfabb. The csg code is csg.js it
runs from index.html if you dl it to the pc. It is fraught with errors. They
should change all the CSG engine to OpenJSCAD. i have more chance of getting
openjscad to run color files. i have a x3d parser already in JS will see if
i can find some colors options in the file formats.



--
View this message in context: http://forum.openscad.org/Blockscad-tp13790p13796.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6125 / Virus Database: 4419/10633 - Release Date: 09/13/15




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

JeremiahQ
This post has NOT been accepted by the mailing list yet.
This post was updated on .
In reply to this post by Neon22
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

Peter Falke
In reply to this post by nophead
They are missing projection().

2015-09-14 9:53 GMT+02:00 nop head <[hidden email]>:
Am I missing something or does the binary maths operator have the connector in the wrong place? It only seems to connect to an if, rather than something that expects a value.

In fact I don't think there should be any distinction between if conditions and values.

On 14 September 2015 at 00:51, Jerry Davis <[hidden email]> wrote:
i couldn't find a way to copy the code, so I could place it into openscad.

Saving to xml, was simply not an option, just plain unreadable.

But otherwise, a good way to teach kids, and the very old.


--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. 
- Anonymous

If writing good code requires very little comments, then writing really excellent code requires no comments at all!
- Ken Thompson


On Sun, Sep 13, 2015 at 4:07 PM, Mark Schafer <[hidden email]> wrote:
I see they also added indexed_hull as a specialop

On 9/14/2015 6:03 AM, ufomorace wrote:
Oh fun! In the readme file it sais the darpa funded it, and they are
searching for more funds to develop it further. i tried some cubes joined
together and it only render one corrupt cube in the preview an in the render
stl file, the x3d crashes meshlab and netfabb. The csg code is csg.js it
runs from index.html if you dl it to the pc. It is fraught with errors. They
should change all the CSG engine to OpenJSCAD. i have more chance of getting
openjscad to run color files. i have a x3d parser already in JS will see if
i can find some colors options in the file formats.



--
View this message in context: http://forum.openscad.org/Blockscad-tp13790p13796.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6125 / Virus Database: 4419/10633 - Release Date: 09/13/15




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
[hidden email]

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

minuti
In reply to this post by nophead
Good eye, nophead, True and False are perfectly acceptable numbers! That should be an easy fix. I think we were trying to avoid "True plus one is what?" situations, but there's nothing inherently wrong with those.

ufomorace, both BlocksCAD and OpenJSCAD do loops, the same way as OpenSCAD. No variable reassignment ('cause that's just silly). Examples are forthcoming - we've got a lot of cool things we've made. And you might like Antimony http://www.mattkeeter.com/projects/antimony/3/. It's node-based, implicit cad. I can't stand node-anything, personally, but I know a lot of people think that way. Give me a Makefile and a folder of .scad files any day :)

jdawgaz, I think you might have missed the "Code" tab in the upper-right. Going from OpenSCAD to BlocksCAD is planned, but we're still missing some OpenSCAD features like minkowski, projection, children, and arrays. Once we've got those, we'll get to work on import.
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

kitwallace
Very pleased to see this work - I've been wondering how to get my code club kids doing penscad and this fits neatly after doing some Scratch - very exciting  
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

runsun
In reply to this post by jdawgaz
jdawgaz wrote
i couldn't find a way to copy the code, so I could place it into openscad.
There seems to be no problem to go to the code panel, highlight all, hit ctrl-c and paste it to openscad using Firefox.
$ Runsun Pan, PhD
$ libs: scadx, doctest, faces(git), offline doc(git), runscad.py(2,git), editor of choice: CudaText ( OpenSCAD lexer); $ Tips; $ Snippets
Reply | Threaded
Open this post in threaded view
|

Re: Blockscad

jdawgaz
yep. it works now.

I had tried doing it that way before in my chrome browser on osx, and for some reason it just wasn't working. but it did today.

jerry