@Dany
sorry for the extreme delay. But I managed to find a better method to find a point inside the curve, hopefully this time it lasts with newer versions. I've updated the script rvb file, pls check.
Gijs
over 10 years
I can look into this probably tomorrow. Basically what it comes down to is finding a reliable method to place a point inside the shape: a point you would normally click on when doing this manually. So another thing you could do is replace the code that generates PointIn by asking the user to click a point inside the shape to offset.
I am currently not behind a Rhino machine but it will look like:
PointIn = Rhino.Getpoint("pick a point inside the shape")
Dany
over 10 years
oh well it was short lived... tried with ant without the -intwall for a simple rectangle and even shapes that used to work with the fix and boom... fail again... I know this is not your priority and you are very generous of your time. Let me know if I could help you to make this work bulletproof. I really need it.
Thanks again
Dany
over 10 years
works like a charm! (line 75 fixed it!) Saves me a ton of work. Thanks a lot
Gijs
over 10 years
I will look into it more closely when I have more time, but for now, if you change the script on line 75 to -intwall instead of intwall, it should work:
bc = Rhino.Offsetcurve(boundary, pointIn, -intwall / 2,, 2) ' the brim and rib inner line
I don't quite understand what is happening but it has to do with the reference point that is being used for the offset, which need to be on the inside of the curve (PointIn) but the code I wrote for that seems to fail. So the above is a quick fix and might fail on other shapes.
Gijs
over 10 years
Hi Dany,
thanks for your feedback.
I haven't used the script for quite a while and indeed it seems something is wrong. I will look into it and post an update as soon as I can find the culprit. I assume something has changed regarding offsets and rhino doesn't get fed with the right curves, resulting in closed shapes...
Dany
over 10 years
Hi, can you help me with this script? with latest Rhino (Version 5 SR8 64-bit
(5.8.40305.11495, 05/03/2014)) the script is not working anymore.. I used it once before and it was fine... I re-download it to make sure nothing was damaged but still same result. The boundary is now capped and the brim is not cap anymore...
Do you think something changed in Rhino?