Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: Helix method generates inconsistent B-Splines

$
0
0

Jon,

I am using V8i version 08.11.09.459

I am accessing the API through .NET linked to Mathematica so my code wouldn't be of much use to most, but here is a modification of the relevant parts of the "Flattening Elements" example for Helix in the VBA docs that resembles how I am using it:

startPt = Point3dFromXYZ(1, 0, 0)
axis  = Segment3dFromXYZXYZStartEnd(0, 0, 0, 0, 0, 1)
oBsplineCurve.Helix 1, 1, startPt, axis, 1, False
Set oElement = CreateBsplineCurveElement1(Nothing, oBsplineCurve)
oElement.color = 0
ActiveModelReference.AddElement oElement
oElement.Redraw

axis  = Segment3dFromXYZXYZStartEnd(0, 0, 0, 0, 0, 0.33333333333)
oBsplineCurve.Helix 1, 1, startPt, axis, 1, False
Set oElement = CreateBsplineCurveElement1(Nothing, oBsplineCurve)
oElement.color = 3
ActiveModelReference.AddElement oElement
oElement.Redraw


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>