Clipping plane filling in with the obj jpg in V8

Hi,
V8
in V5 the clipping plane looked like a slice through the object, as it should.
In V8 its using the obj jpg to fill in the area AROUND THE slice as well as across the slice itself.

Whilst copy paste has brought in the obj with its mapped image, looking good, and I am able to at last work on it, after the problems of a dogs breakfast with file import.
Clipping plane is doing this .

I havent moved it, its as it came in from V5.

IMPORTANTLY…even the file open and browse to the V5 file method, that displays the obj correctly, it also shows this incorrect section effect ! :rage:

How to solve this one ? Hi McNeel you have this file of mine please examine and see this issue.
whats the fix ?

has V8 other issues I have yet to discover ?

Steve

what is the file name, so that I can have a look? Did you upload it via the file uploader? Otherwise I don’t think I can access it.

Hi,
It was uploaded via the upload link a few weeks ago, .3dm and the three obj and jpg.

Wim might be able to help, as he found it for someone the other day.
the V5 file name is
RAF Type C Mk III EK NsideFrontBrakeAssy_RhinoV5 1to1InchDec template v4.3dm

and the V8 will start with that and then suffix say v5into v8 or something like that !

the obj that this problem is on is
OBJ M 2.2.0 TypeC MkIII EK NsideFrontBrakeAssyV3PSCAN allALIGN high2.9Kp6colvert
on layer
NO RULER V2 OBJ M 2.2.0 TypeC MkIII EK NsideFrontBrakeAssyV3PSCAN allALIGN high2.9Kp6colvert

That should find it.

Steve

I found the file, thanks.
I do see sometimes the issue that the fill is drawn even when I deliberately tell it not to. I’m still poking to see what is going on there.

I can’t find a workaround for this issue. It seems indeed Rhino 5 is doing a better job here. If this gets fixed soon I’ll send you a link to a build to test.

RH-86700 Clipping plane shows fills when it shouldn’t

Hi Steve -

When I copy-paste the mesh and the clipping plane from your model in inches to a default template in millimeter, that area around the slice is no longer filled. In your file, tightening the tolerance and moving the clipping plane back and forth to force a redraw also fixes that.

As for using the texture as fill, that is the default setting for clipping sections. You can change that from “Viewport” to, e.g., “None” in the section style:

… or use “Solid” as the pattern instead of “None” as it is set to now.

Note that your mesh gets flagged as a bad mesh when running MeshRepair on it. Also, running SelClosedmesh will select that mesh, eventhough it’s very clearly supposed to be an open mesh. Rhino 5 didn’t have the option to fill sections on open objects when the section itself is closed. This option is available in Rhino 8 and is on by default. Because this mesh says it’s a closed object, turning that off doesn’t have an effect in this case.

To have this work as in Rhino 5 for this mesh, you can change the Rendered display mode to not use section styles and turn off Show fills:

-wim

Hi
@wim
where is section styles, have wandererd my Mk 1 eyeball up and down prioperties cant find it.
if using the obj jpg as a fill is considered default worthy, someone has different ideals than me.

Steve

Hi,
Just where is Section Styles PLEASE.
as staring at this is awful.

cheers

Steve

Hi Steve -

By default, the section style is gotten from the layer property:

You can override this on an object:

-wim

Hi,
V8
not sure what setting to change mine match, except render, change that and the texture is lost so cant be that.


Steve

Hi Steve -

You change the section style:

-wim

Hi,
@wim
but my printscreen shows I had Section Style set to ’ By Layer’ .

yours is By Layer,
mine is ‘by layer’

and should this not be set by default to whatever it should be, so it doesnt do this, it never did so in V5.
we shouldnt have to spend time altering things back to what worked.

Steve

Hi Steve -

As you say, that’s your printscreen. Since you posted that, I assumed that you wanted to control the property on the object instead of on the layer. That’s something that you can do, as I pointed out earlier:

Personally, I would keep this property “By Layer” and then change that from the Layers panel:

-wim


I have just gone back to V8 as V5 has ground to a halt, and within seconds I get this.
here we fo again. V8 !

I cannot for the life of me fathom out HOW TO STOP THIS HAPPENING EVER AGAIN.
I never want to see this effect ever again, I want it to act like V5.
please, how does one stop this stupid default view from happening ?
whoever decided this was good to have wants seeing to !
in V5 its a void and one sees the inside of the mesh.
This is a visual disaster, major distraction and cannot be worked with.

Just where is the setting, as I cannot relate the screenies posted to my interface. the first is too thin , I am not sure where to get to that,
I see None for the layer the mesh is on, but no option in there to choose.
I was always told to import mesh then make material by object, but cant even see how to do that in V8, the little options list isnt there that I use in V5.
It worked in V5, i simple allocated the jpg and set objectDisplayMode to rendered.
If I alter method things wont work I fear.
Is there no setting in prefs to stop the jpg being used to fill in, so I can continue as normal ?

cannot go back to V5, and cannot use V8 now.

and then I get rotating blue ring forever, its crashed, so much for V8.
and V5 dead slow, so stuffed.

Steve

Hi Steve -

You can’t.

As I explained before, the default is that the background of the section cut is by “viewport”. When you are in a shaded display mode, it will get the color of the shaded object. When you are in a rendered display mode, it will get the material of the object.

As this is the default, you will always run into this if you keep the defaults.

But, as explained before, you can change the settings, and there are two different ways to go about this.

  1. You can change the display mode → turn off the “Show fills” option.
    If you create a new custom display mode and only ever use that one and never again the “Rendered” display mode, theoretically, you have made it so that you will never see this effect again…
  2. You can change the section style → change from “Viewport” to anything else.
    In Rhino 8, you will need to change this for every layer (or for every object if you apply section styles by object). In Rhino 9, a section style can be saved and reused - but it still will need to be applied to layers or objects.

That sounds like a hang, not a crash. In the Windows Task Manager, is Rhino still using the CPU? You can force a manual dump file from a hanging process and send that over to us. The instructions for doing so are here: Manually Creating a Memory Dump (DMP File) from an Unresponsive Rhino for Windows [McNeel Wiki]
In one of your many other threads, I’ve asked you for a zipped file of your settings but I haven’t seen that come in yet…
-wim

Hi
@Gijs

As I am back on V5 thanks to this, when is it going to get fixed ?
it needs to not do this by default, as V5 .
and when the upload is fixed, i can send settings made using a command to generate settings in Rhino8 as Wim asks for, if that is how to do it ? couldnt find the ask in a threaad, saw soemthing about %AppData% etc but couldnt find the address.
@wim
I then open an updated Rhino8, 2mins ago, and go new file, import the mesh I am working on in V5, an obj made by Agisoft.
Its white, I click it and look for the toothpaste icon, to set to object, and cant find it, then the layer properties panel vanishes, I cant get it back, then a message.


I was going to try for the Wim alter setings fix, but cant even get beyond this.
try for a bug export but not sure how.

Meanwhile I try again for settings Wim suggests, and cannot find them.
@wim

where is this setting ?

yet my section stle I see when I select the mesh, has nothing to change from Viewport, the drop down list has no 'viewport to change from, so makes me think wrong list.

I want to use R8 and cannot with this mess in my face. Why cant it just behave like R5 does on this.
and months on after this was reported.
stuck in R5 mode all that time.
Steve

Hi Steve -

Thanks for your opinion. Most users seem to expect the current behavior, though.

I’m not sure which upload you are referring to here.
I asked you for the settings folder a while back because I couldn’t reproduce the slowness when importing 3 large meshes from OBJ files. Your Rhino 3DM file, however, did show that issue, so - as stated before - we do not need your settings at this point.

I’m not seeing the link between importing an OBJ file and “then” that message appearing. You’d get that message when you import or open a 3DM file that is corrupted. By the name of that file, it’s a file that is created after a crash - not something that you’d want to open or import at all…

Rhino Options → View → Display Modes → [your_custom_mode] → Clipping Planes → Show fills

You need to turn off the “Use section styles” to be able to turn that off.

If you want to apply this to individual objects:

Properties panel → Section Style → Custom → Background

If you are referring to RH-86700, as you can see in the comments, your mesh object is both bad and for some reason is identified as a closed object when it clearly isn’t. I don’t know if that is generally the case with all meshes that are created by Agisoft, but apart from that causing the “Section open objects” toggle not to behave as one would expect, this isn’t something that should stop you in using it for the purpose that you do.

-wim

Just FYI here… If you’re using “SetObjectDisplayMode” (which you are in the file you provided), then you must make sure you also make the same changes in those modes… Since you apparently want V5 behavior across the board, then I would go through all of your display modes, and UNCHECK the “Use section styles” setting in “Clipping Plane Settings”… and if you don’t want fills, then UNCHECK “Show fills” as well… And again, you will need to do this for ALL display modes, especially if you plan on (continue) to use SetObjectDisplayMode to set specific modes for specific objects. V8 uses the display mode settings based on what an object is using and not what the view is using… most of time they’re the same thing, but in your case they are not. Thus making changes to your Shaded mode’s Clipping Plane Settings will have no impact on objects that are specifically set to use “Rendered” mode… you must make sure the same settings are made in the “Rendered” display mode as well in this case…

-J