Voxel Workbench

Show off your FreeCAD projects here!
User avatar
JMG
Posts: 263
Joined: Wed Dec 25, 2013 9:32 am
Location: Spain
Contact:

Voxel Workbench

Postby JMG » Wed Jan 18, 2017 4:08 pm

Hi,
I have created a workbench to draw in 3D using cubes (those annoying voxels :lol: ):

Code: https://github.com/JMG1/VoxelWorkbench
Video: https://www.youtube.com/watch?v=nE0LYK__R5U
Why?: Its easy, visual and fast + Why not?

There are some ways to improve-extend it, like placing other types of cubes or
establishing some buffering to allow a bigger amount of cubes.

What do you think?


Javier.
FreeCAD scripts, animations, experiments and more: http://linuxforanengineer.blogspot.com.es/
Open source CNC hot wire cutter project (NiCr): https://github.com/JMG1/NiCr
Exploded Assembly Workbench: https://github.com/JMG1/ExplodedAssembly
triplus
Posts: 5013
Joined: Mon Dec 12, 2011 4:45 pm

Re: Voxel Workbench

Postby triplus » Wed Jan 18, 2017 4:52 pm

I just looked at the video for now and looking good.

P.S. Will test the workbench tomorrow or over the weekend.
emills2
Posts: 202
Joined: Tue Apr 28, 2015 11:23 pm

Re: Voxel Workbench

Postby emills2 » Thu Jan 19, 2017 1:15 am

that looks really fun. can you color each cube differently within the same group? can you place the next starter cube on a face of an existing voxel object?
User avatar
Kunda1
Posts: 689
Joined: Thu Jan 05, 2017 9:03 pm

Re: Voxel Workbench

Postby Kunda1 » Thu Jan 19, 2017 1:24 am

So cool!
cox
Posts: 916
Joined: Wed Nov 26, 2014 11:37 pm

Re: Voxel Workbench

Postby cox » Thu Jan 19, 2017 1:31 am

If i pulled a hear from my body every time there was some new cool feature in FreeCAD, my body would be smoooth by now :D

Keep it up, it would not suprice me if we could do the same with lego soon.
Need help? Feel free to ask, but please read the guidelines first
User avatar
JMG
Posts: 263
Joined: Wed Dec 25, 2013 9:32 am
Location: Spain
Contact:

Re: Voxel Workbench

Postby JMG » Thu Jan 19, 2017 8:44 am

Thank you :)

emillis2: the color option is more difficult to implement but perfectly possible. The idea is to have just one starter cube per document.
FreeCAD scripts, animations, experiments and more: http://linuxforanengineer.blogspot.com.es/
Open source CNC hot wire cutter project (NiCr): https://github.com/JMG1/NiCr
Exploded Assembly Workbench: https://github.com/JMG1/ExplodedAssembly
User avatar
PrzemoF
Posts: 1715
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Voxel Workbench

Postby PrzemoF » Thu Jan 19, 2017 10:33 am

Nice! I never played minecraft, but if there is an option to import something you might get quite a few users of your wb :-)
StenArildHvidsten
Posts: 2
Joined: Tue Jan 17, 2017 10:37 am

Re: Voxel Workbench

Postby StenArildHvidsten » Thu Jan 19, 2017 1:26 pm

We are playing Minetest, http://www.minetest.net, at home. And the kids have tried to design houses with Blender for 3d printing. But your wb is just great, guess that it is going under heavy testing in this weekend!

Nice done!
Sten Arild Hvidsten
triplus
Posts: 5013
Joined: Mon Dec 12, 2011 4:45 pm

Re: Voxel Workbench

Postby triplus » Fri Jan 20, 2017 8:56 pm

Voxel.png
Voxel.png (13.84 KiB) Viewed 2208 times


Had some time and did some Voxels. I like the interaction. It's fast and fun to use.
User avatar
bernd
Posts: 3924
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Voxel Workbench

Postby bernd » Sat Jan 21, 2017 1:01 am

Might be a lot of fun if this would be combined with Rolands Anker stones viewtopic.php?f=24&t=10802