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

Trying to reproduce Rhino's native Sweep1 behavior with RhinoCommon

$
0
0

@Helvetosaur wrote:

Hi all,

I am trying to sweep 2 profiles along one planar polyline rail - using native Rhino Sweep1, checking “untrimmed miters” gives a good result (file below).

However, I have tried various ways to reproduce this behavior in a script using RhinoCommon, but it always fails either to trim or extend… I have tried 3 different sweep methods:

  • Brep.CreateFromSweep()
  • Brep.CreateFromSweepSegmented()
  • Rhino.Geometry.SweepOneRail()

Haven’t got any of them to work correctly so far - what am I missing?

Sweep1PL.3dm (120.6 KB)

SweepPolylineTest1.py (1.1 KB)
SweepPolylineTest2.py (786 Bytes)
SweepPolylineTest3.py (795 Bytes)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5837

Latest Images

Trending Articles



Latest Images