Voxel Workbench

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
JMG
Posts: 287
Joined: Wed Dec 25, 2013 9:32 am
Location: Spain
Contact:

Re: Voxel Workbench

Post by JMG »

Might be a lot of fun if this would be combined with Rolands Anker stones viewtopic.php?f=24&t=10802
Yes, the idea is to have something like that ;)
By now I am trying to get a stable "voxel engine" that accepts a lot of cubes without freezing FreeCAD.
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
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: Voxel Workbench

Post by ickby »

JMG wrote: By now I am trying to get a stable "voxel engine" that accepts a lot of cubes without freezing FreeCAD.
What do you use as voxel, a Part Cube? I could imagine that this gets too heavy. Have you tried to use a pure coin node, a SoCube? That should be way faster for large structures. https://grey.colorado.edu/coin3d/classSoCube.html
JMG
Posts: 287
Joined: Wed Dec 25, 2013 9:32 am
Location: Spain
Contact:

Re: Voxel Workbench

Post by JMG »

That would be the perfect approach (and the first that I tried to implement), but do you know how to get the face selected by mouse actions?
Also, it is harder to interact between normal FreeCAD tools and coin3d objects.


But all could be done with time, I just wanted to have something fast to test some ideas ;)


Javier.

edit:
I just discovered this: http://www.freecadweb.org/wiki/index.ph ... low_cursor and I got some ideas to test :)
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
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Voxel Workbench

Post by sliptonic »

Could this be used as the basis of a cam simulation for Path? I'm thinking of a material stock object represented as voxels. Then a script walks along the Path and removes voxels that intersect within the radius of the cutter. The result, ideally, is the desired part but errors in the machining project could be visualized and corrected. The simulation could be run in real time or sped up.
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Voxel Workbench

Post by kkremitzki »

sliptonic wrote:Could this be used as the basis of a cam simulation for Path? I'm thinking of a material stock object represented as voxels. Then a script walks along the Path and removes voxels that intersect within the radius of the cutter. The result, ideally, is the desired part but errors in the machining project could be visualized and corrected. The simulation could be run in real time or sped up.
Just for reference I saw these two videos recently with something similar:
phpBB [video]


phpBB [video]
Last edited by kkremitzki on Mon Feb 20, 2017 3:08 am, edited 3 times in total.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
chrisb
Veteran
Posts: 53923
Joined: Tue Mar 17, 2015 9:14 am

Re: Voxel Workbench

Post by chrisb »

I have a problem with the videos, I can see only two black rectangles with tiny text 'phpbb video' in the right lower corner, nothing happens on click. Anyone else having this?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Voxel Workbench

Post by Kunda1 »

chrisb wrote:I have a problem with the videos, I can see only two black rectangles with tiny text 'phpbb video' in the right lower corner, nothing happens on click. Anyone else having this?
likewise
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Voxel Workbench

Post by kkremitzki »

chrisb wrote:I have a problem with the videos, I can see only two black rectangles with tiny text 'phpbb video' in the right lower corner, nothing happens on click. Anyone else having this?
This is an HTTPS issue with the forum. Open your browser''s dev console and you'll see the error:

Code: Select all

posting.php:535 Mixed Content: The page at 'https://forum.freecadweb.org/posting.php?mode=quote&f=24&p=154921' was loaded over HTTPS, but requested an insecure script 'http://phpbbex.com/api/bbmedia.js'. This request has been blocked; the content must be served over HTTPS.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Voxel Workbench

Post by yorik »

kkremitzki wrote:This is an HTTPS issue with the forum.
I dont think we can fix that ourselves easily? In any case I see there is a phpbb update available, I'll update ASAP
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Voxel Workbench

Post by kkremitzki »

yorik wrote:
kkremitzki wrote:This is an HTTPS issue with the forum.
I dont think we can fix that ourselves easily? In any case I see there is a phpbb update available, I'll update ASAP
Is the [video] tag implemented manually in the forum admin panel? That might be the issue. When I right click and inspect element, it looks like the HTTP request is hardcoded into each instance of the tag; note the "e src = 'http://phpbbex..."
forum.png
forum.png (67.49 KiB) Viewed 2277 times
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
Post Reply