(Solved)Metric Conversion Calculation in Offset Distance dialog

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

(Solved)Metric Conversion Calculation in Offset Distance dialog

Post by planksworkshop » Mon Jan 11, 2021 10:06 pm

Convert 3 Metres to feet in Offset distance dialog. Metres * Feet Conversion(3.28084) If entered 3*3.28084' TypeError is Returned. If entered 3'*3.28084 correct answer is achieved. For ease of mind anyway of inputting 3 Metres * Foot Conversion Number (3.28084') without a TypeError? Notice I'm using the ' symbol. Drawing is in inches. I already know i can use 3*39.37008 and get the proper results. Just curious if I could use the ' symbol in the proper order.

QCAD Professional
3.25.2.0
Windows 10 x86_64
Last edited by planksworkshop on Wed Jan 13, 2021 6:19 pm, edited 2 times in total.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4939
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Metric conversion operation in Offset Distance dialog

Post by Husky » Mon Jan 11, 2021 11:22 pm

Hi,
planksworkshop wrote:
Mon Jan 11, 2021 10:06 pm
Convert 3 Metres to feet in Offset distance dialog. Metres * Feet Conversion(3.28084) If entered 3*3.28084' TypeError is Returned.
I can't reproduce the type error. BTW: Your drawing is in inch. If you enter 3*3.28084 the proper result would be 9.84252 inch!
QCAD interprets 3*3.28084 as 3 inch * 3.28084. I don't think that is what you want ... :wink:
planksworkshop wrote:
Mon Jan 11, 2021 10:06 pm
If entered 3'*3.28084 correct answer is achieved.
In this case QCAD got the unit symbol. 3' what stands for 3 feet what is equal to 36 inch. QCAD calculates 36*3.28084 = 118.11 inch what is again equal to 3 meter.

May I ask you a question? Why you are doing that on such complicated way? I would just use the converting tool (CU) in QCAD and switch back and forth to what ever unit is needed for the next input ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

Re: Metric conversion operation in Offset Distance dialog

Post by planksworkshop » Tue Jan 12, 2021 12:03 am

Hi. 3*3.28084' has TypeError 3'*3.28084 does not. Notice ' Symbol placements. Yes i did post i would use 3*39.37008 in my post to receive proper answer in my inch Drawing. Converting a 11469 lines 24 layer drawing back and forth using CU could cause erroneous entries or a screwed up drawing (ie. not selecting all of drawing to convert) Us Humans (Me) tend to make the odd mistake. I was more interested in the minutia of using the ' symbol in my case converting 3(Metres)*3.28084'(Conversion Feet) in Dialogs. Thanks.

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

Re: Metric conversion operation in Offset Distance dialog

Post by planksworkshop » Tue Jan 12, 2021 12:11 am

The problem seems to be you can't use the feet symbol ' after a decimal number. Unless someone knows something else I guess I answered my own question.
Last edited by planksworkshop on Tue Jan 12, 2021 2:11 am, edited 1 time in total.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4939
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Metric conversion operation in Offset Distance dialog

Post by Husky » Tue Jan 12, 2021 12:24 am

planksworkshop wrote:
Tue Jan 12, 2021 12:03 am
Hi. 3*3.28084' has TypeError 3'*3.28084 does not.
Yep - I can reproduce it now ...

Try this: 3*3,28084'
The result is e_surprised

Basically - I don't know which rules are used. But I also think it wasn't meant to convert different units and because of that I wouldn't trust it ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

Re: Metric conversion operation in Offset Distance dialog

Post by planksworkshop » Tue Jan 12, 2021 2:06 am

Thanks for checking, and getting same result. 3*3,28084' :lol: I don't think I'll use the ' symbol but it was worth investigating. If someone needs a tip you can use 3*(3'+.28084*12) with reliable results.

Post Reply

Return to “QCAD 'How Do I' Questions”