Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Clean surface after offset in RhinoScript

$
0
0

@Oznerol wrote:

Hello everyone,

I am trying to put up a script (Rhinoscript) in order to offset a surface at a specified offset value.
My surface is curved, and because of that, there is a threshold offset value : any specified value above that threshold results in a weird curved offset surface (see image below).
image

This is quite normal, I don’t think there really is a way around this in the first place (or maybe limiting my original surface to avoid this, but finding the right surface domain corresponding to the offset value sounds like a really complicated task), but I’m struggling to get rid of that reversed surface on the edge.

I’ve tried different things, and one command that I thought could solve my problem is the “Split surface at creases” but somehow it doesnt work. I noticed that this weird surface does not have any sharp edge but it is rather curved, I don’t know if that prevent the “splitatcreases” command from working?

The closest I got to solving my problem was using the draft angle analysis, which was able to detect/delimit the offset surface right at the creases. That way I could manually extract the mesh of the offset surface I was interested in and then rebuild the surface from the mesh using the patch command.
However I need to do this in a script, not manually. I was able to find Rhino.ExtractAnalysisMesh in Rhinoscript, but I did not find the DraftAngleAnalysis script command. So I am unable to complete my script.

Does anyone have any idea on how can this be solved? that would be much appreciated.

I’m afraid I am not able to upload my file, but this same issue can be “simulated” using any simple curved surface with a sufficiently high offset value.

Thank you to anyone who might answer, and sorry for my English
Let me know if something is unclear

Regards,

Oznerol

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles