Fully constrained sketch no errors but missing hole.

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!
koirat
Posts: 66
Joined: Tue Oct 05, 2021 5:24 pm

Fully constrained sketch no errors but missing hole.

Post by koirat »

So here I have got a fully constrained sketch of double sided ring spanner.
There are no errors on sketch or pad.

Problem is only one ring appears as a hole.
RingSpannerBug.png
RingSpannerBug.png (5.05 KiB) Viewed 1515 times
SplineShafRingSpanner.FCStd
(51.65 KiB) Downloaded 43 times
User avatar
thomas-neemann
Veteran
Posts: 11911
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Fully constrained sketch no errors but missing hole.

Post by thomas-neemann »

koirat wrote: Sat Oct 16, 2021 3:55 pm
one sketch is double, if i erase half of it, it works for me
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
koirat
Posts: 66
Joined: Tue Oct 05, 2021 5:24 pm

Re: Fully constrained sketch no errors but missing hole.

Post by koirat »

thomas-neemann wrote: Sat Oct 16, 2021 5:09 pm one sketch is double, if i erase half of it, it works for me
Thank you.
drmacro
Veteran
Posts: 8980
Joined: Sun Mar 02, 2014 4:35 pm

Re: Fully constrained sketch no errors but missing hole.

Post by drmacro »

Just for contrast, here is a version with a much simpler way to create the hole sketches with simpler geometry and taking advantage of polar symmetry.
(And I corrected the mutiple geometries you had created...)

The 2 SplineShaftRing sketches are now much easier to read and maintain. After I completed SplineShaftRing1Sketch, I simply did a CarbonCopy of it in SplineShaftRing2Sketch and changed the two diameter values.

Makes your work easier. :mrgreen:
Snip macro screenshot-35eaf3.png
Snip macro screenshot-35eaf3.png (115.67 KiB) Viewed 1388 times
Attachments
SplineShafRingSpanner-mac.FCStd
(86.93 KiB) Downloaded 33 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
koirat
Posts: 66
Joined: Tue Oct 05, 2021 5:24 pm

Re: Fully constrained sketch no errors but missing hole.

Post by koirat »

I might have found a BUG, or you have changed PolarPattern occurrence to 3 and saved it.

When I open the project I see it properly but when I double click on sketch and than close, it breaks and show 3 occurrences instead of 6. (the same is when I do recompute object on polar pattern)

Thank you for your effort but there is actually a reason why I'm not using a PolarPattern in this case, I use this sketch pattern in some other sketches by carbon copying.

Still as you have noticed my sketch is overly complicated, sadly speaking I had some problems with over-constraining when I have tried to make it more readable. This is why I ended up making it the ugly way.
drmacro
Veteran
Posts: 8980
Joined: Sun Mar 02, 2014 4:35 pm

Re: Fully constrained sketch no errors but missing hole.

Post by drmacro »

koirat wrote: Sat Oct 16, 2021 7:07 pm I might have found a BUG, or you have changed PolarPattern occurrence to 3 and saved it.

When I open the project I see it properly but when I double click on sketch and than close, it breaks and show 3 occurrences instead of 6. (the same is when I do recompute object on polar pattern)
Nope, still all set to 6 here... :roll:

And, if I download the uploaded file and open the download version, they are set to 6... :?

Could be because I'm using 0.20. ;)
Thank you for your effort but there is actually a reason why I'm not using a PolarPattern in this case, I use this sketch pattern in some other sketches by carbon copying.

Still as you have noticed my sketch is overly complicated, sadly speaking I had some problems with over-constraining when I have tried to make it more readable. This is why I ended up making it the ugly way.
I used carbon copy between the sketches as well. I don't see the problem...work smart, not hard. :mrgreen:
Last edited by drmacro on Sat Oct 16, 2021 7:17 pm, edited 1 time in total.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Shalmeneser
Veteran
Posts: 9558
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Fully constrained sketch no errors but missing hole.

Post by Shalmeneser »

koirat wrote: Sat Oct 16, 2021 7:07 pm I might have found a BUG, or you have changed PolarPattern occurrence to 3 and saved it.
It's an old bug (keeping to 3), now repaired.
User avatar
Shalmeneser
Veteran
Posts: 9558
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Fully constrained sketch no errors but missing hole.

Post by Shalmeneser »

More simple.
Attachments
SplineShafRingSpanner-mac_SHALM.FCStd
(55.4 KiB) Downloaded 28 times
Capture du 2021-10-16 21-33-16.png
Capture du 2021-10-16 21-33-16.png (12.93 KiB) Viewed 1272 times
Syres
Veteran
Posts: 2899
Joined: Thu Aug 09, 2018 11:14 am

Re: Fully constrained sketch no errors but missing hole.

Post by Syres »

Shalmeneser wrote: Sat Oct 16, 2021 7:15 pm
koirat wrote: Sat Oct 16, 2021 7:07 pm I might have found a BUG, or you have changed PolarPattern occurrence to 3 and saved it.
It's an old bug (keeping to 3), now repaired.
No, the facts are not being made clear, the bug was 0.20 reading in 0.19 polar and linear patterns incorrectly. Show me where the documentation states 0.19 should read in 0.20 files, because backwards compatibility is a bonus not mandatory?
User avatar
Shalmeneser
Veteran
Posts: 9558
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Fully constrained sketch no errors but missing hole.

Post by Shalmeneser »

Syres wrote: Sat Oct 16, 2021 7:43 pm No, the facts are not being made clear, the bug was 0.20 reading in 0.19 polar and linear patterns incorrectly. Show me where the documentation states 0.19 should read in 0.20 files, because backwards compatibility is a bonus not mandatory?
What's the version of the FC file ?
What's the version of the FC reader ?
Post Reply