QCAD  2D CAD System.
Click here for a documentation of the DokuWiki formatting syntax that can be used in reports
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help  Check for Updates)
FS#968  Option to divide by half numbers etc..
Attached to Project:
QCAD
Opened by  (clive)  Wednesday, 06 November 2013, 14:42 GMT+1
Last edited by Andrew (andrew)  Tuesday, 17 November 2015, 11:40 GMT+1
Opened by  (clive)  Wednesday, 06 November 2013, 14:42 GMT+1
Last edited by Andrew (andrew)  Tuesday, 17 November 2015, 11:40 GMT+1

Details
Would it be possible to change the Divide tool, so that one can divide by e.g. 4.5 or 7.75 etc...? Instead of just whole numbers, like it is at present. 
This task depends upon
Closed by Andrew (andrew)
Tuesday, 17 November 2015, 11:40 GMT+1
Reason for closing: Won't implement
Additional comments about closing: Dividing a length into N equal parts where N is not a whole number does not work. Perhaps a new feature request can be created which describes what tool is required (e.g. split entities into segments of equal length + a shorter segment for the rest, etc.)
Tuesday, 17 November 2015, 11:40 GMT+1
Reason for closing: Won't implement
Additional comments about closing: Dividing a length into N equal parts where N is not a whole number does not work. Perhaps a new feature request can be created which describes what tool is required (e.g. split entities into segments of equal length + a shorter segment for the rest, etc.)
Thanks for the suggestion. Can you elaborate on your use case a bit?
Note that if you divide a line into four equally long segments, there is only one possible solution:
With 4.5 segments, there are two possible solutions:
or:
So this would either be implied (always use the first solution, starting from start point) or interactive.
Please forgive me the ASCIIart ;)
Hi  in this example I would ask you for an interactive fife solution tool ...
I'm right now not sure what Clive is looking for.
Does he like to have the possibility to use fractions for Parts (your two possibility example) or does he like to have the possibility to divide a line just in equal segments.
I'm so sorry guys  I mean the 'Split Entities tool', not the Divide tool.
What I'm asking isn't really logical...but this is what I am looking for here.
For example if I have a line that is 12MM long, I can use the split entities tool and choose to split it up into 4 equal segments...giving me 4 x 3MM long segments.
Lets say I want to split the same line into equal segments but enter 4.5 in the parts field! Currently I cant do this  but if I could type in 4.5 instead into the parts field and maybe select an additional option to have equal segments  then I wonder could I get 4 x 2.66MM long segments.
I hope I have explained this properly here (probably not) but I hope you get the idea.
Yes, I got that :)
That seems like a contradiction though. 4.5 parts cannot result in N equal length segments. E.g. 12mm / 4.5 = 2.666, for example:
4 x 2.666 = 10.666, so the length of the total length would change. I.e. do you want to delete the last (half) segment in that case?
What the tool would need is an option to set the length (e.g. 12MM)to be divided by 4.5 (not parts)then set the number of parts, so in fact extra input fields would be required here.
I am just thinking this out as I go along really! I was faced with a similar task at work today and something like this in QCAD would be invaluable.
So maybe the Divide tool is the one to have the extra fields in order to do this after all!