Slicing a solid with a 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
hconel
Posts: 1
Joined: Wed Feb 20, 2019 5:54 pm

Slicing a solid with a surface

Post by hconel »

Hi,
I am trying to slice a cube with a surface. Solid is created by Pad command and surface is created by filling 4 spline edges.
Image
Image
I am expecting to get 2 bodies in the end and delete one. However, I was not able to achieve this via commands under Part workbench, Slice did not work.
Can you offer a workaround or point what I'm doing wrong?
Thanks in advance,
Huseyin
Attachments
hede.fcstd
(20.63 KiB) Downloaded 41 times
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: Slicing a solid with a surface

Post by chrisb »

Hi Huseyin, welcome to the forum.
Please add your FreeCAD info as described in the IMPORTANT link above. Serious enhancements have been made to the slice commands in 0.18. You should try in that version the command "Slice apart", it works here out of the box.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15525 (Git)
Build type: Release
Branch: master
Hash: 1a7d3d9a37fe43468c8ac84590c1db53e2b2000a
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
mark1791
Posts: 28
Joined: Fri Aug 03, 2018 1:41 am

Re: Slicing a solid with a surface

Post by mark1791 »

hconel wrote: Wed Feb 20, 2019 6:06 pm Hi,
I am trying to slice a cube with a surface. Solid is created by Pad command and surface is created by filling 4 spline edges.

I am expecting to get 2 bodies in the end and delete one. However, I was not able to achieve this via commands under Part workbench, Slice did not work.
Can you offer a workaround or point what I'm doing wrong?
Thanks in advance,
Huseyin
Hi Huseyin

As Chrisb says posting the version you use helps, but your part works with the single surface if you use the 'slice apart' command in the PartWB, you will need the latest 0.18 version, see below gif. Really useful addition in 0.18.

My version:-
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)

Slice_Apart.gif
Slice_Apart.gif (365.32 KiB) Viewed 1344 times
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: Slicing a solid with a surface

Post by chrisb »

It works in 0.17 as well, but you have to extract the parts yourself using a Part CompoundFilter.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
mrdic
Posts: 132
Joined: Wed May 10, 2017 4:25 am

Re: Slicing a solid with a surface

Post by mrdic »

There's another older school way from before surface booleans and not so reliant on versions or specialised tools: part extrude the surface beyond the cube and intersect extrusion and cube, then subtract extrusion from cube.
User avatar
meme2704
Veteran
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Slicing a solid with a surface

Post by meme2704 »

Hi
Without using Partdesign Wb, I propose this result
With more competent should get as well with Partdesign Wb
Attachments
surface.PNG
surface.PNG (33.92 KiB) Viewed 1292 times
surface.FCStd
(261.35 KiB) Downloaded 32 times
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: Slicing a solid with a surface

Post by chrisb »

hconel wrote: Wed Feb 20, 2019 6:06 pm Hi,
Are you still taking part in the discussion?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply