Q&A - Question

about show pipelins in 3D

Question
dual asked on February 10, 2017, keyword: Developer Kernel
I can set FalseZ to show rain pipeline in 3D, but pipelines are sloping. For example, the height of the beginning is 46.2m, while that of the end is 46.12m. How to show this kind of sloping lines in 3D?
Answers
JSL replied January 18, 2017
increase the Z Scale
dual replied January 18, 2017
I tried to increase the Z Scale but It isn't Useless. Codes are below.
-----------------------
                    Dim shape As TGIS_Shape = layer.FindFirst
                    While shape IsNot Nothing

                        shape.Params.Line.Width = 100
                        shape.Params.Line.OutlinePattern = TGIS_BrushStyle.gisBsClear
                        shape.Params.Marker.Style = TGIS_MarkerStyle.gisMarkerStyleCircle
                        shape.Params.Line.OutlineWidth = 0

                        shape.Params.FalseZ = 30
                        shape.Params.ScaleZ = 10
                        shape.Params.FalseM = 0

                        shape = layer.FindNext
                        i = i + 1
                    End While
-------------------------

Kindly let me know, what is the issue.

Regards.

danrai
Tomasz Kosinski (TatukGIS) replied January 18, 2017
By using FalseZ or FalseM you change the value for a whole shape.

You should change all your shape to 3D and edit XYZ value for each vertices.
 
JSL replied January 18, 2017
ttkViewer.Viewer3D.ScaleZ := 7;
Danv replied February 10, 2017
Showing a slope in a pipe can only be done if the separate coordinates of the pipe have their own Z value.
Als nice to know is that you can use the diameter of the pipe e.g. as attribute for the M-value.

you will than see the different pipe diameters also in 3D.
If you would like to answer the question please Sign In.
*
*
Please review our recent Privacy Policy.
If you have any questions or requests, please contact us.
Rules
The Questions and Answers (Q & A) is intended to provide a means of communication between TatukGIS customers.
 
  1. Licensed users (with active maintenance play) of TatukGIS products may contribute to the Q & A content. Read-only access is available to anyone.
  2. Keep the content positive and professional.
  3. Be courteous to others by posting information when a question or issue asked on the Q & A is answered or resolved by other means (such as with help from TatukGIS technical support). Offer others at least a hint how the posted question was answered or the issue was resolved.
  4. The Q & A is not a replacement for TatukGIS technical support. TatukGIS team may or may not regularly follow or contribute content.