Search found 9 matches

Go to advanced search

by jfc941640
Sat Nov 30, 2019 6:25 pm
Forum: Users Showcase
Topic: Convert a solid to a LEGO model
Replies: 0
Views: 1036

Convert a solid to a LEGO model

To learn freecad I create a Macro to convert any 3D solid object to a LEGO model using 7 basic bricks.
As suggested by Kunda1, here is a link to the macro + pictures : https://forum.freecadweb.org/viewtopic.php?f=22&t=41255
by jfc941640
Sat Nov 30, 2019 6:15 pm
Forum: Help on using FreeCAD
Topic: Slice takes 15 minutes
Replies: 5
Views: 257

Re: Slice takes 15 minutes

To conclude, I just test Mesh WB, meshlab and meshmixer but none give me the perfect result to have a clean mesh that does not causes any problem in freecad to slice. The best solution for me was to use Slic3r and export svg. For info, I create a post on my "Solid to LEGO" macro here : https://forum...
by jfc941640
Thu Nov 28, 2019 10:41 pm
Forum: Python scripting and macros
Topic: Macro to convert a solid to a LEGO model
Replies: 8
Views: 951

Re: Macro to convert a solid to a LEGO model

Here it is with 1 placer --> slowwww ;-) import math from FreeCAD import Base import Draft import Part from PySide import QtGui, QtCore import time from Animation import * import Placer placer=Placer.createPlacer("PiecePlacer",None) m=createManager() placer.x='x0+(x1-x0)*time' placer.y='y0+(y1-y0)*t...
by jfc941640
Thu Nov 28, 2019 8:54 pm
Forum: Python scripting and macros
Topic: Macro to convert a solid to a LEGO model
Replies: 8
Views: 951

Re: Macro to convert a solid to a LEGO model

microelly2 wrote:
Thu Nov 28, 2019 8:43 am
microelly2
Great suggestion microelly2 the animation !
You make me discover a new hidden function of freecad.
I think it should be simple, all parts are a copy of the corresponding base part.
by jfc941640
Wed Nov 27, 2019 9:42 pm
Forum: Python scripting and macros
Topic: Macro to convert a solid to a LEGO model
Replies: 8
Views: 951

Macro to convert a solid to a LEGO model

Since I received help on this forum, now it is time to share the result ! I create a Macro to convert a 3D solid object to a LEGO model using 7 basic bricks. I just do it to learn freecad, it is not optimum at all, many other projects are better if you really need such a converter. Slice can takes t...
by jfc941640
Thu Nov 21, 2019 10:08 pm
Forum: Help on using FreeCAD
Topic: Slice takes 15 minutes
Replies: 5
Views: 257

Re: Slice takes 15 minutes

Thanks DeepSOIC and HarryGeier for your help, I'm going to test your different propositions. My goal is to convert any 3D file to a LEGO model. It is working but sometimes too slow on specific slice as I explain in my problem. I have to possibility to specify the number of slice and I detect the pro...
by jfc941640
Mon Nov 18, 2019 9:15 pm
Forum: Help on using FreeCAD
Topic: Slice takes 15 minutes
Replies: 5
Views: 257

Slice takes 15 minutes

Hi all, I start with freecad and I like it : python + 3D, the perfect combination ! Today, I try to slice Tux with the cross-sections tool from the PartWB, it works great on many slice (it takes 10 secondes) but when I try to slice it at z=4.740459585189811, operation takes 15 minutes ! At the end e...
by jfc941640
Tue Oct 29, 2019 6:26 pm
Forum: Help on using FreeCAD
Topic: Part intersection not complete
Replies: 4
Views: 217

Re: Part intersection not complete

Thanks all for your fast feedback !
papyblaise, it is not exactly what I'm looking for : I want to keep my cubes ;-)
--> the second solution proposed by bejant is perfect for me !
It's a pleasure to discover this software and this forum
by jfc941640
Mon Oct 28, 2019 6:45 pm
Forum: Help on using FreeCAD
Topic: Part intersection not complete
Replies: 4
Views: 217

Part intersection not complete

Hi all, I try to make an intersection between an array of cubes and a cylinder. Here is the start point : https://forum.freecadweb.org/download/file.php?id=94926 and the result after selecting Array001 + Extrude006 and using the intersection tool of the Part workbench: https://forum.freecadweb.org/d...

Go to advanced search