Jump to content

Recommended Posts

Posted

I am looking for a routine that will ask to select a centerline (multi-section polyline which includes arcs), then slot width, and generate a slot based on the centerline. My drawing sequence for this includes offseting the centerline to both sides, then using FILLET to draw the radii on the ends, then deleting the centerline. I would like the resulting slot to be a closed polyline if possible. Any help would be greatly appreciated!

Posted

Another approach would be that after you get the width, length and center point of your slot from the user prompts, calculate the four points position and feed them to the polyline command. No need for offset or erase and you end up with closed polyline slot.

Posted
Another approach would be that after you get the width, length and center point of your slot from the user prompts, calculate the four points position and feed them to the polyline command. No need for offset or erase and you end up with closed polyline slot.

 

Thanks for this suggestion. But my slots are often more than just straight slots. They will sometimes have a "bend" in the middle (think of a slot that looks like the letter "L" or "S"), which is why I am using the method of offsetting a centerline to manually draw it. I think inputting the points is too cumbesome based on the more complicated centerline shapes.

 

Also, I forgot to mention in my origional post the step of exploding the offset polylines so that I can use the fillet command to close them.

 

Some more background - what I am doing here is designing "break away tabs" in a PC board that has an irregular outline. Therefore the machine shop will route away most of the material along the edge of the PC board, leaving small tabs that will be cut manually after the next higher assembly in order to depanel the board. I am drawing the router path.

Posted

Sorry I didn't get that from your first post.

The same method I described for the straight slot can be applied for your case but it is far more complicated. You can extract all the polyline points, including arc points and calculate all the points of your slot outline for the polyline. It is a lot of work but if you do this very often, it might be worth the effort.

Posted

You may want to consider using the vlax-Curve-* functions, which will work with eName, or vla-Object. :thumbsup:

Posted

Multiline will work for you?

 

MAREK_PS002.jpg

Posted
Multiline will work for you?

 

[ATTACH=CONFIG]34233[/ATTACH]

 

I did experiment with multiline, but it is limited to not being able to follow a path that contains arcs. Here is an example of what I would like my end result to resemble.

 

340-001.jpg

Posted

Yes, multiline is not doing arc's.

Try Lee double offset and fillet "0" ends.

Posted
Yes, multiline is not doing arc's.

Try Lee double offset and fillet "0" ends.

 

Yes, that would work, but it is not saving me as much time as I would have hoped for. If I could figure out how to modify the lisp that Lee provided to get it to draw the closed ends, that would be perfect. Using the function RenderMan mentions in addition to Lee's routine may do it, but I do not know how to work with the vla functions, so it may take me quite a bit of time to research. Thanks for the input!

Posted

Hi KCorby,

 

Since you have fewer than 10 posts, I cannot send you a PM, but I would be happy to write a program for you that would prompt for selection of multiple LWPolylines and produce the required result in one step, if you are interested, send me a message through my site and we can discuss it further.

 

Cheers,

 

Lee

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...