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!
cowmegalul
Posts: 4
Joined: Sat May 15, 2021 11:00 pm

How to get a face?

Postby cowmegalul » Sat May 15, 2021 11:13 pm

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 13 times
chrisb
Posts: 35266
Joined: Tue Mar 17, 2015 9:14 am

Re: How to get a face?

Postby chrisb » Sun May 16, 2021 3:36 am

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
Posts: 2944
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE

Re: How to get a face?

Postby thomas-neemann » Sun May 16, 2021 6:56 am

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

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

phpBB [video]
falls ein video-link von mir schwarz und nicht anklickbar sein sollte, hier der kanal: https://www.youtube.com/channel/UCVcztV ... 03GgKekj_g
es ist auch möglich auf antworten zu klicken um den link zu sehen.
User avatar
GlouGlou
Posts: 3089
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: How to get a face?

Postby GlouGlou » Sun May 16, 2021 8:19 am

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 240 times
plate.FCStd
(137.54 KiB) Downloaded 3 times
jmaustpc
Posts: 11037
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: How to get a face?

Postby jmaustpc » Sun May 16, 2021 9:32 am

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 214 times
and the file
pad_keyboard_cover.FCStd
(449.75 KiB) Downloaded 8 times
cowmegalul
Posts: 4
Joined: Sat May 15, 2021 11:00 pm

Re: How to get a face?

Postby cowmegalul » Sun May 16, 2021 6:41 pm

Thanks for the help!

All of these solutions were able to make it work.

Thanks everyone! :D
cron