Rhino 6: Finding object at certain length of a line

Hello,

I am using Rhino to take measurements of foot meshes. I have chosen certain points to define a line as the foot axis. I used the axis to create contour lines down the foot (to measure things like instep girth etc).

I want to extract the contour lines that correspond to 50%, 66.6% and 75% of the length of the line I defined. Is there an easier way to do this than using the cartesian coordinates of each object?

For reference, the photo shoes the line running through the foot defining my foot axis, and one of the contour lines I’ve generated along the foot.

rhinohelp

Hello - here’s what I’d try, I think - you can mark off the line with points using the PercentageSnap then make Sections snapping to the points. You could use PercentageSnap within Section but I think that would be awkward. Hold on a few minutes, I’ll make a clip.

Note you can access ‘Percent’ (=PercentageSnap) via Shift-Right-Click on the OSnap toolbar.

-Pascal

1 Like

@pascal Wow. This pretty much does exactly what I need. Thank you so much for the clear and concise clip!

I just have one more question for you: I need to make sure the sections are also perpendicular to the foot axis. However, when I try to select “End of Section” it won’t snap to become normal with the axis, even with perp snap enabled. Is there something I’m doing wrong?

Hello - the easiest is probably to make some lines ‘Perpendicular’ to the axis line - you can even make these with Percentagesnap, or after and then use the lines to guide the sections (Near Osnap) Or, set a custom CPlane on the line (i.e. X axis on the line using the Cplane > 3Point option) and use Ortho to lock the section lines ortho to the X Axis.

-Pascal

Hi @pascal

Those are great suggestions. I ended up simply copy/pasting the original axis and moving it over a bit and using it to place the second point. I think since it pastes in the same orientation the line remains parallel. Let me know if that sounds wrong.

Thanks again for your amazing help

Hi @pascal
look like percentage are shown on wrong position?
please find a couple of screenshot of this
and systeminfo below

thanks!



Rhino 7 SR12 2021-10-12 (Rhino 7, 7.12.21285.17001, Git hash:master @ 483b7829bea556f3f57cd592b5c685ea0f0a9521)
License type: Commercial, build 2021-10-12
License details: Cloud Zoo

Windows 10.0.19043 SR0.0 or greater (Physical RAM: 32Gb)

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 SUPER (NVidia) Memory: 8GB, Driver date: 9-13-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 472.12
> 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: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 9-13-2021
Driver Version: 30.0.14.7212
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino
C:\Users\luca\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PetersTools\3.1.2\PetersTools.rhp “PetersTools” 3.1.7915.41915
C:\Users\luca\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\XNurbs (80be33b0-13b2-4ac4-9c77-03829214f9e9)\5.1.1.3\XNurbsRhino7.rhp “XNurbs”
C:\Program Files\Orca3D V2\Orca3D.rhp “Orca3D” 2.0.22.0
D:\Dropbox\CAD\Rhino_Plugin\SafeLayout.rhp “SafeLayout” 1.1.0.0
C:\Users\luca\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\Notilus_Clipper (eccc432b-7947-4008-a2ac-6c7e27f58a93)\1.0.0.0\NotilusClipper\Notilus_Clipper.rhp “Notilus_Clipper” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 7\Plug-ins\RhinoBonusTools.rhp “Rhino Bonus Tools”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\QuadRemesh\QuadRemesh.rhp “QuadRemesh” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.12.21285.17001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
C:\Users\luca\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SectionTools\2021.4.30.511\SectionTools.rhp “SectionTools”

Hi Luca - I would disable all of the plug-ins shown in the ‘Rhino plug-ins that do not ship0 with Rhino’ in Options > PLug-ins page and then close and restart Rhino, then see if the problem persists.

-Pascal

Hi @pascal,

FYI I noticed the other day that percent didn’t seem to have any effect: values were being taken as distances as normal. I didn’t have time to investigate and am not at my computer. That was latest 7.11 src - haven’t checked in 7.12.

Regards
Jeremy

Hi Jeremy - I am not sure I follow, quite…

As far as I can see is does work here.
-Pascal

Sorry, I was trying to use it in _Divide. Does it only work for placing a point?

Hi Jeremy - yes - just like other snaps, only useful when Rhino is looking for a point.

-Pascal

1 Like

One for the heap?:

And a request: Could consideration be given to adding a percentage option to distance along curve functions like Divide and ArrayCrv? Or maybe a Point option, like Split, that could then take a PercentageSnap, would have wider application as it could also cater for setting intervals based on intersections without having to measure the relevant distance.

Thanks
Jeremy

1 Like

Yep, got that, thanks.
RH-65989 Split: Accept Percentage snap for Point option

RH-65990 OrientOnCrv: use Percentage osnap

I’ll request the second bit.
@jeremy5 - assuming the snap can be made available in the Split > Point context, I think the second part of your request may be the more useful - add Point options. I can ask for those anyway, it seems like that would be useful regardless.

-Pascal

I agree!

Thanks Pascal.

Hi Pascal,
disabled all plugin which does not ship with Rhino but percentage still showing garbled near the origin

Hi Luca - hm - I just realized I get no numeric display from Percentage at all… Investigating… OK, they are way off screen - thanks @luca4 - we’ll fix it.

RH-65995 Percentage snap: numbers displaced

-Pascal

Thank You Pascal!

RH-65995 is fixed in Rhino 7 Service Release 12

1 Like

Thank You,
you fixed this so fast!