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! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-18-2011, 03:23 PM
 
Join Date: Jul 2011
Location: UK
Posts: 13
dmitriy is on a distinguished road
Help with angled slot!!!

Hi guys. I am new to cincinatti controllers and also hadn't been using G code programming for a brave while and today i've got oil manifold to make for next week with slot located at an angle. Thinking here what steps to take? Guys if you may i need solution please. Controller is acramatic 1200,which is so different from what i used to that i in frustration. Plus last time i calculated something like that was 2004 and even then i didn't do it often,using CAD. Now,i don't have CAD and i stuc. Would you help me please?
Here i tried to represent all known dimensions (angle i calculated myself) Datums are in higher left corner of the billet. Attaching a picture with hope
Attached Thumbnails
Click image for larger version

Name:	slot angled drawing.JPG‎
Views:	56
Size:	11.6 KB
ID:	138602  
Reply With Quote

  #2   Ban this user!
Old 07-19-2011, 08:06 AM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 880
TXFred is on a distinguished road

This is pretty easy to calculate using a little trigonometry. All you have to do is work out four points, the end points of the arcs. You already know where the arc centers are, and you have the radius and angle, so this is pretty easy.

Read up on Sine, Cosine and Tangent here.
Sine, Cosine, Tangent

Also read about the Pythagorean theorum here.
Pythagorean theorem - Wikipedia, the free encyclopedia

Hope this helps.
Frederic
__________________
Pure Geometry LLC
Vertical Lathe tool holders and more.
Reply With Quote

  #3   Ban this user!
Old 07-19-2011, 05:03 PM
 
Join Date: Jul 2011
Location: UK
Posts: 13
dmitriy is on a distinguished road

Tnx Frederic. Not that i expected that "back to school" answer but nevertheless. I know that i have to calculate tangent points but that's where i stuck. I am not sure how to do and how to apply trigonometry in this case. How do i find end of the arcs? Honestly it's been such a long time since i did that i can barely bring myself to think about it. And i've got to programm it on the controller which i never used before. All this pressure just makes me nervous.
Reply With Quote

  #4   Ban this user!
Old 07-19-2011, 05:56 PM
 
Join Date: Jun 2011
Location: usa
Posts: 8
Valimarsbro is on a distinguished road
angle slot

two solutions to your prob no math required.
start point and end point if given use G1.
if not find a single point, write your program in a straight line on X or Y then use G51.1 and rotate to the desired angle (rotate is Rand the angle).Remember to divide by 60 for partial degrees. If it works (it did for me) let them think you are a genious!
Then ask for a raise!.Good Luck!
Reply With Quote

  #5   Ban this user!
Old 07-19-2011, 08:30 PM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 880
TXFred is on a distinguished road

Dmitriy,

Here's a longer answer. Remember, often people who post here are pusting during their free time at work, so you will often just get some pointers from somebody who has to get back to doing what they're paid for. So you won't always get step by step instructions. That was the case with me earlier today.

Also, many people don't want to do the math for you, because if they mess up, they have just scrapped your part and possibly damaged your machine.

It's the evening now, so I have more time.

I've also had time to pour myself some scotch, so I suggest that you double check my calculations.

Angle (purple) is known to be 36.9

Length of hypotenuse (red) is known to be 14mm. It's the radius of the arcs.

Length of the Opposite (green) is unknown.

Length of the Adjacent (yellow) is unknown.

Apply the Sine Function:
sin(θ) = Opposite / Hypotenuse

Plug in the numbers we know:
sin(36.9) = Opposite / 14mm

Use Windows Calculator in Scientific mode, or a scientific calculator. Type in 36.9 and hit the sin button. You should get 0.60042022532588404976462454989735.

0.60042022532588404976462454989735 = Opposite / 14mm

0.60042022532588404976462454989735 * 14mm = Opposite

8.4058831545623766967047436985629 = Opposite.

So now we know two sides of the right triangle. Apply the Pythagorean theorem. (I don't know why they call it a theory. It's a fact.)

8.4058831545623766967047436985629^2 + Adjacent^2 = 14^2

70.658871608155533318381412284272 + Adjacent ^2 = 196

Adjacent^2 = 125.34112839184446668161858771573

Adjacent = 11.19558521881926754161335652704

So, the point we're looking at is 11.1956mm up, and 8.4059 over from the center point of the bottom arc.
Some quick addition gives the coordinates. X = 21.5941 Y = -38.8044

Since both arcs are the same, and they are 180 degree arcs, the other three points can be found by adding or subtracting 11.1956 and 8.4059 from the center point coordinates as needed.
Attached Thumbnails
Click image for larger version

Name:	slot angled drawing.JPG‎
Views:	19
Size:	27.3 KB
ID:	138664  
__________________
Pure Geometry LLC
Vertical Lathe tool holders and more.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-19-2011, 08:53 PM
 
Join Date: Oct 2005
Location: USA
Age: 43
Posts: 118
DroopyPawn is on a distinguished road
Huh?

I'm not sure what you're trying to do but it's easy to find the points in CAD with no calculating. Just add a line with an endpoint at one of the points you're trying to find and look at its properties. I did the drawing in about a minute from your drawing. No problem finding any of the coordinates.
Attached Files
File Type: dxf dmitriy.DXF‎ (5.1 KB, 12 views)
__________________
Gary Shepherd
www.16tracks.com
Reply With Quote

  #7   Ban this user!
Old 07-20-2011, 10:44 AM
 
Join Date: Jul 2011
Location: UK
Posts: 13
dmitriy is on a distinguished road

Thanks a lot guys for answers!!! @ DroopyPawn: i don't have an access to CAD at the moment,otherwise it wouldn't be a problem
@ TXRED Thanks a mllion mate,i'll have something to rely on It's hard for the first time when u on ur own and under the pressure. You gave me something to hold on to!!
@ Valimarsbro: Wow! That's techinque i didn't know about. Will definitely give it a go!!! Thanks man.
Reply With Quote

  #8   Ban this user!
Old 07-20-2011, 12:15 PM
 
Join Date: Jul 2011
Location: USA
Posts: 7
Rich L is on a distinguished road

Excellent TXFred. It's good to see folks take the time to thoroughly answer a question. I know I appreciate that when I ask something.

OT - By the way, a theorem is a mathematical statement that has been rigorously proven. It is not a theory or proposition ... anymore.

Cheers,
Rich
Reply With Quote

  #9   Ban this user!
Old 07-20-2011, 04:15 PM
 
Join Date: Oct 2005
Location: USA
Age: 43
Posts: 118
DroopyPawn is on a distinguished road

You can download plenty of free CAD programs. If you're a student, AutoCAD is free. You can download the student version (which is identical to the Pro version) for free and it has a 36 month license.

Personally, I prefer eMachineShop for simple drawings like this. It's free.
__________________
Gary Shepherd
www.16tracks.com
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Drawing an angled slot that follows circumference of cylinder? Beezer Autodesk Software (Autocad, Inventor etc) 12 05-15-2011 04:55 PM
Problem- 3D angled boss GOOG659 FeatureCAM CAD/CAM 4 10-20-2010 12:47 PM
angled bore ? pit202 Solidworks 9 11-02-2008 07:11 PM
cutting a slot with a t-slot cutter cncuser1 Mastercam 11 09-09-2008 09:02 PM
Coated Carbide 4Flute Endmill, 3Flute Slot Drill, or 2Flute Slot Drill? weaston General Metalwork Discussion 7 04-11-2007 09:00 PM




All times are GMT -5. The time now is 07:58 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