| Product(s): | OpenBuildings GenerativeComponents | |
| Version(s): | CONNECT Edition | |
| Environment: | N/A | |
Overview
I would like to construct a BSpline Surface using Lines or Curves or a combination of both. What would be the best way to construct this?
Methods
Surface From Lines and Curve
In this method we will need a profile of the surface and a path .
- We will create a Line which will act as the path for the surface. A Polyline or Curve can also be used as a path for the surface.

- We will create a Curve which will act as a profile of the surface. The profile of the surface can be in any plane.

- Now for making the surface we use the BSplineSurface node (Technique: 'FromRailsAndSweptSections'). This node requires two inputs.

- We then select the Line node output and connect it with the Rail0 input and select the curve node output and connect that with the section0 input.
Please go through the sample file, communities.bentley.com/.../Surface-1.gct
Surface From Combination Of Points, Curves & Lines
In this method we will need a closed boundary to create the surface.
- For creating the boundary we will need two Lines and two Curves. We can create a boundary either by Lines, Curves or BSplineCurves.

- Now for the creation of the surface we need to take a BSplineSurface node (Technique: FromBoundarySurface). In that node requires four inputs.


- We need to use the Curve1 & Curve2 as inputs to UCurve0 and UCurve1; and Line1 & Line2 as inputs to VCurve1, VCurve0.

Please go through the sample file, communities.bentley.com/.../Surface-2.gct
There are also other Nodes & Techniques in GenerativeComponents that can be used to create surface.