Boolean Cut in Part Design with spherical surface

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
zeitoon
Posts: 2
Joined: Tue Feb 07, 2023 1:14 am

Boolean Cut in Part Design with spherical surface

Post by zeitoon »

I am modelling a lens holder that needs to be contoured to the spherical surface of a lens. I have a Part Design Body of the lens holder and a Body of the Lens itself. When I boolean cut the Lens out of the LensHolder it results in a mess of a mesh. I tried using the boolean operation in the Part WB and I got a similar result.

Without doing a boolean cut I'm not sure how to model this feature. I tried doing a Subtractive Sphere on the LensHolder body itself but I have no way of preventing it from cutting the rest of the model.

Is there a way to make boolean cut work or another way to model this feature?
Capture.JPG
Capture.JPG (54.21 KiB) Viewed 299 times
Capture2.JPG
Capture2.JPG (62.12 KiB) Viewed 299 times

Code: Select all

OS: Windows 10 Version 1909
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/Canada (en_CA)
Installed mods: 
  * Assembly4 0.12.4
  * ExtremeProDark 2.6.4
  * fasteners 0.4.24
  * toSketch 1.0.1
Attachments
lens_holder_bottom_bool.FCStd
(608.09 KiB) Downloaded 8 times
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Boolean Cut in Part Design with spherical surface

Post by Shalmeneser »

:idea:
from scratch, not using your bodies
Attachments
lens_holder_SHALM.FCStd
(334.93 KiB) Downloaded 8 times
Capture d’écran 2023-02-07 084850.jpg
Capture d’écran 2023-02-07 084850.jpg (82.15 KiB) Viewed 227 times
Capture d’écran 2023-02-07 084924.jpg
Capture d’écran 2023-02-07 084924.jpg (52.8 KiB) Viewed 227 times
zeitoon
Posts: 2
Joined: Tue Feb 07, 2023 1:14 am

Re: Boolean Cut in Part Design with spherical surface

Post by zeitoon »

Shalmeneser wrote: Tue Feb 07, 2023 7:51 am :idea:
from scratch, not using your bodies
Wow thank you! I learned a lot looking through that
Post Reply