CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAD Software > Autodesk Software (Autocad, Inventor etc)


Autodesk Software (Autocad, Inventor etc) Discuss Autodesk Software (Autocad, Inventor etc) software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-04-2005, 07:47 PM
 
Join Date: May 2004
Location: Australia
Posts: 541
skippy is on a distinguished road
AutoCAD offsets and copying

Can anyone help me with this two part AutoCAD question please? I have attached a drawing that has a couple of straight lines, a radiused corner and a spline.
(A) I would like to outline or inline it (offset) in one go. If I understand correctly, AutoCAD must recognise the shape as being a closed shape before it can do an outline or inline. I used the PEDIT command and all is joined except the spline. What do I do now so that AutoCAD recognises it as one closed shape.
(B) Now that it's closed and inlined or outlined, I want to cover the whole thing (along the line) with multiple copies of the 3mm circle and with +/-1mm gap between all circles. Can AutoCAD do that? If so how? (pretend it's a garden path (aerial view) and I want to place potplants around the perimeter)
Thanks for your help in advance
Attached Files
File Type: dwg test offset.dwg‎ (26.3 KB, 62 views)
Reply With Quote

  #2   Ban this user!
Old 05-04-2005, 07:52 PM
 
Join Date: May 2004
Location: Australia
Posts: 541
skippy is on a distinguished road

Sorry, here's with the circle in it.
Attached Files
File Type: dwg test offset.dwg‎ (26.3 KB, 94 views)
Reply With Quote

  #3  
Old 05-04-2005, 08:27 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,443
ger21 is on a distinguished road
Buy me a Beer?

Something like this?
Attached Files
File Type: dwg test offset2.dwg‎ (34.7 KB, 62 views)
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #4  
Old 05-04-2005, 08:40 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,443
ger21 is on a distinguished road
Buy me a Beer?

First, you don't need a closed shape to use the offset command. The problem, though, is that you can't join a spline to other entities. Just offset the two seperate objects. You can do both during 1 command.

Autocad can place objects along a line, spline, or other object. But, it's a bit tricky, a litlle more so in your case (because you have 2 objects).

You use the divide command, with the block option, to place blocks along the object. So, first, you have to make your circle a block. Type "block", and choose the center of the circle as the basepoint. Name the block something you'll remenber when asked for it later. Now, you need to know how long your line and spline are. You can use the properties window, look for length. Or, type "list", select the object, hit F2 to open the command window, and you'll see the length somewhere among all the info listed. hit F2 again to close the command window.

Once you have the length, divide it by 7 (6mmD +1mm space). round it down, and this is the number of circles.

Now, type "divide", and choose the line. type "b" for block. Enter the name of the block (you remember, right?) , choose yes for align (it doesn't matter for circles, though, but you'll usually want them aligned), and enter the number of circles you want. Repeat for the spline.

I had to add two circles at the polyline and spline junctions. If your shape was a polyline, it would work a little better. Depending on how important the spline is, there is a spline to polyline lisp program available for download from http://new.cadalyst.com/code/browsey...?fullyear=2003, December download. That wouls let you convert the whole thing into one polyline.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5  
Old 05-04-2005, 10:40 PM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,580
ynneb is on a distinguished road

Nice garden design Skip

(He He, I know what it realy is. Its a.............................(bummer, I am sworn to secrecy)
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-05-2005, 02:22 AM
 
Join Date: May 2004
Location: Australia
Posts: 541
skippy is on a distinguished road

Gerry, that's exactly what I meant. (A) "Just offset the two seperate objects. You can do both during 1 command" How do you select the polyline and the spline in one move to do the offset? I can select one or the other but not both. (just curious as I prefer your polyline solution below)

(B) It seems like the "length" doesn't get shown in properties for polylines unless I'm doing something wrong.

(C) "If your shape was a polyline, it would work a little better. Depending on how important the spline is" No, it's not important.

(D) "there is a spline to polyline lisp program available for download from....." That sounds like my best bet however, before I do that let me confirm that I'm on the right track. If you were drawing similar shapes from scratch, would you end up with the same polyline and spline that I ended up with and then convert all to a polyline or is there another method. The other day you were talking about arcs, elipses, circles and splines and of those, only the spline seems relevant to this drawing. Is that correct?

(E) regarding the dividing operation, I'm still having problems with that too. Each time I try, it places the circles somewhere else but not along the line. Strange thing is that if I select one of the circles it then highlights a small square along the line in the corresponding position. Any idea what I might be doing wrong? Here's my input:
Command: divide
Select object to divide: (I selected vertical line)
Enter the number of segments or [Block]: b
Enter name of block to insert: testblock
Align block with object? [Yes/No] <Y>:
Enter the number of segments: 10
Thanks
Attached Files
File Type: dwg testblock.dwg‎ (31.4 KB, 53 views)

Last edited by skippy; 05-05-2005 at 05:21 PM. Reason: addition
Reply With Quote

  #7  
Old 05-05-2005, 06:40 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,443
ger21 is on a distinguished road
Buy me a Beer?

A) I wasn't very clear. What I meant, was, that when you use the offset command, it remains active, letting you offset as many objects as you like without having to restart the command. You still have to click on both lines and offset them seperately, but it is very quick and easy.

B) You're right. Use "list" like I explained above. (The length does show up in the properties dialog in ACAD 2006 )

C) If I wasn't clear, what I meant was would a series of short, straight segments be acceptable.

D)I'd have to see what you we're tracing to say for sure, but for free flowing curves, using splines is very fast for tracing images. and they are very easy to edit; by moving the grips around, you can fine tune the splines after they are drawn. Just don't skimp on the points while tracing, or you may be limited. If you didn't know it, while drawing splines (or polylines), if you place a point you aren't happy with, just type "u" and enter, and the last point will be removed, but the command will still be active. This works in other commands, too. If you're trimming lines with "trim", and you accidentally trim something you didn't want to, just "u" enter.

If I'm tracing something that I'll be routing, I try to use arcs whenever possible, to minimize all the short, straight segments. But in reality, it really doesn't make a lot of difference.

If you haven't already, download the spline to polyline lisp, that's the easiest way to go. If you don't know how to use it, or would like to know how to use it without having to load each time, let me know.

E) In my previous reply, you missed a very important piece of info. "Choose the center of your circle for the baasepoint". When making a block, there is a set of coordinates labeled basepoint. Click on the "pick" button and choose the center of your circle. This is the location relative to the circle that is placed along the line. It is called the insertion point of the block. The small square you see is the grip for the block when it is selected.

You did the command correctly, you just didn't set the basepoint in the right place when you created the block.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #8  
Old 05-18-2005, 01:29 PM
mxtras's Avatar
Silver Member
 
Join Date: May 2005
Location: USA
Age: 45
Posts: 1,810
mxtras is on a distinguished road

I have rarely had ANY luck using Splines for machining/programming - what's the fixation with Splines?

I stay away from them because they aren't compatible with code generators (at least in the past). I prefer creating filleted polylines or lines and arcs.

Am I missing something? Of what use is a Spline that can't be duplicated with a polyline?

Scott
Reply With Quote

  #9   Ban this user!
Old 05-18-2005, 06:08 PM
 
Join Date: May 2004
Location: Australia
Posts: 541
skippy is on a distinguished road

Scott, unless I'm missing something, the example above using free flowing curves (testblock.dwg) could only be drawn with splines and then for the purpose of machining, it would have to be converted to a polyline with the spline to polyline lisp Gerry mentions above. However in saying that, I must state that I'm a relative novice at this.
Phil
Reply With Quote

  #10  
Old 05-18-2005, 09:14 PM
mxtras's Avatar
Silver Member
 
Join Date: May 2005
Location: USA
Age: 45
Posts: 1,810
mxtras is on a distinguished road

Skippy -

I guess what I am saying is that I would generate the shape using the fundamental entities that you end up having to convert to. I guess it's just a different philosophy. That shape CAN be drawn very precisely using basic entities. You are not forced to use a spline.

Every code processor I have used craps out on splines, so I quit using splines many, many years ago to generate math data.

It looks like this converter might take that constraint away.

It's hard to teach an old dog new tricks!

Scott
Reply With Quote

Sponsored Links
  #11  
Old 05-18-2005, 09:19 PM
mxtras's Avatar
Silver Member
 
Join Date: May 2005
Location: USA
Age: 45
Posts: 1,810
mxtras is on a distinguished road

Originally Posted by mxtras
Of what use is a Spline that can't be duplicated with a polyline?
That doesn't sound quite the way I meant it - let me re-word that a bit:

Of what use is a Spline when the shape can be duplicated with a polyline?

That's better.....I think!

Sorry, guys!



Scott
Reply With Quote

  #12  
Old 05-19-2005, 07:35 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,443
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by mxtras
I guess what I am saying is that I would generate the shape using the fundamental entities that you end up having to convert to. I guess it's just a different philosophy. That shape CAN be drawn very precisely using basic entities. You are not forced to use a spline.
You can draw (and edit) a spline far faster than you could duplicate it using lines and arcs. Actually, it would really have to be with arcs alone. And it would be very difficult to make sure all the arcs are tangent to each other, so you don't get corners. In AutoCAD, you CAN use the arc command to draw consecutive tangent arcs, but it can still be quite difficult to get the shape you want. Especially when hand tracing images, splines can take a fraction of the time. And with the lisp to convert them to ploylines, they can be a viable option. Depending on what you're trying to do.

Splines are not always the answer though, as converting them to short straight segments might leave an unacceptable edge finish.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 05:46 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361