Parametric face out of two draft wires

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
hko
Posts: 96
Joined: Thu Apr 23, 2020 10:44 pm

Parametric face out of two draft wires

Post by hko »

Let's say I have two draft wires, both of which are not closed, but together form a closed wire. I can't use Draft_Join to join them because I need them as separate wires (the other one is a base wire for a wall).

Is there a way to create a parametric face out of those two wires?

I could use Part_Builder, select all the edges of those wires and create a face, but it wouldn't be parametric (if I move points of the wires, for example, I need to recreate the face).

Part_MakeFace would create a parametric face out of a single closed wire but doesn't accept two open wires. I could use that if I could create a parametric combined wire out of the two wires but I haven't found a way to do that either.

Code: Select all

OS: Ubuntu 20.04.5 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: current master branch as of this writing, see hash
Build type: Debug
Branch: master
Hash: 633a6e825ca37cc7111fbfa8d7a53ec23e1c29bd
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United States (en_US)
Installed mods: 
  * dodo 1.0.0
  * BIM.backup1663296114.5945559
  * Help 1.0.3
  * BIM 2021.12.0
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Parametric face out of two draft wires

Post by Vincent B »

Need the file.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Parametric face out of two draft wires

Post by onekk »

hko wrote: Sat Jan 28, 2023 2:02 am ...
"A face is a portion of a surface limited by a wire".

From the definition is not possible to have an unclosed wire to "limit something" it is basic Topology. See maybe in wiki what it means.

You could probably create copy of the two wires and join them.

Workflow is not very clear however.

Posting a file probably will help as an helper could ipen the file and see what is wrong and maybe even supply a new file with s solution.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
chrisb
Veteran
Posts: 53924
Joined: Tue Mar 17, 2015 9:14 am

Re: Parametric face out of two draft wires

Post by chrisb »

You can use a SubShapeBinder. If it is not "face enough" for whatever you intend, use a FaceBinder on top of the SubShapeBinder.
Attachments
unconnectedParametric.FCStd
(8.87 KiB) Downloaded 11 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
hko
Posts: 96
Joined: Thu Apr 23, 2020 10:44 pm

Re: Parametric face out of two draft wires

Post by hko »

chrisb wrote: Sat Jan 28, 2023 9:52 am You can use a SubShapeBinder. If it is not "face enough" for whatever you intend, use a FaceBinder on top of the SubShapeBinder.
Thanks, SubShapeBinder (alone) works probably fine. It can be extruded, for example.

In your example the Support of Binder includes the edges of the Wire and the only edge of Line, which means that Binder needs to be manually updated if points are added to/removed from the Wire. But it seems that one can use Wire and Line directly as the Support, which solves that "problem". Wonderful!
Post Reply