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.
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 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.
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.
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
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: 220.127.116.1112
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)\18.104.22.168\XNurbsRhino7.rhp “XNurbs”
C:\Program Files\Orca3D V2\Orca3D.rhp “Orca3D” 22.214.171.124
D:\Dropbox\CAD\Rhino_Plugin\SafeLayout.rhp “SafeLayout” 126.96.36.199
C:\Users\luca\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\Notilus_Clipper (eccc432b-7947-4008-a2ac-6c7e27f58a93)\188.8.131.52\NotilusClipper\Notilus_Clipper.rhp “Notilus_Clipper” 184.108.40.206
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.
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.
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.