Create Face object using Edges intersections

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!
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Create Face object using Edges intersections

Post by chrisb »

I still don't see a Sketcher problem, but I see that the documentation of Part Slicle says that the objects must not have self intersections, which your sketches and the slicing planes definitely have.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jtm2020hyo
Posts: 594
Joined: Wed Aug 12, 2020 1:24 am

Re: Create Face object using Edges intersections

Post by jtm2020hyo »

mario52 wrote: Fri May 14, 2021 11:22 am hi


try this macro (ordinate the selections):

with snippet picked in forum Making a Face from makeWire()

Configuration:
_________________________________________________
# if createWire = 0 create face
# if createWire = 1 create Line
# if createWire = 2 create point in intersection
# if createWire = 3 or other create face Line point

_________________________________________________
...
hello again, What part should be edited in your script to use it in Sketcher WB to apply _Split and _Coincident at the intersections of multiple _Edges using your script?

before:
Image

after:
Image

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.24847 (Git)
Build type: Release
Branch: master
Hash: 20e756306d9aa624fcbf465f0345d721673ce720
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: Spanish/Peru (es_PE)
jtm2020hyo
Posts: 594
Joined: Wed Aug 12, 2020 1:24 am

Re: Create Face object using Edges intersections

Post by jtm2020hyo »

thanks to everyone for the help.

I tested everything that I found on the internet and all method basically are Extrude between Round Helix and a Solid, I mean this fail when the base object is not regular, included Macro_Spring_On_Surface.

Image

So with this, I can confirm we have not a Helix tool but I think we could recyclate other tools.

What do we need to edit each Helix element (100 wires rotate around a circle and elevate en each segment) to rotate each element parallel to any Sketcher Boundary Closed? or similar?

if this task is solved, I think we could create more easy Slab Stairs Objects.

Image
Attachments
test2-helix.FCStd
(9.52 KiB) Downloaded 41 times
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Create Face object using Edges intersections

Post by mario52 »

hi
jtm2020hyo wrote: Fri May 28, 2021 8:37 pm intersections of multiple _Edges using your script?
you have Sketcher_Split Image
splitSketcher01.gif
splitSketcher01.gif (892.91 KiB) Viewed 439 times

jtm2020hyo wrote: Mon May 31, 2021 1:21 am I tested everything that I found on the internet and all method basically are Extrude between Round Helix and a Solid, I mean this fail when the base object is not regular, included Macro_Spring_On_Surface.
the macro work as needed maybe you use the not good tools or not good method for your project

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply