Hello,
Is there a way (in python) to add a sub-face to a face? I want to represent conceptually the idea of a window or a wall as a sub-face to a wall face. However, I need the entity to stay as a "Part.Face" rather than a compound as I need to build a shell/solid out of it. I tried adding the outer wires and that kind of worked, but I was getting a solid face with a hole in it. Is there a way to make a "Face" the Subshape of another "Face". Any help is greatly appreciated.
Is there a way to make a Face the SubShape of another Face?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Is there a way to make a Face the SubShape of another Face?
No, a face is a face. If you need two faces, you must use either a shell, or a compound.
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Is there a way to make a Face the SubShape of another Face?
What you probably want is a shell of two faces, one is a frame (with hole), and the other patches the hole. Such a shell is perfectly valid for constructing a solid (assuming you add mode faces to close the shell, of course).