"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
Posts: 2927
Joined: Wed Oct 05, 2011 7:36 am

Re: "Solid" clipping plane

Postby ickby » Tue Apr 25, 2017 8:15 am

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
Posts: 840
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: "Solid" clipping plane

Postby HoWil » Wed Aug 30, 2017 6:27 pm

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
Screenshot from 2017-08-30 20-23-01.png
With a selection dialogue.
Screenshot from 2017-08-30 20-23-01.png (191.09 KiB) Viewed 810 times
Screenshot from 2017-08-30 20-23-13.png
With a mesh.
Screenshot from 2017-08-30 20-23-13.png (335.29 KiB) Viewed 810 times
freecad-heini-1
Posts: 6002
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: "Solid" clipping plane

Postby freecad-heini-1 » 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
HoWil
Posts: 840
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: "Solid" clipping plane

Postby HoWil » Thu Aug 31, 2017 6:21 pm

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

Postby iari » Mon Sep 17, 2018 10:15 am

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
Posts: 8477
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: "Solid" clipping plane

Postby bernd » Tue Sep 18, 2018 6:07 pm

it is integrated in FEM Workbench of FreeCAD 0.18 already.

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

Re: "Solid" clipping plane

Postby pablogil » Tue Sep 18, 2018 9:02 pm

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
Site Admin
Posts: 14992
Joined: Thu Feb 19, 2009 10:32 am

Re: "Solid" clipping plane

Postby wmayer » 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?
iari
Posts: 42
Joined: Mon Nov 18, 2013 8:52 pm

Re: "Solid" clipping plane

Postby iari » Thu Sep 20, 2018 10:09 am

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
Posts: 1430
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: "Solid" clipping plane

Postby thschrader » Fri Sep 21, 2018 3:57 pm

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 309 times