Help with DXF and arch panel tools

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Help with DXF and arch panel tools

Post by bitacovir »

Working with arch panel tools for a project I imported a DXF file to create the panels in FreeCAD. The DXF drawings were only straight lines, so there was not problem. But one drawing has curves and I could not create panels. I tried to replace the curves with arcs (from FreeCAD) l but still I could not create a panel at the end. Maybe someone knows a good method to do it... I share the DXF file.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10894 (Git)
Build type: Release
Branch: master
Hash: 6e5bba3999b49098cac93482a13afca243a89d04
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Attachments
bellmouth.dxf
(219.78 KiB) Downloaded 61 times
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Help with DXF and arch panel tools

Post by yorik »

You need to select all the edges of each shape, then use Draft Upgrade twice to turn them into faces. Then you can make panels from them. It is not necessary to make faces, panels can also be made simply from closed wires, but using faces is an additional check, so youare sure these wires can become faces.

In this case, one of the shapes had duplicated lines, which prevented the wire from becoming a face. So I had to do a small manual fix.
Screenshot from 2017-04-23 18-17-55.png
Screenshot from 2017-04-23 18-17-55.png (87.35 KiB) Viewed 1538 times
Attachments
panels.fcstd
(25.88 KiB) Downloaded 49 times
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Help with DXF and arch panel tools

Post by bitacovir »

Thanks Yorik, but it is not how it works in my case. I am going to describe each step:

1) Menu File > Open > Select bellmouth.dxf file
2) The file opened shows in the Combo View a list of Polyline00x and Arc, Arc001, etc.
3) I select all the polylines and two Arcs of the left shape > Draft Upgrade > nothing happen.
4) I select all the polylines of the left shape > Draft Downgrade > polylines turn into edges in the Combo View.
5) I select all the now edges of the left shape> Draft Upgrade > nothing happen. no face, no wire.

Here the report:

not a freecad file: .DXF
not a freecad file: .DXF
opening C:/Users/Rafael/Downloads/bellmouth.dxf...
drawing 20 polylines...
drawing 4 arcs...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
recompute done
successfully imported C:/Users/Rafael/Downloads/bellmouth.dxf
Arch workbench activated
Unable to upgrade these objects.
Found only wires: extracting their edges
Unable to upgrade these objects.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10909 (Git)
Build type: Release
Branch: master
Hash: eb5c56b50297a03b275846c7bb064ad4aae094da
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Help with DXF and arch panel tools

Post by yorik »

I did exactly the same thing as you... My guess is that in the lines/arcs you selected, there is something wrong that prevents closing a wire.
Try selecting only some of them, see if they upgrade to a wire
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Help with DXF and arch panel tools

Post by regis »

If they are not alot of stuff to upgrade, you can just redraw new draft-wires with closed poly lines. Alot simple and clean.
Post Reply