"Solid" clipping plane

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: "Solid" clipping plane

Post by ickby »

Very nice progress, impressive! I imagine if this is controlled by the Part viewprovider one could enable th esolid clipping really only for solids, and not shells. That would be wonderful as this gives realistic results and a good debug possibility
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: "Solid" clipping plane

Post by HoWil »

looo wrote: Sun Apr 23, 2017 10:21 am
HoWill wrote:Is this possible without blocking the Task-panel as the original clipping tool does?
Maybe the SoClipPlanManip node could be useful. I think drawing the cap is not that important for this task.

Code: Select all

from pivy import coin
sg = Gui.ActiveDocument.ActiveView.getSceneGraph()
clip_plane = coin.SoClipPlaneManip()
sg.insertChild(clip_plane, 0)
# sg.removeChild(clip_plane, 0)
Very nice! I had time to look at and use this again and love it! Would be nice if this would be included as standard feature next to "clipping plane" (without blocking the Task-panel. This is very, very, very (= extremely :D ) useful for FEM-wb.
BR,
HoWil
With a selection dialogue.
With a selection dialogue.
Screenshot from 2017-08-30 20-23-01.png (191.09 KiB) Viewed 2412 times
With a mesh.
With a mesh.
Screenshot from 2017-08-30 20-23-13.png (335.29 KiB) Viewed 2412 times
freecad-heini-1
Veteran
Posts: 7788
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: "Solid" clipping plane

Post by freecad-heini-1 »

There is some progress in the German section of the forum. Please have a look here:
https://forum.freecadweb.org/viewtopic. ... 29#p188929
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: "Solid" clipping plane

Post by HoWil »

freecad-heini-1 wrote: Wed Aug 30, 2017 7:12 pm There is some progress in the German section of the forum. Please have a look here:
https://forum.freecadweb.org/viewtopic. ... 29#p188929
Thanks freecad-heini-1, I know this post.
The main difference to the scripts from e.g. Mario is that here the original object is shown/clipped while with the scripts in the post above the names of the faces change because the solids are "cutted". For boundary and body selection in FEM it is necessary to get the original names of the faces and solids of the original shape.
BR,
HoWil
iari
Posts: 42
Joined: Mon Nov 18, 2013 8:52 pm

Re: "Solid" clipping plane

Post by iari »

Hello,
has there been any development on the issue of solid clipping plane? Can this feature be integrated in the clipping pane form, sooner or later?

Thank you!
igmar

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Italian/Italy (it_IT)
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: "Solid" clipping plane

Post by bernd »

it is integrated in FEM Workbench of FreeCAD 0.18 already.

bernd
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: "Solid" clipping plane

Post by pablogil »

bernd wrote: Tue Sep 18, 2018 6:07 pm it is integrated in FEM Workbench of FreeCAD 0.18 already.

bernd
Shouldn’t it be integrated as an horizontal feature for all workbenches?
Anyway, it’s nice to know that it is already working somewhere (I’m going to check it right now) :)

Cheers

EDIT: Oh, it’s not solid for me on Mac... it’s really easy to use, I really like the manipulator but the clipping plane doesn’t make it solid
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: "Solid" clipping plane

Post by wmayer »

bernd wrote: Tue Sep 18, 2018 6:07 pm it is integrated in FEM Workbench of FreeCAD 0.18 already.

bernd
Can you show us how to use it, please?
iari
Posts: 42
Joined: Mon Nov 18, 2013 8:52 pm

Re: "Solid" clipping plane

Post by iari »

wmayer wrote: Wed Sep 19, 2018 11:56 am
bernd wrote: Tue Sep 18, 2018 6:07 pm it is integrated in FEM Workbench of FreeCAD 0.18 already.

bernd
Can you show us how to use it, please?
Yes, please! It would be very useful.

Thank you
igmar
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: "Solid" clipping plane

Post by thschrader »

After FEM-run and creating post-processing pipeline:
hide pipeline in model-tree.
select a face on body (here Pad002)
push "clipping-plane"-button.
adjust clipping with the sliders.
done with:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14575 (Git)
Build type: Release
Branch: master
Hash: a624fee2c27bbbb869df6a8ce40438953a282a8c
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
FEM_clipping.JPG
FEM_clipping.JPG (187.28 KiB) Viewed 1911 times
Post Reply