Custom Linetype Bug?

Anyone else seeing this bug in their custom created linetypes?
Setting for all are the same aside from the cap-style, which shows a bug, or quite possibly, user error. The behavior is slightly different when the line is at an angle. Global linetype scale is set to 1, PrintDisplay is off, per line scale is at 1.00.

Do you have a file you can share? I’m curious to see the shape input lines.

Thanks @Trav I lost power and had to recreate the file, but here it is attached. System info below as well.

Rhino 9 SR0 2026-9-1 (Rhino 9 BETA, 9.0.26244.12303, Git hash:master @ 5007fbd7b46c04cee8e766232af7a8896598fb4e)
License type: Commercial, build 2026-09-01
License details: Cloud Zoo
Expires on: 2026-10-16

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 128GB)
.NET 10.0.8

Computer platform: DESKTOP

Standard graphics configuration using DirectX
Primary display: NVIDIA GeForce RTX 3090 (NVidia) Memory: 24GB, Driver date: 6-11-2026 (M-D-Y). DirectX(11)

Accelerated graphics device with 4 adapter port(s)

  • Windows Main Display attached to adapter port #0

Secondary graphics devices.
Intel(R) UHD Graphics 770 (Intel) Memory: 1GB, Driver date: 2-3-2022 (M-D-Y).

Integrated graphics device with 4 adapter port(s)

  • There are no monitors attached to this device!

DirectX Settings
Safe mode: Off

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino

CUSTOM LINETYPES.3dm (18.1 MB)

C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoBonusTools.rhp “Rhino Bonus Tools”
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxRhino.9.rhp “3DxRhino.9”
C:\Program Files\Rhino 9 WIP\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.26244.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

Hi Brian -

You are using imperial/customary units so I’m in deep water…
In the file you have posted, you have changed the segments from “1” in your picture, to “25.40”. As long as you don’t have a comma-separated list of values, the number (nor units) you use in that field doesn’t change anything, so you might as well leave it at “1”.

As for the ends of your curves - I don’t think it’s considered a bug that the underlaying curve shows at the very ends of a curve that has a linetype with shapes assigned.

Since you have set your linetype width to be 1 inch, you get this big blob at the ends, especially when adding an extra cap.

You have defined the shapes in such way that they are 1 inch thick, so you don’t need to also add that information to the core curve as well.

When I change their widths from 1 document unit (inch) to 1 px, they look like this:

-wim

Thanks @wim . I am not seeing where I changed the value from 1 to 25.40? Could it be that you opened the file in a metric template?.. as 1" = 25.4mm

I understand now. Thank you. It also seems to be related to the fact i was using the bounding box option. I switched it to Manual and set the spacing and gap to 1.0 which now looks correct. Also changed widths to 1 px as well.

Hi Brian -
Glad to see that you’re all set on this issue.

Interesting. I’m simply opening your file, not importing it into a metric file.

@Trav - ideas?
-wim

The Segment Unit is actually always MM under the hood in the file (because all printing is based off of MM). The UI remembers the last unit setting that was chosen and just displays that by default but doesn’t affect the outcome.

There does seem to be a potential bug here with those end caps though.