Clipping Plane Always Shows Model as a Shell?

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!
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Clipping Plane Always Shows Model as a Shell?

Post by shoogen »

wmayer wrote:So, the question is it worth to put a lot of effort into something that theoretically is correct but practically leads to much more problems than before?
The alternative is to create a Box or halfspace in the document and to the boolean cut/common. The drawback is that those helper features will claim the 'main' part as one of its children. And usually I don't want to keep those features, because all i want is a screen shot.
IMHO, it's fair to keep the current mode when navigating in 3D space. But i think i would be worth it, to have a button, that will cause the scene to render a correct section view of the solid(s).

On the other hand. Maybe a proper tool to generate (and manage) cut away views will fit the needs. And the section view can be left as it is now.
And once the assembly WB is complete we would have to think about such tool for exploded views as well.

in short:
IMHO There should be an easy way for the user to get a proper section view.
freecad-heini
Posts: 37
Joined: Wed Jun 20, 2012 9:02 am

Re: Clipping Plane Always Shows Model as a Shell?

Post by freecad-heini »

In Pro-Engineer Wildfire 3.0 are two possibilities for clipping.
First one is like we see in Freecad, it looks like only surfaces, the next is a closed clipping as solid.

Please check my video:
http://youtu.be/BsL-F3UNjLs

I guess it's not booleans.
They found a different way to show the clipping plane through a part or an assembly.
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Clipping Plane Always Shows Model as a Shell?

Post by wmayer »

I guess it's a bug, because in other cad systems like Pro/E or Solidworks the Clipping Plane shows the inner structure of a solid like a solid, not as a surface shell.
As shown in your video this is an extra option where you can turn it on to render it as a solid. So, from this point of view the above Mantis ticket must be rather a feature than a bug.
I guess it's not booleans.
There seems to be a way in Coin3d to get the intersection curves of the clipping plane with the solids. For solids this gives always a polygon So, what might work is to triangulate the polygon and display the additional faces.

http://doc.coin3d.org/Coin/classSoClipPlaneManip.html
http://comp.graphics.api.inventor.narki ... n-vertices
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Clipping Plane Always Shows Model as a Shell?

Post by bejant »

It seems I'm unable to change my Mantis ticket from Category = "Bug" to Category = "Feature"...
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Clipping Plane Always Shows Model as a Shell?

Post by wmayer »

No problem, I can do it.
nahshon
Posts: 224
Joined: Wed Jul 24, 2013 8:06 pm

Re: Clipping Plane Always Shows Model as a Shell?

Post by nahshon »

wmayer wrote: So, the question is it worth to put a lot of effort into something that theoretically is correct but practically leads to much more problems than before?
I would like to see that done but at low priority.
Mean while... I do not know how rendering is done... is it possible to render the inner side of a face with different color and properties? Would it be smaller effort?

-- Itai
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Clipping Plane Always Shows Model as a Shell?

Post by wmayer »

Mean while... I do not know how rendering is done... is it possible to render the inner side of a face with different color and properties? Would it be smaller effort?
There is a trick to achieve a similar effect.

In the preferences under Display > 3d view you can enable a backlight and define a different color. If you now select your shape and change its Lighting property from "Two side" to "One side" the inner color changes. However, you still have the shading effect. If you again go to the preferences and switch off the backlight the inner becomes totally black.
nahshon
Posts: 224
Joined: Wed Jul 24, 2013 8:06 pm

Re: Clipping Plane Always Shows Model as a Shell?

Post by nahshon »

wmayer wrote:There is a trick to achieve a similar effect.

In the preferences under Display > 3d view you can enable a backlight and define a different color. If you now select your shape and change its Lighting property from "Two side" to "One side" the inner color changes. However, you still have the shading effect. If you again go to the preferences and switch off the backlight the inner becomes totally black.
Thanks, that was helpful!
BTW, Another minor bug... After editing the lighting property (from "Two side" to "One side") FreeCAD did not mark the file as edited, and did not offer to save the file when closing.

-- Itai
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Clipping Plane Always Shows Model as a Shell?

Post by wmayer »

BTW, Another minor bug... After editing the lighting property (from "Two side" to "One side") FreeCAD did not mark the file as edited, and did not offer to save the file when closing.
Changes in the GUI are currently not supported in the undo/redo framework and thus a change there doesn't mark the document as touched.

https://sourceforge.net/apps/mantisbt/f ... .php?id=20
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Clipping Plane Always Shows Model as a Shell?

Post by bernd »

wmayer wrote: There seems to be a way in Coin3d to get the intersection curves of the clipping plane with the solids. For solids this gives always a polygon So, what might work is to triangulate the polygon and display the additional faces.

http://doc.coin3d.org/Coin/classSoClipPlaneManip.html
http://comp.graphics.api.inventor.narki ... n-vertices
Wow that would be fantastic! Has there been any progress in this regard?
Post Reply