Hi
I'm trying to import a dxf (from librecad) into freecad. I would like to have one sketch with all the hexagons so I could pad this sketch on top of a circular base.
What would be the best or easiest way to do this?
At the moment I can:
- select all parts of one hexagon
- upgrade (draft)
- convert to sketch
But this can't be the right way to do it.
Thanks in advance!
Most efficient way of importing a dxf to a sketch
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Most efficient way of importing a dxf to a sketch
- Attachments
-
- Screenshot from 2019-08-26 22-37-42.png (175.88 KiB) Viewed 1416 times
-
- only hex.dxf
- (520.94 KiB) Downloaded 52 times
-
- hex grid only.dxf
- (521.07 KiB) Downloaded 50 times
Re: Most efficient way of importing a dxf to a sketch
To me it looks like you only need one Sketch of the circular base, and another Sketch of one hexagon. I wouldn't make a Sketch that contains every hexagon, mainly because Sketcher Solver would take a prohibitively long time to solve such a Sketch. My suggestion id that you Pad your circular base, then Pad one hexagon (probably the center one) on top of the base, then use either Part Design WB > PolarPattern or MultiTransform to make the remaining hexagon solids.
Or you could use Part WB > Extrude to make an Extrude of one hexagon, then use Draft WB > Array to make the copies.
Either way, with that many objects in your model, FreeCAD will slow down significantly.
Re: Most efficient way of importing a dxf to a sketch
For such a number of objects I would recommend Draft->Array, as (sad to say) the PartDesign patterns are by far not as efficient as their draft counterpart.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Veteran
- Posts: 4569
- Joined: Thu Apr 05, 2018 1:53 am
Re: Most efficient way of importing a dxf to a sketch
Take a look at FCHoneycombMaker macro.
Re: Most efficient way of importing a dxf to a sketch
...which reminds me that there are a few forum topics about making a honeycomb pattern, and also that DeepSOIC used his Lattice WB to do that too.
Re: Most efficient way of importing a dxf to a sketch
I haven't had a need to use any other 3D CAD programs in the past several years, but I think it would probably be faster to create your model in FreeCAD than it would be to search for and then learn some other software.
Simply eliminating the rounded corners from the hexagons would probably speed processing time up a bit.
Simply eliminating the rounded corners from the hexagons would probably speed processing time up a bit.
-
- Veteran
- Posts: 4569
- Joined: Thu Apr 05, 2018 1:53 am
Re: Most efficient way of importing a dxf to a sketch
These hexagons don't have the rounded corners. If you want that you might be able to replace the HoneycombHexagon object as the base of ExtrudedHexagon with one of the rounded hexagons. I would see if I could select all the edges and make a compound, then extrude the compound (this would be extruding a single rounded hexagon). Then make that extruded rounded hexagon the base for the 2 draft arrays --HoneycombArray1 and HoneycombArray2.
Using compound explode on the Fused_Arrays object is the key to being able to individually delete the extruded honeycombs from the array to get the diamond shape. If you change the size of the array you will have to probably explode that array again.
Re: Most efficient way of importing a dxf to a sketch
Whoo!! Thank you this is a really nice example. I was able to make it in openscad, but your file is a great help! thanksTheMarkster wrote: ↑Tue Aug 27, 2019 7:57 pm
honeycomb_circle.FCStd
These hexagons don't have the rounded corners. If you want that you might be able to replace the HoneycombHexagon object as the base of ExtrudedHexagon with one of the rounded hexagons. I would see if I could select all the edges and make a compound, then extrude the compound (this would be extruding a single rounded hexagon). Then make that extruded rounded hexagon the base for the 2 draft arrays --HoneycombArray1 and HoneycombArray2.
Using compound explode on the Fused_Arrays object is the key to being able to individually delete the extruded honeycombs from the array to get the diamond shape. If you change the size of the array you will have to probably explode that array again.
- Attachments
-
- hex.PNG (143.13 KiB) Viewed 1270 times