Print a precise scale ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Print a precise scale ?

Lamy
Hello,
(I did not find my solution precise on others of the issues, sorry if I missed it…)
I now drew my new house, and I am happy with the result.
Now: I want to print it, for a A3 format (using a virtual pdf printer ) to obtain a final scale to 1:50.
 Because my drawing is very big (800x900 cm!) I am apparently linked to print it with the option  “centering in the sheet”.
 I tried to draw a big rectangle (bigger than my house) around my drawing, and to modify its size but the printed drawing is each time bigger or smaller than it should be.
 How can I do ?
Thank you!
Tim
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

Tim
I tried to draw a big rectangle (bigger than my house) around my drawing, and to modify its size but the printed drawing is each time bigger or smaller than it should be.
 How can I do ?


Instead of trying to encase the entire drawing in a box, why not simply draw some small insignificant something off of one corner of the normal drawing. This will cause it to be part of the whole drawing and the program/printer should re-renter accordingly.  

Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

dxli
In reply to this post by Lamy
I I got it correctly, a"Windowed" printing mode is suitable here. In printer toolbar, we should add a way to control a rectangle to be printed.

1, user specify final scaling, for example, 1:50
2, user specify what portion to be printed, for example, centered (10., 10.) width=5, height=4

Implementation:

1. set temporary offset to get page centered;
2. set pageRect of QPrinter to avoid printing out of user specified rect;


Lamy wrote
Hello,
(I did not find my solution precise on others of the issues, sorry if I missed it…)
I now drew my new house, and I am happy with the result.
Now: I want to print it, for a A3 format (using a virtual pdf printer ) to obtain a final scale to 1:50.
 Because my drawing is very big (800x900 cm!) I am apparently linked to print it with the option  “centering in the sheet”.
 I tried to draw a big rectangle (bigger than my house) around my drawing, and to modify its size but the printed drawing is each time bigger or smaller than it should be.
 How can I do ?
Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

Lamy
Thanks for answering.
But I don't understand realy what I can do ?
Are you developing a new functionality for a new version ?

Someting can already be done, correct ?

dxli wrote
set temporary offset to get page centered
As I understand : it is to be done on the "printing preview function" ? Correct ?

dxli wrote
set pageRect of QPrinter to avoid printing out of user specified rect;
What exactly do you mean ? I do not understand at all... could you be more precise please ?

Thanks.


Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

dxli
I implemented some minimum support for this type of usage.

As a starting point:

Commands are accepted for printpreview:

10,0 to offset the printpreview by (10,0)
paperoffset: specify the offsets are in paper space
graphoffset: specify the offsets are in graph/drawing space

We may want to add more features with GUI later.

You need to build from the latest source from github.com/LbreCAD/LibreCAD.git

Lamy wrote
Thanks for answering.
But I don't understand realy what I can do ?
Are you developing a new functionality for a new version ?

Someting can already be done, correct ?

dxli wrote
set temporary offset to get page centered
As I understand : it is to be done on the "printing preview function" ? Correct ?

dxli wrote
set pageRect of QPrinter to avoid printing out of user specified rect;
What exactly do you mean ? I do not understand at all... could you be more precise please ?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

Lamy
Many tnanks to you.
As I understand : some commands are usefull to manage the printvew, but are not in the basic installation, correct ?
I think for the moment it will be to complicated for me to update with the latest version (My PC is very instable and I a not very at ease with updating with ".git" ...) so I will try later.
Are these options included in the latest (August 2014 ?) version ?
Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

dxli
No, it is after the 2.0.5 release, as I only added the implementation as a result of this discussion.

If you are windows, you may still try to follow our wiki to build LibreCAD from source, given you have enough disk space for Qt, boost, as well as LibreCAD.

We should set up a way to provide nightly builds for Windows and OS/X

Another question, since you understand this printing feature better, could you help designing a reasonable GUI feature from your side? We may add,

1, page rectangle position (say, from (1,1) to (10, 15), only the portion for 1 < x < 10 and 1 < y < 15 will be scaled to fit paper margin to be printed);
2, paper/drawing coordinates, to specify coordinates in paper or graph scale;
3, center/base point, a point to locate printout center;
4, scale/ratio;

Let's try to make it simple and easy for end users.

Thanks!
Lamy wrote
Many tnanks to you.
As I understand : some commands are usefull to manage the printvew, but are not in the basic installation, correct ?
I think for the moment it will be to complicated for me to update with the latest version (My PC is very instable and I a not very at ease with updating with ".git" ...) so I will try later.
Are these options included in the latest (August 2014 ?) version ?
Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

Lamy
Hello,
(Sorry for such a late awnser !)
Quite a difficult question to design a "reasonable GUI" ! (It is par of my job, do you know ?)

My opinion is : (as a user point of vew)
1/ For your point 1 : ad to the "print" icon, a "print..." one, (replacing the "preview" one)  and, in it: to propose : "print", "prevew", "partial print".

For the 3 others : add a sheet to the menu Edition->Draw préférences : Page, Unit, ...(...), named "Print option".
And, in these "Print Options" to define : the scale, the paper/drawing coordinates,  and a center/base point, with defaults values.

What do you think of it ?
 
Lamy


2014-09-01 15:39 GMT+02:00 dxli [via LibreCAD] <[hidden email]>:
No, it is after the 2.0.5 release, as I only added the implementation as a result of this discussion.

If you are windows, you may still try to follow our wiki to build LibreCAD from source, given you have enough disk space for Qt, boost, as well as LibreCAD.

We should set up a way to provide nightly builds for Windows and OS/X

Another question, since you understand this printing feature better, could you help designing a reasonable GUI feature from your side? We may add,

1, page rectangle position (say, from (1,1) to (10, 15), only the portion for 1 < x < 10 and 1 < y < 15 will be scaled to fit paper margin to be printed);
2, paper/drawing coordinates, to specify coordinates in paper or graph scale;
3, center/base point, a point to locate printout center;
4, scale/ratio;

Let's try to make it simple and easy for end users.

Thanks!
Lamy wrote
Many tnanks to you.
As I understand : some commands are usefull to manage the printvew, but are not in the basic installation, correct ?
I think for the moment it will be to complicated for me to update with the latest version (My PC is very instable and I a not very at ease with updating with ".git" ...) so I will try later.
Are these options included in the latest (August 2014 ?) version ?
Thanks.



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Print-a-precise-scale-tp5710363p5710384.html
To unsubscribe from Print a precise scale ?, click here.
NAML



--
Cliquez vite sur www.comtedechambord.fr !
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

dxli
Since you understand this feature, it's helpful for you to give some reflection on an ideal feature for your own usage.

Let's summarize the current printout process:

1, The current printer toolbar contains an input field to specify scale/ratio;
2, From drawing preferences, paper size is set and known. Paper margins need to be set from printer option dialog;
3, From the printer toolbar within the top toolbar area, printout can be centered at page. User can also grab and pan within print preview. However, there's no precise control on to specify offset, beyond centering on page.

Adding an input and output area for center/base point coordinates should be useful. It's both input and output, therefore, always displays the current offset value. To precisely control its meaning, we probably need two checkboxes or selection boxes: 1, center or base; 2, in paper space or graph space.

You also mentioned the "print preview" and "print" items. We may also want to add a print button to the printer toolbar.

"Partial print" should mean to print out all parts in one process. We may want to implement it first.


Lamy wrote
Hello,
(Sorry for such a late awnser !)
Quite a difficult question to design a "reasonable GUI" ! (It is par of my
job, do you know ?)

My opinion is : (as a user point of vew)
1/ For your point 1 : ad to the "print" icon, a "print..." one, (replacing
the "preview" one)  and, in it: to propose : "print", "prevew", "partial
print".

For the 3 others : add a sheet to the menu Edition->Draw préférences :
Page, Unit, ...(...), named "Print option".
And, in these "Print Options" to define : the scale, the paper/drawing
coordinates,  and a center/base point, with defaults values.

What do you think of it ?

Lamy


2014-09-01 15:39 GMT+02:00 dxli [via LibreCAD] <
[hidden email]>:

> No, it is after the 2.0.5 release, as I only added the implementation as a
> result of this discussion.
>
> If you are windows, you may still try to follow our wiki to build LibreCAD
> from source, given you have enough disk space for Qt, boost, as well as
> LibreCAD.
>
> We should set up a way to provide nightly builds for Windows and OS/X
>
> Another question, since you understand this printing feature better, could
> you help designing a reasonable GUI feature from your side? We may add,
>
> 1, page rectangle position (say, from (1,1) to (10, 15), only the portion
> for 1 < x < 10 and 1 < y < 15 will be scaled to fit paper margin to be
> printed);
> 2, paper/drawing coordinates, to specify coordinates in paper or graph
> scale;
> 3, center/base point, a point to locate printout center;
> 4, scale/ratio;
>
> Let's try to make it simple and easy for end users.
>
> Thanks!
>
> Lamy wrote
> Many tnanks to you.
> As I understand : some commands are usefull to manage the printvew, but
> are not in the basic installation, correct ?
> I think for the moment it will be to complicated for me to update with the
> latest version (My PC is very instable and I a not very at ease with
> updating with ".git" ...) so I will try later.
> Are these options included in the latest (August 2014 ?) version ?
> Thanks.
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://forum.librecad.org/Print-a-precise-scale-tp5710363p5710384.html
>  To unsubscribe from Print a precise scale ?, click here
> <http://forum.librecad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5710363&code=ZnJhbmNvaXMuY3Jlc3BpbkBnbWFpbC5jb218NTcxMDM2M3wxNDYyMDQ5MTcw>
> .
> NAML
> <http://forum.librecad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



--
Cliquez vite sur www.comtedechambord.fr !
Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

rolgiati
On Thu, 4 Sep 2014 07:13:27 -0700 (PDT)
"dxli [via LibreCAD]" <[hidden email]> wrote:

> 1, The current printer toolbar contains an input field to specify
> scale/ratio;

I think it would be clearer if you explained that this is in the Print Preview window...
 
Cheers,
 
Ron.
--
                   You can learn many things from children.
                  How much patience you have, for instance.
                                       -- Franklin P. Jones
                                   
                   -- http://www.olgiati-in-paraguay.org --
 

Reply | Threaded
Open this post in threaded view
|

Re: Print a precise scale ?

LordOfBikes
Administrator
There is a nightly build installer now on our download site for Windows, containing the latest features:

https://sourceforge.net/projects/librecad/files/Windows/NightlyBuilds/

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution