DesignScript Curve Translation,Geometry.CurveProject.OnPlane.WithDirectionVector#31– Code to Node to Code

Hi Everyone:

This is the thirty-first, in a series of forty-nine curve file translations. The file, Geometry.CurveProject.OnPlane.WithDirectionVector.ds, is the second in a series of three Curve-Project files from the DesignScript Editor (DSE) Sample files.

Geometry.CurveProject.OnPlane.WithDirectionVector.ds#31

Geometry.CurveProject.OnPlane.WithDirectionVector.ds#31

Open the file, Geometry.CurveProject.OnPlane.WithDirectionVector.ds in the DS  Editor and run it to check for errors.

Geometry.CurveProject.OnPlane.WithDirectionVector.ds-a#31

Geometry.CurveProject.OnPlane.WithDirectionVector.ds-a#31

Errors are generated due to “CurveProject.OnPlane.WithDirectionVector” not having the properties that are associated with them. Before looking viewing this in DSS, first the nodes must be translated.

Geometry.CurveProject.OnPlane.WithDirectionVector#31

Geometry.CurveProject.OnPlane.WithDirectionVector#31

After the initial translation, the errors appear when further defining the properties of Project-Curve.

Geometry.CurveProject.OnPlane.WithDirectionVector.ds-a#31-graph Node Errors

Geometry.CurveProject.OnPlane.WithDirectionVector.ds-a#31-graph Node Errors

We do note however, that these particular properties were able to be defined on the previous Curve-Project file, Geometry.CurveProject.OnPlane. The WithDirection Vector seems to be the problem. In order to complete the file, we can use the Project Curve Node as a stand-in for these subject nodes.

Geometry.CurveProject.OnPlane.WithDirectionVector#31a

Geometry.CurveProject.OnPlane.WithDirectionVector#31a

Again this is being brought to the attention of the DesignScript Team so these errors are appropriately addressed. Next is the translation of the Nodes back to code.

Geometry.CurveProject.OnPlane.WithDirectionVector#31b

Geometry.CurveProject.OnPlane.WithDirectionVector#31b

Other than the anomalies mentioned in this translation, further editing of the code isn’t required.

Geometry.CurveProject.OnPlane.WithDirectionVector#31-Graphic Window

Geometry.CurveProject.OnPlane.WithDirectionVector#31-Graphic Window

The results of the code(s) are shown in the Graphic Window above, and the files are available for downloading below.

Geometry.CurveProject.OnPlane.WithDirectionVector#31

Geometry.CurveProject.OnPlane.WithDirectionVector#31a

Geometry.CurveProject.OnPlane.WithDirectionVector#31b

Thanks for looking.

T!M

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s