PartDesign Groove Issue (Cont.)

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
edwilliams16
Veteran
Posts: 3111
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: PartDesign Groove Issue (Cont.)

Post by edwilliams16 »

Here's another fix - it seems there's a coplanar issue with the green sketch that doesn't show up until later. Moving the edge out fixes things.
Screen Shot 2022-11-30 at 7.16.31 AM.png
Screen Shot 2022-11-30 at 7.16.31 AM.png (31.45 KiB) Viewed 1562 times
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: PartDesign Groove Issue (Cont.)

Post by domad »

Greetings to the Community!
...no problem in modeling using "Draft" for flat bases and "Part" for solidification
Attachments
SphericalGeometry2_Draft-Part.FCStd
(33.18 KiB) Downloaded 43 times
SphericalGeometry2_Draft-Part.png
SphericalGeometry2_Draft-Part.png (117.19 KiB) Viewed 1534 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: PartDesign Groove Issue (Cont.)

Post by Kunda1 »

Moved to PartDesign subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
pschindler
Posts: 13
Joined: Mon Nov 28, 2022 2:33 pm

Re: PartDesign Groove Issue (Cont.)

Post by pschindler »

domad wrote: Wed Nov 30, 2022 6:44 pm Greetings to the Community!
...no problem in modeling using "Draft" for flat bases and "Part" for solidification
Thanks for that suggestion as well.
Using Draft for the individual lines and arcs, and then "Part-Join-Connect" and "Part-Resolve" even gives a parametric solution that works. Although I am not familiar with the Draft Workbench, and it seems to be quite a slow process.

I think we should consider this to be a Part Design bug which needs fixing.
pschindler
Posts: 13
Joined: Mon Nov 28, 2022 2:33 pm

Re: PartDesign Groove Issue (Cont.)

Post by pschindler »

edwilliams16 wrote: Tue Nov 29, 2022 11:25 pm There's clearly some numerical fragility here. If I create the red sketch at the origin and then place it position, it works.

I would normally use groove over pipe - why use the more complicated tool - but here it seems to get around some problem that is as yet not fully understood.
I just tried that as well. This did not work for me. The file you attached is not cut correctly at the start of the cut.
edwilliams16
Veteran
Posts: 3111
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: PartDesign Groove Issue (Cont.)

Post by edwilliams16 »

pschindler wrote: Sat Dec 03, 2022 1:56 pm
edwilliams16 wrote: Tue Nov 29, 2022 11:25 pm There's clearly some numerical fragility here. If I create the red sketch at the origin and then place it position, it works.

I would normally use groove over pipe - why use the more complicated tool - but here it seems to get around some problem that is as yet not fully understood.
I just tried that as well. This did not work for me. The file you attached is not cut correctly at the start of the cut.
Obviously it worked for me.

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.30868 (Git)
Build type: Release
Branch: master
Hash: b3372a52054fc34c243ac508ce67717b1476f2a9
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * CurvedShapes 1.0.4
  * Curves 0.6.0
  * Curves.backup1667610597.862062 0.5.12 (Disabled)
  * DynamicData 2.46.0
  * fasteners 0.4.23
  * fcgear 1.0.0
  * GDML 1.8.0
  * Help 1.0.3
  * lattice2 1.0.0
  * MeshRemodel 1.8919.0
  * offline-documentation 1.0.0-alpha
  * offline-documentation.backup1668887250.997013 1.0.0-alpha (Disabled)
  * Pyramids-and-Polyhedrons
  * QuickMeasure-main
  * toSketch 1.0.1
  * Trails 2022.1.0
pschindler
Posts: 13
Joined: Mon Nov 28, 2022 2:33 pm

Re: PartDesign Groove Issue (Cont.)

Post by pschindler »

edwilliams16 wrote: Sat Dec 03, 2022 7:23 pm
pschindler wrote: Sat Dec 03, 2022 1:56 pm
edwilliams16 wrote: Tue Nov 29, 2022 11:25 pm There's clearly some numerical fragility here. If I create the red sketch at the origin and then place it position, it works.

I would normally use groove over pipe - why use the more complicated tool - but here it seems to get around some problem that is as yet not fully understood.
I just tried that as well. This did not work for me. The file you attached is not cut correctly at the start of the cut.
Obviously it worked for me.

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.30868 (Git)
Build type: Release
Branch: master
Hash: b3372a52054fc34c243ac508ce67717b1476f2a9
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * CurvedShapes 1.0.4
  * Curves 0.6.0
  * Curves.backup1667610597.862062 0.5.12 (Disabled)
  * DynamicData 2.46.0
  * fasteners 0.4.23
  * fcgear 1.0.0
  * GDML 1.8.0
  * Help 1.0.3
  * lattice2 1.0.0
  * MeshRemodel 1.8919.0
  * offline-documentation 1.0.0-alpha
  * offline-documentation.backup1668887250.997013 1.0.0-alpha (Disabled)
  * Pyramids-and-Polyhedrons
  * QuickMeasure-main
  * toSketch 1.0.1
  * Trails 2022.1.0
Mhm, maybe you did just upload an older version or something.
I checked again, I now found that there is still an attachment angle of 1° in the red sketch sketch, changing that to 0° works.

Do you know what can cause this "numerical instability", and what somebody can do in general to avoid it when designing (more complex models)?
Screenshot from 2022-12-04 08-31-58.png
Screenshot from 2022-12-04 08-31-58.png (222.26 KiB) Viewed 1321 times
Screenshot from 2022-12-04 08-32-16.png
Screenshot from 2022-12-04 08-32-16.png (181.41 KiB) Viewed 1321 times

Code: Select all

OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * Assembly4
  * kicadStepUpMod 10.12.7
  * CurvedShapes
  * ParameterGroup
  * sheetmetal
  * Silk
  * GlobalProperties
  * fcgear
  * fasteners
  * Curves 0.3.0
pschindler
Posts: 13
Joined: Mon Nov 28, 2022 2:33 pm

Re: PartDesign Groove Issue (Cont.)

Post by pschindler »

pschindler wrote: Sun Dec 04, 2022 7:45 am
edwilliams16 wrote: Sat Dec 03, 2022 7:23 pm
pschindler wrote: Sat Dec 03, 2022 1:56 pm
edwilliams16 wrote: Tue Nov 29, 2022 11:25 pm There's clearly some numerical fragility here. If I create the red sketch at the origin and then place it position, it works.

I would normally use groove over pipe - why use the more complicated tool - but here it seems to get around some problem that is as yet not fully understood.
I just tried that as well. This did not work for me. The file you attached is not cut correctly at the start of the cut.
Obviously it worked for me.

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.30868 (Git)
Build type: Release
Branch: master
Hash: b3372a52054fc34c243ac508ce67717b1476f2a9
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * CurvedShapes 1.0.4
  * Curves 0.6.0
  * Curves.backup1667610597.862062 0.5.12 (Disabled)
  * DynamicData 2.46.0
  * fasteners 0.4.23
  * fcgear 1.0.0
  * GDML 1.8.0
  * Help 1.0.3
  * lattice2 1.0.0
  * MeshRemodel 1.8919.0
  * offline-documentation 1.0.0-alpha
  * offline-documentation.backup1668887250.997013 1.0.0-alpha (Disabled)
  * Pyramids-and-Polyhedrons
  * QuickMeasure-main
  * toSketch 1.0.1
  * Trails 2022.1.0
Mhm, maybe you did just upload an older version or something.
I checked again, I now found that there is still an attachment angle of 1° in the red sketch sketch, changing that to 0° works.

Do you know what can cause this "numerical instability", and what somebody can do in general to avoid it when designing (more complex models)?

Screenshot from 2022-12-04 08-31-58.png
Screenshot from 2022-12-04 08-32-16.png

Code: Select all

OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * Assembly4
  * kicadStepUpMod 10.12.7
  * CurvedShapes
  * ParameterGroup
  * sheetmetal
  * Silk
  * GlobalProperties
  * fcgear
  * fasteners
  * Curves 0.3.0
When I fix the angle of the red sketch in your file, and fully constrain the red sketch it again does not work!
Although it really works with the partially constrained sketch. Really weird.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: PartDesign Groove Issue (Cont.)

Post by Kunda1 »

@pschindler please keep your replies succinct (no need to paste all previous replies), it's easier for others to read when you do.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply