<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Grant,</p>
<p>Are you able to share one of these dxf files containing 3d data?</p>
<p>Note that there are two methods to load DXF in QGIS:</p>
<p>1. drag and drop: uses OGR to load the data - not very good at
keeping symbology</p>
<p>2. Menu "Project" --> "Import/Export" --> "Import Layer
from DXF/DWG". This method uses another library called libdxfrw
and imports the DXF/DWG into a new geopackage file. After that
import you are not using the DWF/DXF anymore but view the data
directly from the Geopackage. This method is much better if you
want to keep symbology. It converts blocks to SVG and does a
better job keeping labels than the first method.</p>
<p>Now about keeping 3D information: I am sure that version 1 keeps
z-information. I just tested it and if you use the "Info-tool" you
get 3d information in the derived attributes.</p>
<p>I am not sure about the second method. The 3D file I had a hand
did not load with the second method in my case.</p>
<p>Note: until recently, QGIS did not correctly render 3D polylines.
Only 3D polygons and multipatch geometries. So if you really want
to render 3d linestrings, you need a very recent master for
testing.</p>
<p>Hope this information helps - if you could share one of your
files, this would be great.</p>
<p>Andreas<br>
</p>
<br>
<div class="moz-cite-prefix">Am 26.08.2018 um 05:21 schrieb Nicolas
Cadieux:<br>
</div>
<blockquote type="cite"
cite="mid:FFDC0C96-1B41-4723-8922-F9FA92678A27@archeotec.ca">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div>Hi,</div>
<div><br>
</div>
<div>I have not worked with the 3D in QGIS 3 but I did do some
work with Qgis2treejs a few years ago. As far as I know, you
will not be able for visualise a dxf like you would in a CAD.
Qgis was, with that plugin more like a 2.5D where the ground
surface can be modelled with a raster surface and flat polygons
could be extended to make buildings with a z value. Maybe I
did not get to play enough with the plugin to find the proper
functions... maybe QGIS 3 has more built in function? Not sure
but I think you will need a real cad software in order to see a
real 3D structure. There are a few OpenSource CADs, none of
which I would work with professionally :( but they may be good
enough for visualization. FreeCad was one. MeshLab or Cloud
Compare may work with DXF. Not sure. </div>
<div><br>
</div>
<div>Please correct me if I am wrong anybody. I would like to be
informed if things have changed.</div>
<div><br>
</div>
<div>Nicolas</div>
<div><br>
</div>
<div><br>
Le 25 août 2018 à 03:36, Grant Boxer <<a
href="mailto:boxerg@iinet.net.au" moz-do-not-send="true">boxerg@iinet.net.au</a>>
a écrit :<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I am trying to import a 3D dxf for
viewing in QGIS v3 either via the 3D window or
QGIS2Threejs plugin. Whenever I import a dxf there does
not appear to be any z data imported. Does anyone have any
suggestions?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="mso-fareast-language:EN-AU">Grant Boxer<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="mso-fareast-language:EN-AU">Perth, Western
Australia<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Qgis-user mailing list</span><br>
<span><a href="mailto:Qgis-user@lists.osgeo.org"
moz-do-not-send="true">Qgis-user@lists.osgeo.org</a></span><br>
<span>List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
<span>Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>