Trim with the Line option is not working on a lot of surfaces in Version 7 SR16. See example surface that I can’t trim attached. In quick testing, it seems like the file has to have at least 1 object at or below z0 in order for Trim with Line to work.
Windows 10.0.19044 SR0.0 or greater (Physical RAM: 32Gb)
Computer platform: DESKTOP
Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3060 (NVidia) Memory: 12GB, Driver date: 4-8-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 462.31
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)
Anti-alias mode: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 4-8-2021
Driver Version: 27.21.14.6231
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 12 GB
Rhino plugins that do not ship with Rhino
C:\Users\phcre\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PetersTools\3.1.3\PetersTools.rhp “PetersTools” 3.1.7989.39042
C:\Users\phcre\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\NVIDIADenoiser\0.4.2\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.2.0
Just to be clear: I’m talking about when you select the Line option from the command line. Trim works as expected if I’m using a line that I’ve already drawn.
Command: _Trim
Select cutting objects ( ExtendCuttingLines=No ApparentIntersections=Yes Line ): Line
Start of cutting line
End of cutting line
Select object to trim, select pressing Shift to extend ( ExtendCuttingLines=No ApparentIntersections=Yes )
Splitting… Press Esc to cancel
Creating meshes… Press Esc to cancel
Select object to trim, select pressing Shift to extend. Press Enter when done ( ExtendCuttingLines=No ApparentIntersections=Yes Undo )
Command: _CommandHistory
Hm - since the Line option is a screen based thing, I wonder if there is some depth testing glitch - Peter, does the exact file you posted fail for you, or is it in the context of a bunch of other geometry? I’ll try reverting to 7.16 to test, maybe something got fixed, too.
I wasn’t quite correct about there needing to be something at or below z0.
If I draw a line at any height, trim using that line works, but trim using the Line command line option only works if the line or a point is below 35.5 for some random-seeming reason.
Sorry, I’m going to need better, more specific instructions to follow.
I opened your file and in the large Top view, typed the Trim command, clicked the “line” command line option, clicked two points to slash across your surface, then the top part to trim away.
It worked as expected.
What specifically are you doing differently to get it to fail?
Hey Peter, I just ran this every way I can imagine and it works here too.
I had one instance where it did not work but a view change and back (top to front and back) got it working again, it then worked in every other instance I tried. Only view it does not work is perspective, unless you change the cplane to be view based, then it works again.
I’m wondering if clearallmeshes and remaking the render mesh would help?
any chance you could post a screen recording of what you are seeing?
Windows 10.0.19043 SR0.0 or greater (Physical RAM: 16Gb)
Computer platform: LAPTOP - Plugged in [100% battery remaining]
Hybrid graphics configuration.
Primary display: Intel(R) HD Graphics 520 (Intel) Memory: 1GB, Driver date: 9-26-2018 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce GPU (NVidia) Memory: 1GB, Driver date: 7-5-2020 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 451.67
> Integrated accelerated graphics device (shares primary device ports)
- Video pass-through to primary display device
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 7-5-2020
Driver Version: 27.21.14.5167
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 1 GB