QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by -- - 06.11.2013
Last edited by Andrew - 17.11.2015

FS#968 - Option to divide by half numbers etc..

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.

Closed by  Andrew
17.11.2015 10:40
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.)

Admin
Andrew commented on 06.11.2013 14:40

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 ASCII-art ;)

Husky commented on 06.11.2013 17:50

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.

-- commented on 06.11.2013 20:59

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.

Admin
Andrew commented on 06.11.2013 21:12
I'm so sorry guys - I mean the 'Split Entities tool', not the Divide tool

Yes, I got that :)

Lets say I want to split the same line into equal segments but enter 4.5 in the parts field!

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:

|-------------------------------12--------------------------------|
|----2.666----|----2.666----|----2.666----|----2.666----|--1.333--|
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.

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?

-- commented on 06.11.2013 21:20

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!

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing