RMB Split command: Unknown command: _Isocurve

Is the split command broken?

System Info

Rhino 8 SR15 2024-12-10 (Rhino 8, 8.15.24345.18001, Git hash:master @ 73c926a1bdc2630d5d19ed4299fac5f03bf2455b)
License type: Commercial, build 2024-12-10
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 128GB)
.NET 7.0.20

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA RTX A5000 (NVidia) Memory: 24GB, Driver date: 11-13-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 553.35
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 11-13-2024 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: 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: 11-13-2024
Driver Version: 31.0.15.5335
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 24564 MB

Rhino plugins that do not ship with Rhino
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\NVIDIADenoiser\0.4.3\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.3.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.15.24345.18001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Same problem occurs in Rhino 9 WIP…

Hi Martin -
Can you post the macro that you are running?
-wim

Hi Wim, it’s the normal command option. I just tried again and it worked fine on a simple four sided surface.

I think what confuses me is when running the command without a surface preselected, then click Isocurve and Rhino says Unknown command…

The unknown command message doesn’t seem to do anything and the split works

Command: _Split
Select objects to split ( Point Isocurve EdgeLoop ): _Pause
Select objects to split ( Point Isocurve EdgeLoop ): Isocurve
Select surface to split ( Shrink=No ): _Isocurve
Unknown command: _Isocurve
Select surface to split ( Shrink=No )
Split point ( Direction=U Toggle Shrink=No )
Split point ( Direction=U Toggle Shrink=No )
Split point ( Direction=U Toggle Shrink=No )
Splitting… Press Esc to cancel
One surface split into 3 pieces.
Command: _CommandHistory

Hi Martin -

I’m afraid I don’t know what that means. Without anything selected, do you first type _Split, then _Pause, and then click the command line option Isocurve.
-wim

No I just right click the button to run the Split by Isocurve command and then I clicked Isocurve in the command line. This is stupid because the command is already in the isocurve mode but then why is the option available in the command line?

Ha, a button. I’ll need hand-holding to find that…
-wim

Right click the Split button, then type ‘i’

This bug has been around for 20 years.The bug was created by making split by isocurve an option inside the split command instead of a standalone command.

I assume the button you clicking on has a macro that looks something like this:

split pause isocurve

So what its doing is looking for you to pick anything that can be split instead of looking for a single surface which is the only thing that can be split by an isocurve. If you remove the pause it should behave more like you are expecting when nothing is pre-selected but then it may still misbehave when something other than one surface is selected.

1 Like

In V7 it works as you want it. You don’t need to pick ISO in the command line.—-Mark

I understand I don’t need to pick _Isocurve again but as @jim mentioned, the bug has been there forever and I can confirm it’s the exact same thing in V7, V8 and V9 WIP.

Here’s a screenshot from V7:

If I start Split, and then type “i” the command behaves as expected:
image

Start the command with a right click.

Not limited to starting Split with a right click.

Start Split by any method, then click on Isocurve or type “i” so that “Select surface to split (Shrink-No)” appears.
Type “i” and
“Unknown command: i” appears.

Split started by typing “Split” on the command line.
Isocurve otion selected.
“i” typed.

Split started by typing “Split” on the command line.
“i” typed.
“i” typed a second time.

It appears the code needs to handle the redundent typing of “i” somehow other than the generic “Unknown command” response.

1 Like

Ok, so it appears that happens with all the commands when typing a character for a command option a second time…

Looks like the “error” / unexpected input handling needs to be improved.

1 Like

That doesn’t even begin to describe the bugs in Split by Isocurve.

Split by Isocurve can only work on one surface. If you pre-select what you think is one surface but is not, you will find there is no Split by Isocurve function and Rhino will send you off on a wild goose chase. For instance, if your pre-selection accidentally includes a curve you will find Rhino, instead of allowing you to split the surface you selected, tells you there is no Isocurve option and sends you off looking for a “cutting object”. Or suppose you select what you think is one surface but is actually 2 surfaces that are joined, again Rhino wants to go do something different than what you requested.

The idea that the user is not allowed to Split by Isocurve a joined surface is an absurd limitation. If a user wants to split a joined surface by Isocurve the user has to first extract the surface make the split and then join it back. There is no possibility of Rhino doing that for the user due to the bugs in Split by Isocurve. As far as Rhino is concerned Split by Isocurve function does not even exist if your surfaces are joined.

Yes, it would be nice if sub objects could be split by isocurve without having to explode a polysurface