Bisector curve  1-20  21-40  41-55

Next
 From:  DannyT (DANTAS)
3745.1 
Hi Michael,

I use this often when when laying out construction curves, I'm trying to draw a bisector curve between the the two curves shown.

Is it possible to have a bisector function in V3 to produce the curve between the two shown by just picking the curves instead of trying to figure out construction lines ?



Cheers
~Danny~

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3745.2 In reply to 3745.1 
Hi Danny, is this something that you only need done between 2 lines? Or are you looking for something between any 2 curves?

I could probably cook up something for you for 2 lines right now, but for between 2 bendy curves would need some other stuff for that in v3.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
3745.3 In reply to 3745.2 
Mainly the two lines for now Michael, but if you can implement other related stuff for V3 that would be good too.
A script for the two lines would be great.

Cheers
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
3745.4 In reply to 3745.1 
I can do that pretty quick with 2 tangent arcs, but I suppose that the scene could get more complicated than that and you're just looking for an automated tool....
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
3745.5 In reply to 3745.4 
Just did another test and a single tangent arc, then line perp works well too!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3745.6 In reply to 3745.3 
Hi Danny, give the attached plugin a try.

To install it, unzip it and copy the 2 files to the \commands sub-folder inside of MoI v2's main installation folder.

Then set up a keyboard shortcut and put in BisectorLine as the command name part of the shortcut.

Then when you push that key it should give you a quick way to build that in-between line. You can either preselect the 2 input lines to use before triggering it, or if you have a blank selection you can select 2 lines after triggering it as well.

Please let me know if you have any problems with it.

- Michael

EDIT: updated to fix repeat mode bug

EDIT: removed this version as it was not generating the correct kind of line, see this other message for an updated version:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3745.41

EDITED: 1 Sep 2010 by MICHAEL GIBSON

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
3745.7 In reply to 3745.6 
Welp...Turns out I was wrong. :o My line wasnt a bisector... Works well over here Michael.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
3745.8 In reply to 3745.4 
Hi Burr,

> I can do that pretty quick with 2 tangent arcs

Not quick enough ;) thanks for the tips anyway, I was basically doing the same thing with lines until I got sick of it, so off to the wizard I thought.

Thanks Michael, absolutely perfect.

Cheers

~Danny~

EDITED: 31 Aug 2010 by DANTAS

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
3745.9 In reply to 3745.8 
tried to be spiffy....Back to plans.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
3745.10 In reply to 3745.6 
Hi Michael, um try the Repeat tick box and let us know what you get ;)

Cheers
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
3745.11 In reply to 3745.10 
141 curves!!! :o
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
3745.12 
Sorry, before load the script
is that result wanted?

---
Pilou
Is beautiful that please without concept!
My Gallery
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3745.13 In reply to 3745.9 
Hi Burr,

> tried to be spiffy....Back to plans.

:) I think you were going along that median-line discussion a couple of weeks ago?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3745.14 In reply to 3745.10 
Hi Danny,

> Hi Michael, um try the Repeat tick box and let us know what you get ;)

Well, if 1 bisector is good, a few hundred are 100x as good, right? ;)

This is actually why the repeat tick box is supposed to be disabled for commands that involve selecting objects as their inputs, but I forgot that part.

I've updated the previous attachment, so that it should not show the repeat checkbox anymore for this command.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3745.15 In reply to 3745.12 
Hi Pilou,

> is that result wanted?

Yup! And it's possible to get that result by several different methods currently, this is just a way to make it faster if you need to do it many times.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
3745.16 In reply to 3745.13 
"""""""" I think you were going along that median-line discussion a couple of weeks ago?"""""""

Moreso probably a lack of understanding of the bisector result. :o
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
3745.17 In reply to 3745.15 
ok So I will can add it to my collection ;)
http://moiscript.weebly.com/
In French but Titles' names' scripts are in English :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
3745.18 In reply to 3745.14 
Hi Michael,

> I've updated the previous attachment,
> so that it should not show the repeat
> checkbox anymore for this command.

What?! I was hoping for the repeat checkbox :( isn't it possible for the command to end and the curves deselected after the bisector curve is created, so another set of curves can be selected ?

-
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3745.19 In reply to 3745.18 
Hi Danny, it's not really easy for commands that involve object selection to work with the repeat checkbox, because things are more primarily intended to work by selecting the objects that you want to work on before you run the command.

It's just so ingrained in things like basic file operations in Windows to do "Noun, verb" operations where you pick the thing you are operating on first before triggering the action that works on it...

In MoI I've also tried to accomodate people who are used to picking input objects after a command has been run as well (which is how several older CAD programs are structured), but that post-pick support is kind of a supplementary thing and not really the main focus.

When you work with pre-selection, sometimes you want to do things like do several operations in a row on the same selection, and if every operation removed the selection from the objects that would not be possible...

So when objects are pre-selected doing an immediate repeat does not work very well because it ends up too literally an exact repeat with the same input objects.

But that's one reason why you can right-click to repeat the last command as a separate thing from the repeat checkbox. The way things are set up now, the repeat checkbox is only for drawing commands where you pick points to define objects, and not for commands that involve selection of input objects.


Of course, it could be possible to make a customized version of this particular command that removes selection at the end, it would just behave pretty differently than how other commands are normally structured.

I've attached a version that does this, I think it's more like what you want and it allows for the repeat checkbox to work, but instead this version does not allow the lines to be pre-picked at all, it clears out the selection at the start of the command and clears it at the end of the command, so it behaves differently than the regular way that other MoI commands work.


Maybe I should have something like a "post pick" type global option that you could enable which would do stuff like clear selection like that when running all commands.


- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
3745.20 In reply to 3745.19 
< Maybe I should have something like a "post pick" type global option that you could enable which would do stuff like clear selection like that when running all commands.

or by commands? so a board with some cases to enable/disable?
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-40  41-55