-
twinchip
- Posts: 14
- Joined: Mon Jan 21, 2019 1:20 pm
Проблема Failed to validate broken face
Добрый день, возникла проблема со скетчем, ошибка failed to validate face. Перерисовывать совсем не хочется. Проблема со Sketcher12. Версия FreeCAD 0.17. Подскажите, пожалуйста, есть ли решение данной проблемы??? Файл во вложении. После нескольких попыток я понял, что буква А и две полоски (все остальное я предварительно удалил) под ней выдавливаются, именно эту функцию я пытался использовать, а остальное нет. Это из за сложности рисунка??? Спасибо.
- Безымянный.png (200 KiB) Viewed 5341 times
-
DeepSOIC
- Veteran
- Posts: 7885
- Joined: Fri Aug 29, 2014 12:45 am
- Location: Saint-Petersburg, Russia
Re: Проблема Failed to validate broken face
Post
by DeepSOIC » Tue Mar 26, 2019 6:32 pm
Файл приложите пожалуйста.
Эта ошибка обычно возникает, если
* какие-то точки не совмещены точно (нет ограничения «coincident»). Из-за этого контур не замкнут, и возникает эта ошибка. Попробуйте выдавить скеч в Part Extrude, может быть получите доп информацию.
ИЛИ
* какая-то из линий нарисована дважды. Эту проблему сложно искать. Обычно я удаляю все ограничения, и поочерёдно растаскиваю элементы по пространству.
ИЛИ
* отрезок нулевой длины
ИЛИ
* контур содержит самопересечения (может быть, но я не уверен, что выскочит именно эта ошибка).
ИЛИ
* контур имеет соединения 3 и более отрезков в одной точке
ИЛИ
* где-то валяется забытый элемент. Что это за точки разбросаны по полю? Если это просто точки, то пофигу. Если это отрезки или дуги или ещё что — караул.
ИЛИ
* глубина вложенности контуров — 3 и более (например, островок внутри буквы «a»). Инструменты Part Extrude и Revolve стерпят любую глубину вложенности, а PartDesign — не больше 2.
-
twinchip
- Posts: 14
- Joined: Mon Jan 21, 2019 1:20 pm
Re: Проблема Failed to validate broken face
Post
by twinchip » Wed Mar 27, 2019 8:24 am
Спасибо большое за ваш ответ. Я пробовал проверить файл на все что вы описали, кроме выдавливания в Part. Выдавливание получилось. О чем это может говорить??? Я хотел весь файл отправить, но он сликом тяжелый. У меня еще вот какой есть вопрос, можно ли копировать рисунок с одного скетча в другой?? Я имею в виду не сам скетч, а именно то что нарисовано. Я сам не так давно работаю с 3D моделями, где то около 1 месяца. В приложении что получилось после выдавливания в Part
- Attachments
-
- Безымянный1.png (96.88 KiB) Viewed 5318 times
-
DeepSOIC
- Veteran
- Posts: 7885
- Joined: Fri Aug 29, 2014 12:45 am
- Location: Saint-Petersburg, Russia
Re: Проблема Failed to validate broken face
Post
by DeepSOIC » Wed Mar 27, 2019 11:11 am
twinchip wrote: ↑Wed Mar 27, 2019 8:24 am
Part. Выдавливание получилось. О чем это может говорить???
Нет верхней грани. Значит, контур не замкнут. То есть вероятно, это не «самопересечение» и «глубина вложенности». Из остального может быть всё что угодно.
Попробуйте ещё прогнать скетч через Part CheckGeometry, рекомендую включить «BOPCheck» (по ссылке написано, как).
Для поиска и устранения маленьких разрывов есть инструмент «Validate sketch», обитающий в меню верстака Sketcher. Попробуйте потыкать в find missing coincidences и fix.
-
DeepSOIC
- Veteran
- Posts: 7885
- Joined: Fri Aug 29, 2014 12:45 am
- Location: Saint-Petersburg, Russia
Re: Проблема Failed to validate broken face
Post
by DeepSOIC » Wed Mar 27, 2019 11:14 am
twinchip wrote: ↑Wed Mar 27, 2019 8:24 am
Я хотел весь файл отправить, но он сликом тяжелый
Можно залить на файлообменник (яндекс-диск например). Но лучше скопировать проблемный скетч в отдельный проект, и приложить его прямо в форум.
-
twinchip
- Posts: 14
- Joined: Mon Jan 21, 2019 1:20 pm
Re: Проблема Failed to validate broken face
Post
by twinchip » Wed Mar 27, 2019 2:45 pm
DeepSOIC wrote: ↑Wed Mar 27, 2019 11:11 am
twinchip wrote: ↑Wed Mar 27, 2019 8:24 am
Part. Выдавливание получилось. О чем это может говорить???Нет верхней грани. Значит, контур не замкнут. То есть вероятно, это не «самопересечение» и «глубина вложенности». Из остального может быть всё что угодно.
Попробуйте ещё прогнать скетч через Part CheckGeometry, рекомендую включить «BOPCheck» (по ссылке написано, как).
Для поиска и устранения маленьких разрывов есть инструмент «Validate sketch», обитающий в меню верстака Sketcher. Попробуйте потыкать в find missing coincidences и fix.
Получилось все сделать. Спасибо огромное. Функция Validate Sketch помгла. В одном месте был разрыв, а вдругом наложение одной линии на другую.
Но все таки у меня нет фукнции Check Geometry, все заканчивается Boolean (если идти по инструкции)
Мне надо самому найти и установить данную функцию??
-
Лапчатый
- Posts: 26
- Joined: Mon Jan 14, 2019 9:21 am
Re: Проблема Failed to validate broken face
Post
by Лапчатый » Sun Mar 31, 2019 7:00 pm
Не имею большого опыта моделирования трёхмерных тел.
Поэтому я бы подобную работу делал так.
1. Сделал бы каждую буковку по отдельности, а потом расставил бы их на нужные места.
2. Дырки в буквах делал бы не в исходном скетче, а выгрызал бы потом из трёхмерной буквы.
3. Постарался бы максимально использовать инструменты верстака PartDesign «Скругление» (Fillet) и «Фаска». Например, букву «P» можно сделать так. Сначала построить многоугольник, содержащий только горизонтальные и вертикальные линии. Выдавить его. Затем в трёхмерном теле скруглить (Fillet) нужные места. Потом слелать прямоугольную дырку и, опять же, скруглить нужные рёбра.
Ибо зачем мне корячиться, когда Фрикад многие вещи может сделать сам?
К настоящему моменту сделал во ФриКаде пару несложных прожектов для домашнего хозяфства. Ни разу не использовал в скетчах элемент «дуга». Только прямые линии. Скругление — потом, уже в трёхмерном теле.
ИМХО так гораздо проще ловить блох вроде несовмещённых точек и дублированных линий.
-
twinchip
- Posts: 14
- Joined: Mon Jan 21, 2019 1:20 pm
Re: Проблема Failed to validate broken face
Post
by twinchip » Tue Apr 02, 2019 7:21 pm
Спасибо за рекомендации. Я смотрел много видео уроков, в них довольно таки часто используется элемент дуга. В действительности очень удобно, если наловчиться. С помощью проверки точек, все получилось исправить очень быстро. В данный момент пользуюсь проверкой, очень помогает. я и сам сделал не так много проектов. Где то 3-4 штуки, тоже не особо сложные.
-
Лапчатый
- Posts: 26
- Joined: Mon Jan 14, 2019 9:21 am
Re: Проблема Failed to validate broken face
Post
by Лапчатый » Tue Apr 02, 2019 9:19 pm
twinchip wrote: ↑Tue Apr 02, 2019 7:21 pm
Спасибо за рекомендации. Я смотрел много видео уроков, в них довольно таки часто используется элемент дуга. В действительности очень удобно, если наловчиться.
Мне кажется, что очень неудобно.
Особенно если сопрягать дугой два отрезка прямых, один из которых горизонтален или вертикален, а другой — ни то, ни другое.
В то же время скруглить ребро на трёхмерном теле — это щёлкнуть мышом на этом ребре, выбрать инструмент «скругление» и задать радиус скругления. Примерно 3 секунды.
Forum rules
and Helpful information
-
hendr1x
- Posts: 54
- Joined: Fri Feb 05, 2021 11:09 pm
Failed to validate broken face
Hello everyone,
I have a sketch (Sketch003) which I would like to turn into a pocket but I am not allowed to because the of the error «Failed to validate broken face». I understand that there is something wrong with my sketch but I just don’t know what it is? In my readings people recommended using the sketch validator tool but it is grayed out for me. If someone is willing, I would appreciate any guidance on what is wrong with my sketch and the proper way to generate the sketch so I can use it as pocket.
- part_designer.jpg (196.21 KiB) Viewed 1743 times
- sketch.jpg (321.27 KiB) Viewed 1743 times
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23756 (Git)
Build type: Release
Branch: master
Hash: 9c6e9184930a52b165a0b7274e3a45d1006bfe67
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Thank you very much for your help — Justin
-
00001000bit
- Posts: 23
- Joined: Mon Feb 15, 2021 6:14 pm
Re: Failed to validate broken face
Post
by 00001000bit » Fri Apr 09, 2021 8:07 pm
Use the trim tool to get rid of overlapping lines in your sketch. (Click it, then click on unwanted lines)
You need to have clean sketches without intersecting lines, those won’t extrude (pad/pocket) into valid geometry.
- overlaps.png (12.97 KiB) Viewed 1721 times
-
drmacro
- Veteran
- Posts: 6872
- Joined: Sun Mar 02, 2014 4:35 pm
Re: Failed to validate broken face
Post
by drmacro » Fri Apr 09, 2021 9:14 pm
fix the 0mm dimensional constraints.
use horizontal or vertical constraints instead.
rather than having two arc dimensions the same, set them equal and dimensional constraint on one.
in fact, use symmetry to your advantage and only draw 1/4 of that shape and the use transforms after you Pad.
Star Trek II: The Wrath of Khan: Spock: «…His pattern indicates two-dimensional thinking.»
-
hendr1x
- Posts: 54
- Joined: Fri Feb 05, 2021 11:09 pm
Re: Failed to validate broken face
Post
by hendr1x » Fri Apr 09, 2021 9:39 pm
Haha…it’s so great to get other peoples approaches.
Thank you very much for explaining all of those improvements, I see how they make everything much more efficient.
-
Renaissance_Man
- Posts: 3
- Joined: Fri Oct 08, 2021 5:43 pm
Re: Failed to validate broken face
Post
by Renaissance_Man » Fri Oct 08, 2021 5:55 pm
Hi all,
I’m following the following tutorial: https://wiki.freecadweb.org/Basic_Part_Design_Tutorial
I get the to the part that says to use the pocket tool but I get the error message «Failed to validate broken face». The sketch was fully constrained & green & validate sketch is greyed out. Below is my freecad info please help
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Canada (en_CA)
-
chrisb
- Veteran
- Posts: 46783
- Joined: Tue Mar 17, 2015 9:14 am
Re: Failed to validate broken face
Post
by chrisb » Fri Oct 08, 2021 6:02 pm
Hi and welcome to the forum.
You can use the Validator on the sketch after closing the Sketcher.
There are various possibilities what could have been wrong, such as an additional geometric element in the sketch. For more info, upload the file.
-
chrisb
- Veteran
- Posts: 46783
- Joined: Tue Mar 17, 2015 9:14 am
Re: Failed to validate broken face
Post
by chrisb » Fri Oct 08, 2021 7:36 pm
Renaissance_Man wrote: ↑Fri Oct 08, 2021 6:25 pm
No I can’t because as I said, «Validate sketch is greyed out» Here’s the file
Switch to Sketcher or PartDesign workbench
Make sure there is no active task, i.e. the Tasks tab doesn’t show a pencil.
Call Menu->Sketch->Validate Sketch.
I will look at your file.
-
chrisb
- Veteran
- Posts: 46783
- Joined: Tue Mar 17, 2015 9:14 am
Re: Failed to validate broken face
Post
by chrisb » Fri Oct 08, 2021 7:42 pm
Well, my guess above was an educated one: If you look at the number of elements there are 6, while you should have only 4.
Lines 1 and 2 are identical, so are lines 3 and 4. Delete one of each and reapply missing constraints.
- GuiCommand:
Name:PartDesign Pad
MenuLocation:Part Design → Create an additive feature → Pad
Workbenches:PartDesign
SeeAlso:PartDesign Pocket
PartDesign Pad
Description
The Pad tool extrudes a sketch or a face of a solid along a straight path.
Sketch (A) shown on the left; end result after pad operation (B) on the right.
Usage
- Select one sketch or face to be padded. (v0.20) : Alternatively you can select several sketches or faces.
- Press the
Pad button.
- Set the Pad parameters, see the Options below.
- Click OK.
When selecting a single sketch, it can have multiple enclosed profiles inside a larger one, for example a rectangle with two circles inside it. But the profiles may not intersect each other. (v0.20)
Options
When creating a pad, the Pad parameters dialog will be shown. It offers the following settings:

Type
Type offers five different ways of specifying the length to which the pad will be extruded:
Dimension
Enter a numeric value for the length of the pad. The default direction for extrusion is away (outside of) the support, but it can be changed by ticking the Reversed option. Extrusions occur by default normal to the defining sketch plane. This can be changed by specifying another Direction. With the option Symmetric to plane the pad will extend half of the given length to either side of the plane. Negative dimensions are not possible. Use the Reversed option instead.
To last
The pad will extrude up to the last face of the support in the extrusion direction. If there is no support, an error message will appear.
To first
The pad will extrude up to the first face of the support in the extrusion direction. If there is no support, an error message will appear.
Up to face
The pad will extrude up to a face in the model that can be chosen by clicking on it.
Two dimensions
This allows to enter a second length in which the pad should extend in the opposite direction (into the support). The directions can be switched by ticking the Reversed option.
Length
Defines the length of the pad. Multiple units can be used independently of the user’s units preferences (m, cm, mm, nm, ft or ‘, in or «). This option is only available when Type is either Dimension or Two dimensions.
Offset to face
Offset from face at which the pad will end. This option is only available when Type is either To last, To first or Up to face.
Direction
Direction/edge
You can select the direction of the extrusion:
- Sketch normal The sketch or face is extruded along its normal. If you have selected several sketches or faces to be extruded, the normal of the first one will be used. (v0.20)
- Select reference… The sketch is extruded along an edge of the 3D model. When this is method selected, you can click on any edge in the 3D model and it becomes the direction vector for the extrusion. (v0.20)
- Custom direction The sketch is extruded along a direction that can be specified via vector values. (v0.19)
Show direction
If checked, the pad direction will be shown. In case the pad uses a Custom direction, it can be changed. (v0.20)
Length along sketch normal
If checked, the pad length is measured along the sketch normal, otherwise along the custom direction. (v0.20)
Symmetric to plane
Tick the checkbox to extrude half of the given length to either side of the sketch or plane.
Reversed
Reverses the direction of the pad.
Taper angle
(v0.20)
Tapers the pad in the extrusion direction by the given angle. A positive angle means the outer pad border gets wider. This option is only available if Type is either Dimension or Two dimensions. Note that inner structures receive the opposite taper angle. This is done to facilitate the design of molds and molded parts.
Limitations:
- Sketches containing B-Splines often cannot be properly tapered. This is a limitation of the OpenCASCADE kernel that FreeCAD uses.
- For larger angles tapering will fail if the end face of the pad would have fewer edges than the start face/sketch.
2nd length
Defines the length of the pad in the opposite extrusion direction. Multiple units can be used independently of the user’s units preferences (m, cm, mm, nm, ft or ‘, in or «). This option is only available if Type is Two dimensions.
2nd taper angle
(v0.20)
Tapers the pad in the opposite extrusion direction by the given angle. A positive angle means the outer pad border gets wider. This option is only available if Type is Two dimensions. Note that inner structures receive the opposite taper angle. This is done to facilitate the design of molds and molded parts.
Properties
-
Type: Type of ways how the pad will be extruded, see Options.
-
Length: Defines the length of the pad, see Options.
-
Length2: Second pad length in case the Type is TwoLengths, see Options.
-
Use Custom Vector: (v0.19) If checked, the pad direction will not be the normal vector of the sketch but the given vector, see Options.
-
Direction: (v0.19) Vector of the pad direction if Use Custom Vector is used.
-
Along Sketch Normal: (v0.20) If true, the pad length is measured along the sketch normal. Otherwise and if Use Custom Vector is used, it is measured along the custom direction.
-
Up To Face: A face the pad will extrude up to, see Options.
-
Offset: Offset from face in which the pad will end. This is only taken into account if the Type option UpToLast, UpToFirst or UpToFace is used.
-
Refine: True or false. Cleans up residual edges left after the operation. This property is initially set according to the user’s settings (found in Preferences → Part design → General → Model settings). It can be manually changed afterwards. This property will be saved with the FreeCAD document.
Limitations
- Like all Part Design features, Pad creates a solid, thus the sketch must include a closed profile or it will fail with a Failed to validate broken face error.
- The algorithm used for To First and To Last is:
- Create a line through the center of gravity of the sketch
- Find all faces of the support cut by this line
- Choose the face where the intersection point is nearest/furthest from the sketch
: This means that the face that is found might not always be what you expected. If you run into this problem, use the Up to face type instead, and pick the face you want.
: For the very special case of extrusion to a concave surface, where the sketch is larger than this surface, extrusion will fail. This is a unresolved bug.
{{PartDesign Tools navi}}
documentation index > PartDesign > PartDesign Pad
Thomas Schattat
7 месяцев назад
Hello, I do appreciate the video, I am a complete beginner. Following the instructions all tests result OK, but the popup still comes up. Very frustrating.
David Cooper
7 месяцев назад
Life saver!
Brandon Ward
9 месяцев назад
im using the 0.18 and it still says failed to validate broken face…. i followed the steps exactly as well…
Alejandro Taudil
9 месяцев назад
Thanks!!
Connor McCarter
11 месяцев назад
This was super helpful and led me down a trouble shooting path that showed that my sketch had either very tiny duplicate geometry or «0» length segments. The solver was putting in duplicate vertexes that was invalidating my sketch….
metroidM1A1
1 год назад
Great content 🐐
NFK2Killer
1 год назад
Dang good video but you didn’t show how to do brute force, which it appears I need to do with mine.
Macpod
1 год назад
Another thanks! This was driving me crazy
MikyGamer YT
1 год назад
Gracias, estuve buscando 3 días la respuesta UwU
X either
1 год назад
JESUS IS THE KING☦❤
X either
1 год назад
GOD IS REAL LOVE GOD AND EVERYONE
etusch
1 год назад
thank you
Etzmann Schnappuleck
1 год назад
Thou shall be blessed my dearest friend!!!!!!!
Sübhan Akkirmanlı
1 год назад
it didnt work for me it couldnt find any problem to fix..
Alex Vallejo
1 год назад
for somereason i dont have the option to press validate sketch
Leonardo Tellez
1 год назад
helpfull, thanks man!
Phat Sophary
1 год назад
Hello sir I have already did follow your advisor but when I pad it’s hide I can see my sketch, what happened can you tell me ?
Sebastian Tur
1 год назад
thanks for your help
Marv d’ar saout
1 год назад
mille mercis!!!!! thousand thanks
ARMATR

Загрузка
15.01.2017
3607
Доброго дня. Кто может подсказать в чем дело. Составил модель в программе FreeCAD с отверстиями и сглаживанием углов. Перевел в формат STL, но при загрузке в репитер не видит отверстий и сглаживаний!
Ответы на вопросы
Популярные вопросы
Герметичная 3D печать.
def.lord

Загрузка
19.01.2023
580
Всем привет!
Стоит задача сделать небольшие емкости с закручивающимися крышками, которые буду содержать воду. Нужно конечно что…
Помогите, я уже вообще не пойму…
Кто знает в чем может быть причина, ось Z в любом случае уходит вниз. G-code поставил другой с сайта, с этого… хотя даже вот
Начало…
Волнистые стенки.
Tortik

Загрузка
24.12.2018
22614
С того момента как я собрал принтер Ultimaker уважаемого Plastmaski, не могу избавиться от одной проблемы. Уже почти 2 кг пластика перевел на тесты. М…