Paper space omits GPS rover data

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Svenne
Newbie Member
Posts: 5
Joined: Thu Apr 16, 2020 12:27 pm

Paper space omits GPS rover data

Post by Svenne » Thu Apr 16, 2020 1:34 pm

Hi there,

I just started to check out QCAD 3.24.3 (on Ubuntu Mate 19.10 64bit) for it's potential use in our company and so far I'm pretty satisfied with the program. Very nice and clean design with a focus on the essentials. But here's the thing.

We are working with GPS data collected with a GNSS field rover, which of course produces X,Y,Z coordinates. This point and polyline data is then exported from the rover to a DXF file which then can be edited by us using a CAD program. In the end we have to deliver a DWG file to fit the specifications of our customer. And this DWG has to have the correct Z values for every measured point.
I know that QCAD is a 2D software and this is totally fine, since we never actually have to work in 3D. We just have to draw 2D maps, where the Z-value information has to be intact.

So far I tested this whole procedure and reopened the DWG file in BricsCAD to check if all the Z coordinates are still in place. Everything seems to work just fine. But there is one crucial thing which is not working:

In the model space everything is as it should be, but as soon as I switch into the paper space all the original GPS data (points and polylines) is gone / invisible. The only things left are text and objects which I've drawn manually. The odd thing is, when I copy one of those GPS polylines and past it back into the very layer I obtained it from, this clone object is visible in paper space. When I look at it's attributes they are all the same except for the Z value which differs for some reason. The same happens when I grab one of the anchor points of a line and place them somewhere else. Then the whole line object is visible in the paper space. Also when I move a measured point it appears on the paper view (with a z value of 0).

I don't know if I'm missing out on something, but I attached an example file for you to test. The circles were drawn by me manually to exemplify the problem. The same is true for the "Schnitt OK" object in the far left, which is a clone of the one to the right.

I assume this problem has something to do with the z values but I'm not really sure about that.

Thanks for the help!
Attachments
paper-space.jpg
paper-space.jpg (187.03 KiB) Viewed 4461 times
model-space.jpg
model-space.jpg (192.57 KiB) Viewed 4461 times
test.dwg
(34.58 KiB) Downloaded 281 times

User avatar
andrew
Site Admin
Posts: 9061
Joined: Fri Mar 30, 2007 6:07 am

Re: Paper space omits GPS rover data

Post by andrew » Thu Apr 16, 2020 1:42 pm

Viewports indeed only render entities on the X/Y plane (2D).

This has been fixed for the next snapshot / release:
https://www.qcad.org/bugtracker/index.p ... sk_id=2065

Svenne
Newbie Member
Posts: 5
Joined: Thu Apr 16, 2020 12:27 pm

Re: Paper space omits GPS rover data

Post by Svenne » Thu Apr 16, 2020 2:07 pm

Wow that was a fast reply and fix. Thank you so much!

Btw. does that mean that QCAD automatically "flattens" the 3D objects for the plot. In BricsCAD/AutoCAD this is a step I always have to do manually when I want to plot a drawing.

When do you think the next snapshot / release will be available for download?

User avatar
andrew
Site Admin
Posts: 9061
Joined: Fri Mar 30, 2007 6:07 am

Re: Paper space omits GPS rover data

Post by andrew » Thu Apr 16, 2020 3:16 pm

Svenne wrote:
Thu Apr 16, 2020 2:07 pm
Btw. does that mean that QCAD automatically "flattens" the 3D objects for the plot.
For plotting, the Z coordinates are ignored. The drawing is not changed when plotting.
Svenne wrote:
Thu Apr 16, 2020 2:07 pm
When do you think the next snapshot / release will be available for download?
A snapshot release (3.24.3.2) will be available in the coming says from the download link received after purchase.

Svenne
Newbie Member
Posts: 5
Joined: Thu Apr 16, 2020 12:27 pm

Re: Paper space omits GPS rover data

Post by Svenne » Thu Apr 16, 2020 4:29 pm

Thanks, that's awesome!

User avatar
andrew
Site Admin
Posts: 9061
Joined: Fri Mar 30, 2007 6:07 am

Re: Paper space omits GPS rover data

Post by andrew » Fri Apr 17, 2020 7:48 am

A snapshot release (3.24.3.2) is now available.

Note that snapshot releases are not intended for production use.

Svenne
Newbie Member
Posts: 5
Joined: Thu Apr 16, 2020 12:27 pm

Re: Paper space omits GPS rover data

Post by Svenne » Mon Apr 20, 2020 10:43 am

Great to hear!

However, there is one more thing which is pretty crucial for us being able to work with QCAD:

You said that for plotting the z coordinates are ignored. Does that mean the length between two points is effectively plotted like the blue line in my example sketch?
Because that would be pretty bad for us and everyone who wants to draw a 2D plan from GPS data. For a correct plan we would need the real distances between two points / length of a line (red line in the sketch). Just ignoring the z-values without taking into account the real distances would lead to distortions especially in hilly terrain.
Attachments
length.png
length.png (9.69 KiB) Viewed 4305 times

User avatar
andrew
Site Admin
Posts: 9061
Joined: Fri Mar 30, 2007 6:07 am

Re: Paper space omits GPS rover data

Post by andrew » Mon Apr 20, 2020 2:26 pm

I'm not sure I understand.

A "plot" is a print out, typically on a piece of paper. It represents the view from the top which is 2 dimensional (X/Y). The distance between two points on paper is the distance between their respective X/Y coordinates (2D). Plots are 2D because paper is 2D.

A "dimension" is a label, typically with a dimensioning line and arrows. Dimensions are added to a drawing to indicate measurements on a drawing. This is intended for the viewer of the drawing to know the exact distance as it exists or has to be constructed in the real world.

Are you perhaps referring to dimensions (i.e. you want to add a label to the drawing, indicating the real (3D) distance between points)? If not, please elaborate.

Svenne
Newbie Member
Posts: 5
Joined: Thu Apr 16, 2020 12:27 pm

Re: Paper space omits GPS rover data

Post by Svenne » Mon Apr 20, 2020 3:09 pm

Sorry for the confusion, what I meant was:

In which way does "flatten" work when applied to 3D geometry to get a 2D plot? Is it like example "1." or "2." in the following sketch?
In "1." the distances A-B and B-C are smaller then they actually are because the terrain isn't taken into account.
In "2." however, the distances are correct i.e. the red A-B line has the same length as the blue A-B line.
Attachments
lengths.png
lengths.png (39.75 KiB) Viewed 4288 times

User avatar
andrew
Site Admin
Posts: 9061
Joined: Fri Mar 30, 2007 6:07 am

Re: Paper space omits GPS rover data

Post by andrew » Mon Apr 20, 2020 3:24 pm

It works in the 1st way (top view).

Post Reply

Return to “QCAD Troubleshooting and Problems”