Sweep 1 RhinoCommon vs Sweep 1 command yield different results

Hi guys,

When using Sweep 1 rail in RhinoCommon I get a different result than by using the command in Rhino.

The command gives me 1 polysurface, while the method gives me multiple. Is the command doing other things behind the scenes that the method is not doing?

Attached file with geo internalised.

Any help will be great,

Thanks

Nicholas

Sweep1_RC.gh (81.5 KB)

Hi @rawitscher-torres,

Try using either Brep.CreateFromSweep or Brep.CreateFromSweepSegmented.

– Dale

Hi @dale , with both I get crazy results…

thanks

Nicholas

Hi @rawitscher-torres,

Can you post a simple model that has a set of curves you want the sweep and the results you expect to get? Also, include a screen capture of the Sweep1 dialog box.

Thanks,

– Dale

Hi @dale,

attached simplified gh input + rh file.

Thanks

Nicholas
Sweep1_RC_Simple.3dm (551.2 KB) Sweep1_RC_Simple.gh (6.3 KB)

Thanks,

– Dale

Sorry Dale! forgot about that one

Sweep1RailDialogueBox

Hi @rawitscher-torres,

Is the attached any better?

Sweep1Segmented.gh (4.1 KB)

– Dale