(BUG) wrong coordinate input (world/cplane)

houseOfBug_00.3dm (86.7 KB)

Version 8 SR14
(8.14.24345.15001, 2024-12-10)

I use the above house with a custom c-plane on the roof to explain coordinate input (cplane, world, relative) to my students.

in current Version, a world-Coordinate Input will disrupt the next cp-plane input without a Z-value.

how to repeat:
set a cplane somewhere in space.
input one line after another, or as a macro:

_polyline
0
30,20
r10,10
; the next point in world coordinate (w) without a z-coordinate will tricker the Bug
w20,20
; the next point should be in cplane coordinate, it is previewed in cplane, but drawn in world
50,30
; the next point is the same, but is drawn correctly:
50,30,0

@Gijs can you please direct this issue to the correct person ? thanks.

kind regards -tom

hmm, I wasn’t able to repeat that here in the latest.

systeminfo_tom_PC_vmware.txt (2.4 KB)

this is what I get - reliable and repeatable also after restarting…(lazy macroeditor-version, but i get the same if i type the single coordinates)

currently on a vmware machine… but I doubt that this can affect this detail…see system info above.

??

Looks like this is happening for me, also. Rhino 8 SR14.

I tried in 8.14.24345.15001, as well, but still working as expected.

@Tom_P can you disable all plugins that don’t ship with Rhino and see if that solves?
@habudg pls run _SystemInfo in Rhino and post back the results

Rhino 8 SR14 2024-12-10 (Rhino 8, 8.14.24345.15001, Git hash:master @ cdb74b46090a23fe242c51b288886f76467a741b)
License type: Commercial, build 2024-12-10
License details: Cloud Zoo

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3080 Ti (NVidia) Memory: 12GB, Driver date: 12-3-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 566.36
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0

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: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 12-3-2024
Driver Version: 32.0.15.6636
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

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.14.24345.15001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.14.24345.15001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.14.24345.15001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.14.24345.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.14.24345.15001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.14.24345.15001
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\Calc.rhp “Calc”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

I tried on three different machines here without luck to reproduce this issue.

One thing to note is that the preview displays the correct CPlane for 50,30. However as soon as I hit Enter, it moves to the other CPlane (World).

I also have the correct preview, final point wrong.
@Gijs
see test in safe mode post below:

system info in safe mode
Rhino 8 SR14 2024-12-10 (Rhino 8, 8.14.24345.15001, Git hash:master @ cdb74b46090a23fe242c51b288886f76467a741b)
License type: Educational, build 2024-12-10
License details: Stand-Alone

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 16GB)
Running on a virtual machine: VMware7,1
.NET 7.0.20

Computer platform: DESKTOP 

Standard graphics configuration.
  Primary display: VMware SVGA 3D (VMware, Inc.) Memory: 4GB, Driver date: 7-6-2021 (M-D-Y).
    > External USB display device with 8 adapter port(s)
        - Windows Main Display attached to adapter port #0

OpenGL Settings
  Safe mode: On
  Use accelerated hardware modes: On
  GPU Tessellation is: Off
  Redraw scene when viewports are exposed: On
  Graphics level being used: OpenGL (null) (primary GPU's maximum)
  
  Anti-alias mode: None
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  
  Vendor Name: Unknown
  Render version: (null)
  Shading Language: (null)
  Driver Date: 11-11-2021
  Driver Version: 27.20.14540.15002
  Maximum Texture size: n/a
  Z-Buffer depth: n/a
  Maximum Viewport size: n/a
  Total Video Memory: 8176 MB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\Commands.rhp	"Commands"	8.14.24345.15001
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.14.24345.15001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.14.24345.15001

still the same, bug consist with no plug-ins loaded / safe mode.
maybe an issue with language settings / keyboard layout / globalisation ?

kind regards - tom

Hi -
I’ve put this on the list as RH-85601 CPlane: Coordinate Lands in Mixed CPlane
-wim

EDIT: @Tom_P - This behavior is by design. You can turn off Planar to have those points fall on the custom CPlane.

That is good to know. But shouldn’t the preview show the point on the correct CPlane based on the state of Planar? It seems confusing when it doesn’t.

are you sure ?
as far is i am aware the rule is, that we can omit z=0.
therefor
50,30
and
50,30,0
should result in the same final coordinate ?

or I am wrong ? - is it
50,30 (...let planar on/off decide about z)

EDIT:
ok

will result in the expected behaviour / points,
50,30 and 50,30,0 become the same points.

but please explain me the behaviour when planar is turned on.
( I don t see the logic behind it, why should w20,20 trigger a new z-height ?
why does keyboard input is affected in a strange why by “planar” but not by “project”)

maybe the changes from RH-20212 @mikko do not cover all aspects ?

thanks for having a look at this. - kind regards.