Wire is not closed (Recompute failed! Please check report view)

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
Captain Normal
Posts: 3
Joined: Fri Sep 16, 2022 7:16 pm

Wire is not closed (Recompute failed! Please check report view)

Post by Captain Normal »

When trying to pad a sketch, the error "Recompute failed! Please check report view" appears, however the report view only contains this same message. If I nevertheless try to proceed I get an error popup "Wire is not closed". Testing with "Sketch -> Validate sketch..." doesn't show any problems (or I'm not recognizing them). When I disable all constraints except for coincident constraints I can move all edges and they seem to be joined to other edges as expected.

This seems to in principle be a common problem, but I couldn't find a solution that worked.

Version 0.20.2
File attached
Attachments
shelf-wall-brackets.FCStd
(7.31 KiB) Downloaded 19 times
Bance
Veteran
Posts: 4185
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Wire is not closed (Recompute failed! Please check report view)

Post by Bance »

'Tee' junctions produce an invalid sketch.

The software cannot tell which should be solid and which not!
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Wire is not closed (Recompute failed! Please check report view)

Post by Shalmeneser »

Even a human cannot understand what you want here. (caveat, I'm not saying here I'm human.)
Can you provide more info about your idea ?

btw, FULL info is not 0.20.2 : follow link in red banner above.
Captain Normal
Posts: 3
Joined: Fri Sep 16, 2022 7:16 pm

Re: Wire is not closed (Recompute failed! Please check report view)

Post by Captain Normal »

Thank you! I see that pad only works when there is one single closed area on the sketch. It seems the solution to my problem is to use multiple sketches.

(I previously used Fusion 360, where you could tell the software via the GUI which areas should be extruded. Moving to Freecad because of the better scripting.)
Bance wrote: Sun Feb 05, 2023 10:52 am 'Tee' junctions produce an invalid sketch.

The software cannot tell which should be solid and which not!
Bance
Veteran
Posts: 4185
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Wire is not closed (Recompute failed! Please check report view)

Post by Bance »

Captain Normal wrote: Mon Feb 06, 2023 7:48 am (I previously used Fusion 360, where you could tell the software via the GUI which areas should be extruded. Moving to Freecad because of the better scripting.)
viewtopic.php?t=69960
User avatar
papyblaise
Veteran
Posts: 7864
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Wire is not closed (Recompute failed! Please check report view)

Post by papyblaise »

you can use your sketch by transforming the T lines into construction lines (blue) by making carbon copies, you don't have to redraw it
Attachments
shelf-wall-brackets PPB.FCStd
(29.82 KiB) Downloaded 20 times
shelf-wall-brackets PPB.JPG
shelf-wall-brackets PPB.JPG (18.66 KiB) Viewed 740 times
Captain Normal
Posts: 3
Joined: Fri Sep 16, 2022 7:16 pm

Re: Wire is not closed (Recompute failed! Please check report view)

Post by Captain Normal »

Thank you!

Just my summary for someone who reads this and doesn't open the attached file: Pad requires just one single closed area in a sketch - and one way to achieve this with a more complicated sketch is to copy it multiple times, change selected lines to construction lines so there is only one single closed area per sketch, then pad each area (sketch) separately.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Wire is not closed (Recompute failed! Please check report view)

Post by onekk »

Captain Normal wrote: Mon Feb 13, 2023 5:11 am ...
Hello.

This is not astonishing, as "Feature driven" paradigm used by Part Design WB is working like this.

How to achieve a result maybe however not what you describe, as you could use different ways other from what you depicts as a solution.

As example "named constraints" and "master sketches", some hints here:

https://wiki.freecad.org/Basic_Part_Design_Tutorial_019

But your friend is FreeCAD Wiki, along with many other things like a summary of the differences between FreeCAD and other CADs.

https://wiki.freecad.org/About_FreeCAD

and here:

https://wiki.freecad.org/Getting_started

There is a good link that give some migration hints:

https://wiki.freecad.org/Migrating_to_F ... _Fusion360




And most important:

http://forum.freecadweb.org/viewtopic.php?f=3&t=2264

- Learn how to post a correct FreeCAD info, as others users as asked you to do.

- Learn also how to edit first post and place a [Solved] in front of the title to signal others users that the problem has a 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/
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Wire is not closed (Recompute failed! Please check report view)

Post by drmacro »

Captain Normal wrote: Mon Feb 13, 2023 5:11 am Thank you!

Just my summary for someone who reads this and doesn't open the attached file: Pad requires just one single closed area in a sketch - and one way to achieve this with a more complicated sketch is to copy it multiple times, change selected lines to construction lines so there is only one single closed area per sketch, then pad each area (sketch) separately.
This partially correct.

A sketch can contain multiple closed shapes, nested one level deep. So, for example, a circle in a circle will Pad into a tube.

Without special handling (using a Subshapebinder or WireFilter macro) though you can't select only one of the circles to Pad.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply