Jump to content

Next problem involving rotating entities and intersections


Recommended Posts

Posted

Ok,

 

I need to somehow rotate either a block or at least two created lines and then figure out a distance from their midpoint to the intersection point of a particular line.

 

Can I use a block for this? It seems that it would be simpler for rotation and insertion (I need to do it around 25 times). But, will I have difficulty distinguishing what intersection is what?

 

If I were to create the lines I would have to make them perpendicular to the chord and a set distance away in both axises (this is why I think a block might be easier)

 

Any thoughts?

 

Thanks again,

 

Andrew

Posted

Hey Andrew,

 

Its extremely hard to visualise what you are trying to achieve, would you be able to post a drawing explaining things?

 

Finding intersections between objects is not too difficult a task, and I'd be more than happy to guide you through it.

 

Lee

Posted

Lee,

 

Understandable.

 

I've made up a drawing to illustrate what I'm trying to achieve.

 

The cyan lines are what I would like rotated around perpendicular to the chord.

 

I want to find where they intersect the purple line in relation to their midpoint.

 

I'm not sure if an aligned inserted block would work best or would making a function that could handle the calculations to figure out where to insert them would.

 

Any help is much appreciated!

 

Thanks,

 

Andrew

example interesection.dwg

Posted

Sorry Andrew,

 

There are a few things I still don't understand.

 

Are the Cyan lines to stay in their current postion, and just be rotated?

 

If not, where on the chord are they meant to be placed? and also, on which chord?

Posted

Ok going on the information I have, I have created a LISP that will rotate the lines to perpendicular with the chord, and provide the vector from the intersection to the midpoint of the line.

Posted
Sorry Andrew,

 

There are a few things I still don't understand.

 

Are the Cyan lines to stay in their current postion, and just be rotated?

 

If not, where on the chord are they meant to be placed? and also, on which chord?

 

Lee thanks,

 

The cyan lines need to rotate and move a specific distance x and y relative to each chord drawn.

 

I don't have the information infront of me at the moment as to the distances and I will have a look at that trial program.

 

I really appreciate your help, but if I don't get back to wedding preperations my fiance might kill me ;)

 

Thanks again & cheers,

 

Andrew

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...