R8 - Printing Bug - Lines Show Through Geometry - Technical DM

Hi @stevebaer ,

Starting a new thread for this specific print bug.

When printing Vector PDF from Rhino 8 with Technical Display Mode,

Lines sometimes show through the geometry in detail/layout views despite Hidden Lines being turned off in Technical Display Mode.

Model Space (Front View, Technical):

Layout Space (Front View, Technical):

Print:

Please see the attached files:
20231129_R8_Raster_Printing_Bug.3dm (4.8 MB)

Thank you all for your help!

EDIT:
It appears to be related to this:
https://mcneel.myjetbrains.com/youtrack/issue/RH-77340

Thanks, I created a new bug for this and we’ll start investigating.
https://mcneel.myjetbrains.com/youtrack/issue/RH-78688/Lines-Showing-Through

1 Like

Thanks @stevebaer , it’s worth mentioning I was running grasshopper definitions while this first occurred/I noticed it.

That being said, I’ve not been able to directly reproduce the issue in a new file from Grasshopper so I don’t know if it’s related or coincidental at this time but I’ll continue to watch and report.

Do you see this bug without ever running Grasshopper?

I do yes. Once it occurs, the bug is persistent and I can’t get rid of it unless I create a new viewport on the layout.

See here, previous viewport, and a new Detail View created atop:

Is there a way to “manually refresh” or reset the viewport capture?

EDIT:

In this video you can see that I reproduce the behavior when printing Technical Display Mode to Vector Rhino PDF, Raster PDF (Despite the other lineweight issues) does not show the lines coming through the building.

Here’s a small file demonstrating the issue.

Even if I set the curves to “SendToBack” they still are printed/drawn in the foreground when printing Technical Display Mode.

You can see in the video that Shaded Display Mode occludes the curves as intended and Technical Raster also does, but Technical Vector has all curves showing through regardless of moving their draw order.

Rhino 8 SR3 2023-12-13 (Rhino 8, 8.3.23347.03001, Git hash:master @ 72f2d85a753cf49c68c4f1949534efa983eb764e)
License type: Evaluation, build 2023-12-13
License details: Cloud Zoo
Expires on: 2024-01-28

20231213_Technical_Display_Mode_Curves_Showing_Through_Vector_Print.3dm (104.1 KB)

@stevebaer and @Gijs , do you see this on your end with the attached test file and Default Technical Display Mode with hidden lines turned off?

EDIT:
Surfaces with edges appear to be occluding correctly. It appears to be directly related to curves and leader objects

Shaded View:

Technical View (Vector Print Preview):

Leaders also cause issue:


@jeff bringing you into the fold on this particular realization, thanks!

@Matthew_Sorensen I think you might want to be brought in as well.

-J

1 Like

Hi Michael -

If you ask me, those are two completely different issues.
But, yes, I’ve been meaning to file this one for the past few months now, so, thanks!
→ RH-79091 Print: Technical mode with HLR does not clip curves

As for that first one in this thread, I can see the same in your file but I can’t reproduce that from scratch. Also, as you say, when you simply create a new detail, this doesn’t happen anymore. Additionally, this isn’t even limited to technical viewports, I see the same in your file when I set those details to Shaded and Rendered (with edges shown):

Simply unlocking those details, making them active, zooming to extents and then zooming back into the area you want, clears this up (done with that upper detail in the following picture).

It’d be interesting if you could find a way to create a detail in this state. Was Grasshopper involved in creating the details? As this issue landed in a “Printing Bug”, how is printing involved?
-wim

I believe you are right yes, half of the issue in the beginning of this post is related to the curves showing through though. All the curves coming through the house were generated in Grasshopper and baked to the Rhino model but in testing, such as the box test file, it appears to be related to curve objects themselves and nothing directly to do with Grasshopper (as far as I can tell)

Perhaps this is something to do with Grasshopper baking the curves dynamically and the viewport not refreshing properly upon each bake. I need to do a box test with the grasshopper script to see if I can reproduce for you all.

Okay, great, thank you, that will be my workaround for now!

I do have python scripts used to generate the details, layout sheets, and title blocks but those were not in use here.

These viewports were created manually and then the Rhino model was adjusted (by moving points, lines, etc. that influence the GH script) and then the result of the GH script gets baked to the Rhino doc.

The object types getting baked include Lines,Curves,Text Entities, Dimensions, Leaders, Polysurfaces/Breps, Surfaces, Blocks, Hatches, etc. (almost every geometry object type actually)

Also regarding the YouTrack I think it is worth noting that Leader objects are not properly occluded either. I haven’t tested with dimensions or other annotation objects but Curves and Leaders both do not occlude in the Technical Display mode when Vector output is set.

Thanks for following up on this @wim, I forgot how important Technical display mode was for my workflow until I had issues with it

Hi Michael -

But…

I’m trying to understand what you are saying, seeing, doing, but clearly failing? I’ll take this one step at a time, and you tell me where I go wrong, please.

I open “20231129_R8_Raster_Printing_Bug.3dm”.
This opens with layout “A3.2” visible in the viewport.
The issue with “things looking like wireframe” is only visible in two details on layout “A3.1”, so I make that layout active.
I activate the top detail.
I select the roof and the walls (i.e. 2 objects) and run Invert.

This is what I see:

The command line says that 132 curves and 1 surface are selected.
From having looked that that model before, I know that the surface is the little one at the top of the roof on the right. It looks like all curves are on a plane that is perpendicular to the current view.

I run Hide, and, just for good measures, run SelAll.

The command line reports that two polysurfaces are selected.

I go to a maximized perspective view in model space.

I deactivate the detail.

Do you agree that there are no curve objects visible in those two details?

As far as I can tell, it’s “simply” the camera of the two details on that layout that is messed up, and I would like to understand how they get into that state. As long as we don’t know how they got messed up, there’s nothing to solve here.

Is this the only file in which you see this (very specific) issue? There are two such details on a single layout. Is one a copy of the other?
-wim

1 Like

I think I’m having the same problem with Rhino 8 for Mac.

  • When I draw something with 2D lines on the back, and I use “Pen” shading style, I’m OK in the wiewports and in layout (the back 2D lines remain non visible.
  • In the PDF produced using the PDF printer provided by Rhino, i can see the 2D lines through the 3d geometry
  • As a last thing, i checked the “shade objects” box on the PEN settings, and now I cannot uncheck it

I had the same problem at a certain point on Rhino 5, which is the version I’m coming from, and many of the files showing the issue, were made on Rhino 5.
Nonetheless, I can’t afford to copying and pasting into a new file, because it would be an enormous amount of work

In attachments some screenshot of the problem

I can’t share the file for copyright reason, in case of necessity, I can make one for the specific purpose.

Model

Pdf print

Pen settings

1 Like

Hi all,

Chiming in here – having read through the thread, I thought I might be able to offer an example that at least clearly shows part of the problem, namely hidden lines “showing through” in technical view. I’ve also noticed that in some cases, exterior (non-hidden) lines are being incorrectly rendered as “hidden”:

No grasshopper, no python here. The fridge is a mesh, everything else is nurbs. Display mode is Technical with the lineweights and colors modified slightly (hidden lines in grey).

Model view:




Layout/detail view:



Printed/exported PDF view:

Here’s a closeup to show what’s happening – the hidden lines are being rendered “above” the rest, and the corner edge of the cabinet should be black, but isn’t:

1 Like

small update: the layering seems to work better with raster (not vector) pdf output, but that makes the pdf far bigger and less usable…

1 Like

Yes, that’s correct @samface . I agree, I need vector .pdfs for my outputs. I had to manually hide all the lines coming through my model for the last deadline I had. That was… painful haha.

I’m looking forward to this bug being fixed!

2 Likes

@michaelvollrath same. One trick I used that makes it slightly easier:

  • set the hidden lines to be their own color (i.e. light grey)
  • in illustrator, select one hidden line
  • do “select same stroke color”
  • set that selection to “multiply” blending mode.

Doesn’t fix the problem of some lines being improperly rendered, but does address (at least visually) the layering problem.

Here’s a simple example that shows the two problems (incorrect layering and incorrect line type/color):
layout-technical-test.3dm (6.1 MB)
layout-technical-test.pdf (111.0 KB)
systeminfo.txt (12.3 KB)

2 Likes

Any update on this? It’s really annoying and time-consuming to have to go in and fix every layout manually post-export…

1 Like

Hi Sam - it loks like in the perspective or oblique views, printing vector,

  • Intersection curves are not printed
  • line types are not correctly applied

RH-80895 Print: Technical mode glitches

-Pascal

1 Like

Hi Sam -

I filed that one as RH-80971 Print: Vector PDF: Hidden lines draw order
-wim

2 Likes

Hi, are there any updates on this issue?
Please set it to “high priority bug”, so that we can finally use Rhino for serious professional work.
Thanks!

Hi Michal,

There are a couple issues tracked here, with RH-80895 & RH-78688 still open and marked In-Progress. Is this in regard to one of the open or closed issues. Thanks

RH-80971
RH-80895
RH-79091
RH-78688
RH-77340

2 Likes