Featureline.PointAtStation elevation values
Lazarica-t opened this issue · 7 comments
Hi,
There seams to be a loss in precision for the Z values of the featureline points when the input station has a precision greater the 0.1 digits. This loss in precison is only present if the station is close to a PVI point.
As an example, what I've encountered, for a corridor at the station 166.25 I am getting in Civil 3D an elevation of 2.641m for the baseline and the featureline (the mark point for the featureline just having a 3m offset from the baseline, so the elevations should always be the same for both of them).
When I read the elevations at the same station in Dynamo I get a small difference of a few milliliters.
Normally I would just ignore this small loss in precision but in my case it does effect the model I'm trying to create in Revit.
Not sure if anything can be done to improve or fix this, but other users might want to be aware of this of this.
Best regards!
Bellow are some screens to show the issue, in which I sample the point values at stations 166, 166.2 and 166.25.
@Lazarica-t can you try again but with one station value at the time? I noticed you have different lacing set for the nodes. I assume you know what you are doing but just in case.
Also the Log file please.
There is no guarantee that the elevation from the Baseline is the same on the one on the Featureline as in principle they can have different grading, so your assumption is wrong.
Sure, no problem.
Log file: CivilConnection_temp.log
Well that doesn't sound to reassuring , since I specifically set the link between the Baseline point and the featureline mark point to have 0% slope (in Civil 3D in the Assembly properties). Weird.
@Lazarica-t what I mean is that Featureline can be independent from the Baseline for what concerns Offset AND Elevation, it's a matter of understanding what you are asking not reassuring.
@Lazarica-t extract the polycurve of the Featureline with code "P2", calculate the coordinate system on the baseline at the station you want, extract the ZXPlane, intersect the plane with the polycurve, extract the Z coordinate of the intersection point, if they are still different it means the polycurve in not horizontal in that point.
Double check with the coordinate system form the Alignment.
@paoloemilioserra That is the log for station 166.25
Here is the log after a fresh run for station 166.25
CivilConnection_temp.log
If you are referring to the value found inside the log 148.45 I believe that is a station used for another node in my dynamo script Corridor.GetFeaturelinesByCodeStation.
Here is the script so you can understand better:
00_Ref Po_TUN_adf_v2.zip
@Lazarica-t extract the polycurve of the Featureline with code "P2", calculate the coordinate system on the baseline at the station you want, extract the ZXPlane, intersect the plane with the polycurve, extract the Z coordinate of the intersection point, if they are still different it means the polycurve in not horizontal in that point.
Double check with the coordinate system form the Alignment.
I will check now and come back with the results.
@paoloemilioserra No luck, same values after the intersection with the ZXPlane
Coord system from the Alignment has the same values for X,Y coordinates and vectors as the ones from the Baseline
Thanks for you support, much appreciated.