Offset 3D curve | Triangulated beam

Hi community!

Another post about Offsetting curves… It seems that there is alot of posts on this topic. Although I didn’t find something useful for what I try to achieve.

I need to offset a 3D curve to make a triangulated beam. Here is my workaround. But their is an issue… when curvature is too big they do overlap …


Offset3Dcurve_CC_v1.gh (10.6 KB)

Regards,
-CC

Is there a reason why you don’t use the native gh offset componant? To avoid the problem with the offset direction you could offset the crv with positive & negative distance and test + sort them by their xy location afterwards to get the right one

This could be another way.


Offset3Dcurve_CC_v1_re.gh (17.1 KB)

1 Like

Just a thought, sweep an oriented triangles corners rather than deal with offsets.


SweepTri.gh (11.1 KB)

1 Like

@HS_Kim and @Michael_Pryor, thank you very much !! I learn alot from you both :wink:

I finally goes with this definition as I need curves as output. + base the curve division on distance more then number of division.

Offset3Dcurve_CC_v2.gh (21.3 KB)

Regards,
-CC

Here is the final result if some are interested by … :wink:



TriangulateBEAM_basedonCRV_CC_v1.gh (11.4 KB)

You can also use LunchBox Space Truss
TriangulateBEAM_basedonCRV_CC_v2.gh (20.7 KB)

1 Like

@seghierkhaled i didn’t know that !! I should explore this pluggin !! thank for the advice !