How to get a face?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Post Reply
cowmegalul
Posts: 4
Joined: Sat May 15, 2021 11:00 pm

How to get a face?

Post by cowmegalul »

Hello,

This is my first forum post and I have downloaded this .dxf file for a keyboard plate.

I am able to extrude the plate after creating a fusion with all the shapes. However, the plate is hollow and it does not have a bottom or top face, and I was wondering how to get a face.

Thanks!

OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Attachments
plateansi.dxf
(34.39 KiB) Downloaded 24 times
chrisb
Veteran
Posts: 54288
Joined: Tue Mar 17, 2015 9:14 am

Re: How to get a face?

Post by chrisb »

I guess what you really want aren't faces, but you rather want a solid. If you extrude something and you want a solid, the underlying sketch or wire must not contain any T-joints or crossings. You need a closed loop which can contain at most one level of nested closed loops.

You may have to check Preferences->Import-Export->DXF->JoinGeometry.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11953
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: How to get a face?

Post by thomas-neemann »

cowmegalul wrote: Sat May 15, 2021 11:13 pm
is that helpful?

https://www.youtube.com/watch?v=cib8svqEckw

phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Vincent B
Veteran
Posts: 4739
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: How to get a face?

Post by Vincent B »

Select all elements in treeview.
Upgrade them (draft Wb), you'll get wires
Make a compound with all wires (Part Wb)
Then extrude it or use it in a body.
Attachments
Capture.JPG
Capture.JPG (42.32 KiB) Viewed 705 times
plate.FCStd
(137.54 KiB) Downloaded 12 times
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: How to get a face?

Post by jmaustpc »

You can also go to the Draft WB, select all the lines in the treeview by clicking on first then holding shift key and clicking on last, then click on the Draft_to_Sketch icon in the Draft WB tool bar. That will put all the lines into a sketch, not constrained.

You can then Pad the object in Part Design by creating a Body, moving the sketch into it by drag and drop in treeview, then attach it to an axis plane of the body (presumably XY plane) then click on Pad and select the desired thickness, my example used 2mm.

The best method depends on your specific use case and the object you are trying to model.

This is just a quick example of what I suggest here.

screen shot
Screenshot_20210516_192653.png
Screenshot_20210516_192653.png (104.78 KiB) Viewed 679 times
and the file
pad_keyboard_cover.FCStd
(449.75 KiB) Downloaded 16 times
cowmegalul
Posts: 4
Joined: Sat May 15, 2021 11:00 pm

Re: How to get a face?

Post by cowmegalul »

Thanks for the help!

All of these solutions were able to make it work.

Thanks everyone! :D
Post Reply