Search found 288 matches

by JMG
Sat Feb 18, 2017 9:06 pm
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

Really nice! :)
by JMG
Sat Feb 18, 2017 7:19 pm
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

Hi microelly, if I understood correctly, you need the center points of each cube and the relation between them. This script will do the first thing, center_points_list contains (x,y,z) center values for each cube in the screen: center_points_list = [] bcube = FreeCAD.ActiveDocument.BaseCube for geom...
by JMG
Sat Feb 18, 2017 4:18 pm
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

I have updated the workbench and now is possible to convert from voxels to a normal FreeCAD object:

Video: https://www.youtube.com/watch?v=DQ7plBOnOyg

Github: https://github.com/JMG1/VoxelWorkbench/ ... /README.md


Javier.
by JMG
Thu Jan 26, 2017 2:46 pm
Forum: Python scripting and macros
Topic: Pivy: getSelection method??
Replies: 3
Views: 1182

Re: Pivy: getSelection method??

Thanks!!

I'll try this weekend, specially the pure inventor code :)
by JMG
Tue Jan 24, 2017 4:41 pm
Forum: Python scripting and macros
Topic: Pivy: getSelection method??
Replies: 3
Views: 1182

Pivy: getSelection method??

Hi, I'm playing around with voxels (https://github.com/JMG1/VoxelWorkbench), and there are a lot of them, making it laggy. Currently, this workbench uses the Part.makeCube to create each voxel geometry, that is included inside a list that creates a shape with Part.makeCompound( list ) function. I've...
by JMG
Mon Jan 23, 2017 6:39 pm
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

I've been playing with coin3d and I have managed to set up a simple "voxelizer" algorithm: https://4.bp.blogspot.com/--awCGXAYnt4/WIZNVk6sxEI/AAAAAAAAC8I/BNbBKqPlJDsjW-ZqS0p5CqKxnHv3KNuIgCLcB/s640/Captura%2Bde%2Bpantalla%2Bde%2B2017-01-22%2B20-38-17.png Now I have to work in the selection ...
by JMG
Sat Jan 21, 2017 11:18 am
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

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 s...
by JMG
Sat Jan 21, 2017 9:24 am
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

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.
by JMG
Fri Jan 20, 2017 6:38 pm
Forum: Python scripting and macros
Topic: an other Alignment Tool for Placing Parts
Replies: 13
Views: 5178

Re: an other Alignment Tool for Placing Parts

Hi all!

Appart from the macro mentioned by r-frank, the exploded assembly workbench has some basic assembly tools:
https://github.com/JMG1/ExplodedAssembly

They cover the 80% of the aligment needs between parts (for me at least :) )


Javier.
by JMG
Thu Jan 19, 2017 8:44 am
Forum: Users Showcase
Topic: Voxel Workbench
Replies: 35
Views: 16525

Re: Voxel Workbench

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.