Bisector curve
 1-20  21-40  41-55

Previous
Next
 From:  Michael Gibson
3745.41 In reply to 3745.39 
Hi Danny, so here's a new version which I think will do the proper result that you want, but I guess you may want to do a couple of trial runs and check the output to make sure.

When lines are crossing, it will put the endpoint towards the side that has the greater length of line on it, here are some sample results:



- 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.42 In reply to 3745.39 
Hi Danny, also here is an alternate version of that latest one that is set up for "post-pick" only which also allows the repeat checkbox.
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:  DannyT (DANTAS)
3745.43 In reply to 3745.40 
Ah ok, I understand. Is it possible to get the desired side if we pick near the ends of the lines of the side we want the bisector line ?




-
~Danny~
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.44 In reply to 3745.43 
Hi Danny,

> Is it possible to get the desired side if we pick near the
> ends of the lines of the side we want the bisector line ?

That could be possible in v3, but currently that pick side information is not available for scripts to access so I don't have any good way of making a plug-in do that right now.

So what I did instead was just use the side that has a greater length of line sticking out from the intersection point.

It looks like you were writing this reply just as I was posting a couple of other messages, so look back a couple of messages for the updated plug-in that hopefully does the proper thing now.. :)

- 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.45 In reply to 3745.43 
Also with crossing lines, if you wanted the direction than what was generated, it's actually easy to draw it in with perpendicular straight snap from the one that was created.

- 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.46 In reply to 3745.44 
Hi Michael,

> So what I did instead was just use the side
> that has a greater length of line sticking out
> from the intersection point.

That's fine, there wouldn't be many situations where the input lines would be crossing.
The script is good now, after all that :)

Thanks again! and thanks Burr.

-
~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.47 In reply to 3745.45 
I think for V3 the pick points for the start and end of the bisector would be good. That would eliminate trimming if you wanted the line to start at some other point than the intersection. That will handle direction for any situation also.
  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.48 In reply to 3745.47 
Hi Burr, yeah maybe in v3 one possibility would be to make it put in 2 crossing construction lines so that then you could snap on to the points you wanted on those to make the lines.

But also right now instead of using trimming you can just draw in a second line using the first one to snap on to (with construction lines also) which may be a bit easier than using Trim.

- 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.49 In reply to 3745.26 
Hi Anis,

> Can you give me screenshot sample usage in your project ?

It comes in handy when you are quickly laying out construction curves (not to be confused with MoI construction lines) at angles to keep symmetry and reference, here are some progressive screen shots of a simple layout that I want to keep the two lines central to a rectangle.

We'll start off with the original lines I posted.


Once you've got a bisector line created (thanks to Michael).


You can use it as a reference knowing it is in the center of the two lines.
Then you can do offset operations....


as well as run perpendicular lines.


After a bit of trimming and extending you know that the two lines we started with are central and perpendicular to the blue rectangle.


For this case you could start off symmetrical about the origin and rotate the whole thing at the desired angle once constructed, this is just a simple example, usually I'll use bisector line if the two lines shown are referenced at an angle off another set of curves or lines.

Cheers
~Danny~
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:  BurrMan
3745.50 In reply to 3745.49 
Thanks Danny! Added to reference!!!! :o

ALso Michael...I renamed and kept "LineMorph"....:)
  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.51 In reply to 3745.50 
Hey Burr, so your heads up turned out to be pretty spiffy after all... :)


> ALso Michael...I renamed and kept "LineMorph"....:)

Could you please post it here as an attachment in case someone wants that version after all?

- 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.52 In reply to 3745.51 
:).... LineMorph as originally posted in this thread...Unzip and copy the htm and js file to your commands directory, and then create a shortcut with LineMorph as the command. (Or optionally while in MoI, just hit "TAB" and then type LineMorph)

[EDIT] Updated to add the "Post operation" version also, as talked about in the thread....[EDIT]

EDITED: 19 Jun 2012 by BURRMAN

  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.53 In reply to 3745.52 
LineMorph is the name of the previous BisectorLine name or it's other?
can you put the number of the message of it?

And there is not more the plug that gives exactly this? (length = middle of 2 between Start End lines)

EDITED: 1 Sep 2010 by PILOU

  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.54 In reply to 3745.53 
Hi Pilou,

> LineMorph is the name of the previous BisectorLine name or it's other?

Yes, it's the first version of BisectorLine that I posted, but renamed.


> can you put the number of the message of it?

It was the one I posted here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3745.6


> And there is not more the plug that gives exactly this?
> (length = middle of 2 between Start End lines)

That is what LineMorph will do - it will build a new line that has endpoints half-way between the other line's endpoints. Note that this is a different result than half the angle between the 2 lines though.

The newer BisectorLine (posted at http://moi3d.com/forum/index.php?webtag=MOI&msg=3745.41) will create a line at half of the angle between where the extended lines meet.

- 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
 From:  Frenchy Pilou (PILOU)
3745.55 In reply to 3745.54 
THX for explanations !
---
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