I want to do something like draw a line, by using the command to input the next point on the line. I see I can do this with the @X,Y format. I would like to do this with using the sub units , for example the next point is 10 feet, 4 an d 3/8" from the first point, or the next point is 120 meters, 15 centimeters and 47 millimeters from the first point.
What is the format to do this ?
[solved] Drawing input using subunits.
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
[solved] Drawing input using subunits.
Last edited by gwalter1 on Mon Mar 28, 2022 11:21 pm, edited 1 time in total.
Re: Drawing input using subunits.
Common praxis in CAD is to work with "none" units.
A few CAD programs are able to work with different units like units used for imperial or metric formats. QCAD can do that too.
QCAD is also able to convert from one unit to an other but always works in one unit at a time.
This said - if you start a drawing in one unit, draw the lines in that unit, convert the drawing to an other unit and draw then in that converted unit - yes, that is doable.
You could also use mathematical expression as input. e.g you are working in inch and in need to put in 12 m then your input for the line should be 12000/25.4. But in the long run that sounds to me like a perfect recipe for disaster ...
May I ask you what you are trying to accomplish with this unusual approach?
A few CAD programs are able to work with different units like units used for imperial or metric formats. QCAD can do that too.
QCAD is also able to convert from one unit to an other but always works in one unit at a time.
This said - if you start a drawing in one unit, draw the lines in that unit, convert the drawing to an other unit and draw then in that converted unit - yes, that is doable.
You could also use mathematical expression as input. e.g you are working in inch and in need to put in 12 m then your input for the line should be 12000/25.4. But in the long run that sounds to me like a perfect recipe for disaster ...
May I ask you what you are trying to accomplish with this unusual approach?
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..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Drawing input using subunits.
I believe I did not state the issue clearly. I want to do the following :
1. Start a place line with 2 points.
2.id the first point by using a mouse click. Now the system expects a second point.
3.I want to use the keyin command to id the relative location of the second point from the fiorst. QCAD provides the @x,y keyin to do this, but it seems to only accept master unit values for the x and y. So I can use @10,0 to draw a horizontal line 10 units long.
4. I would like to place the second point at 10 ft 4 1/8" horizontally from the first point. I do not want to pull out the calculator and figure this out, each time. Can this be done with the @xy keyin or not ?
1. Start a place line with 2 points.
2.id the first point by using a mouse click. Now the system expects a second point.
3.I want to use the keyin command to id the relative location of the second point from the fiorst. QCAD provides the @x,y keyin to do this, but it seems to only accept master unit values for the x and y. So I can use @10,0 to draw a horizontal line 10 units long.
4. I would like to place the second point at 10 ft 4 1/8" horizontally from the first point. I do not want to pull out the calculator and figure this out, each time. Can this be done with the @xy keyin or not ?
Re: Drawing input using subunits.
The command line accepts formats like: @10' 4 1/8",0
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..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."