Simple geometry generation error

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
duffy55
Posts: 33
Joined: Tue Jun 26, 2018 9:00 am

Simple geometry generation error

Post by duffy55 »

Hello, I'm using Freecad sometime, so I'm not so skilled to use it.
I met a difficulty with very simple geometry, I'm using:

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: C/Default (C)

The geometry I would want obtain is in fig. 1
I drawn the sketch (fig. 2) with no DoF bat when I try to do the Pad always the following message is shown:
Recompute failed! Please check report view. (the large curves are drawn wit h 3 point tool)
I solved the problem importing a sketch geometry from a dxf, generated in a 2D CAD system.
I'm thinking to do a very stupid error, can you explain me what may be my mistakes.
Thank you
Regards
Attachments
Fig. 2
Fig. 2
two.gif (13.48 KiB) Viewed 930 times
Fig. 1
Fig. 1
one.gif (3.19 KiB) Viewed 930 times
User avatar
thomas-neemann
Veteran
Posts: 11915
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Simple geometry generation error

Post by thomas-neemann »

duffy55 wrote: Fri Aug 19, 2022 9:35 am ...
can you upload the file ?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

Re: Simple geometry generation error

Post by heron »

Hello, if you can attach the file it would be easier to find out the issue.

It seems that there is some line overlapping other lines. Maybe where the arrows point
capture.png
capture.png (57.27 KiB) Viewed 894 times
Bance
Veteran
Posts: 4255
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Simple geometry generation error

Post by Bance »

It's just a poor constraints scheme.....
Attachments
hinge.FCStd
(7.38 KiB) Downloaded 17 times
duffy55
Posts: 33
Joined: Tue Jun 26, 2018 9:00 am

Re: Simple geometry generation error

Post by duffy55 »

Attached needed file
Attachments
prova.FCStd
(7.37 KiB) Downloaded 20 times
heron
Posts: 307
Joined: Mon Apr 20, 2020 5:32 pm

Re: Simple geometry generation error

Post by heron »

Bance gave you the solution.
My comment was wrong, there are no overlapping lines. Sorry for the noise.
User avatar
thomas-neemann
Veteran
Posts: 11915
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Simple geometry generation error

Post by thomas-neemann »

duffy55 wrote: Fri Aug 19, 2022 9:35 am ...
here is a quick suggestion


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

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

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 54197
Joined: Tue Mar 17, 2015 9:14 am

Re: Simple geometry generation error

Post by chrisb »

When I try to pad the sketch I get the message "Wire not closed". The Sketcher's validation tool show the vertex in question. An automated repair will of course create overconstraints. You have created something like a "homemade tangency" by using two point-on-line constraints. Remove them, and create a point-to-point tangency.. As this consumes 3 degrees of freedom you have to remove another constraint, e.g. one of the radii at the left.

I recommend to use the same tangency for the other similar vertices as well.

If you need it, I can upload the file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Simple geometry generation error

Post by Shalmeneser »

Sketcher_ValidateSketch > Highlight troublesome vertexes :
* problems with left edge of 70mm line (suppress the Sketcher_ConstrainPointOnObject, add Sketcher_ConstrainCoincident)

But the sketch is not perfect.
Attachments
Capture d’écran 2022-08-19 194019.jpg
Capture d’écran 2022-08-19 194019.jpg (43.03 KiB) Viewed 728 times
prova_SHALM.FCStd
(12.9 KiB) Downloaded 12 times
duffy55
Posts: 33
Joined: Tue Jun 26, 2018 9:00 am

Re: Simple geometry generation error

Post by duffy55 »

Thanks to all.
Regards
Post Reply