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! > CAM Software > Dolphin CADCAM


Dolphin CADCAM Discuss Dolphin CAD/CAM software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-14-2007, 11:59 PM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road
Rotate/Translate Axes?

I've got a Partmaster Drawing (.dra) and resulting Machining (.cnc) file that is oriented with the standard XYZ axes. I mounted my chunk-o-metal all firmly to my table, got it all squared up w/ the mill axes and discovered (thankfully before attempting to cut), that I have it mounted 90 degrees off. Positive X in my drawing needs to be negative Y on my setup, and positive Y in my drawing needs to be positve X on my setup. (I did manage not to bungle the Z... :-)

Is there a simple way to translate axes so that this type of situation can be handled? (BTW, I'm using PartMaster v8, if that makes a difference.)

Thanks Much!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-15-2007, 11:00 PM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

Update - I selected all elements in the drawing and rotated the whole set by 90 degrees, then shifted it down into the +x/-y quadrant. I'd had the 'bottom' of the part originally lying on the X axis, with the left most edge of the part against the Y axis. After the rotation/translation, the former left edge was against the X axis, while the former 'bottom' of the part was lying along the negative Y axis. I re-imported it into DCAM and Post Processed it and got an interesting result.

There was a 3/8" hole in the middle of the part, constructed of 4 G03 commands (by PartMaster):

G03 X1.4 Y0.5438 I-0.0938 J0.0
G03 X1.3063 Y0.45 I0.0 J-0.0938
G03 X1.4 Y0.3563 I0.0938 J0.0
G03 X1.4938 Y0.45 I0.0 J0.0938

and this processed fine when the part was in its original position. But, in the new position, I got an incomplete G03 command after the 4 arcs constructing the hole:

G03 X0.545 Y-1.3996 I-0.0001 J0.0938
G03 X0.4513 Y-1.3059 I-0.0938 J0.0
G03 X0.3575 Y-1.3996 I0.0 J-0.0938
G03 X0.4513 Y-1.4934 I0.0938 J0.0
G03 I0.0 J0.0938

and EMC complained, rightfully so. The hole was 1" deep, so was made by 4 .25" deep passes, and each of the 4 passes had this extra, incomplete G03 command.

Any thoughts/ideas on why this happened? I simply removed the 5th G03 from each of the circular passes and the was palatable to and ran fine in EMC. If I can avoid this happening at all in the future though, that would be preferrable. (Chad, if you're reading this, this was using the Post you recently modified for me, though I got the same results using the original, unmodified M_TurboCNC_Triac.ppr Post as well.)


Thanks Again!
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-17-2007, 10:17 AM
 
Join Date: Jan 2007
Location: United States
Age: 32
Posts: 90
Chad_Clark is on a distinguished road

This is a tolerance problem, it can be fixed quite easily with a small mod to the post-processor.

What version of PartMaster do you have - when is it dated ? There has been changes recently (to V9 and V10) affecting arc splitting.

If I can get a copy of the .cnc file I can test exactly what is happening and decide the best course of action.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-17-2007, 10:56 PM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

Hi Chad,
I'm using Dolphin Partmaster Milling and Turning module Version 8, 2, 1004. I couldn't find any file date in the About window, but the file date on the Dcam.exe file is 3/2/2004.

I'm attaching the .cnc file that is resulting in the extra G03 command. The tool being used is a .1875 IN endmill. Below is the generated gcode. This is from the TurboCNC Post that you just recently modified for me. (I renamed the file to differentiate it from the prior version.)

%
( Produced :- 22:52:03 Monday, September 17, 2007 )
( CNC File :- ExtraG03Hole )
( Post Processor :- M_TurboCNC_Triac3 )
G90
G20
G00 X0.0 Y0.0 Z0.25
G00
M05
M06 T03 ( End Mill )
M03 S1000
M07
M03 S1000
G00 X0.4513 Y-1.4934
G00 Z0.1181
G01 Z-0.25 F0.163
G03 X0.545 Y-1.3996 I-0.0001 J0.0938
G03 X0.4513 Y-1.3059 I-0.0938 J0.0
G03 X0.3575 Y-1.3996 I0.0 J-0.0938
G03 X0.4513 Y-1.4934 I0.0938 J0.0
G03 I0.0 J0.0938
G00 Z0.25
M02
%

As always, Thanks a Bunch!!

Jim
Attached Files
File Type: txt ExtraG03Hole.cnc.txt‎ (4.9 KB, 86 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 09-17-2007, 10:59 PM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

Also, so as not to lose track of my original question on this... Is there a means of translating axes in the CAM module? I'm guessing that there must be plenty of cases in the real world that through choice or error, material is fixtured in a way that does not correspond to the original drawing's axes. Can this type of situation be dealt with in Partmaster w/o having to go back to the original drawing to translate all of the components manually?

Thanks Again!
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-18-2007, 11:28 AM
 
Join Date: Jan 2007
Location: United States
Age: 32
Posts: 90
Chad_Clark is on a distinguished road

I have checked the V8.4.1018 (which is the earliest I can find) source code and compared it to the V9 code. There is a bug in V8 which can cause a spurious arc move to be output. It is caused by tolerance errors when splitting arcs at quadrant boundaries - as required by some controllers. If the arc ends very close to a quadrant boundary (i.e. more than 0.000004" from the quadrant boundary) there is a 50% chance of an an errant arc move being output.

This problem was fixed in version 9, now arcs which end very close to quadrant boundaries (ie within about 0.0003" of the quadrant boundary) are treated as if they end exactly at the quadrant boundary. This eliminates the spurious arc block.

DCam V9 and V10 both support axis scaling, translation, rotation and mirroring.

You would need to upgrade at least to V9 (and preferably V10) to fix the arc problem.

There has been numerous improvements and bug fixes since V8.2.1004. There will be no loss of functionality, and a host of new features assuming the customer opts for Level 3. (There was no concept of L1, L2 or L3 in Version 8, there was just the standard version and a Mach2 version which would only run the Mach post processors.)

Many of the NC code generation routines have been completely re-written to produce more efficient toolpaths - especially in turning.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-18-2007, 11:50 AM
 
Join Date: Jan 2007
Location: United States
Age: 32
Posts: 90
Chad_Clark is on a distinguished road

Originally Posted by jim_stoll View Post
Also, so as not to lose track of my original question on this... Is there a means of translating axes in the CAM module? I'm guessing that there must be plenty of cases in the real world that through choice or error, material is fixtured in a way that does not correspond to the original drawing's axes. Can this type of situation be dealt with in Partmaster w/o having to go back to the original drawing to translate all of the components manually?

Thanks Again!
Jim,

Not in the verison that you are using, but in V10, it will incorporate axis translation and rotation in the fixture offset.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-04-2007, 10:04 AM
 
Join Date: Sep 2007
Location: USA
Posts: 14
GSSTUART is on a distinguished road
Elaborate Please

Chad- Could you please give more direction about fixture offset in V10.
I tried it and it asked for an offset register, is this something that I have to define in the ppr? Also I didn't see any options for rotation, only translation.

Thanks
Gary
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 10-05-2007, 11:28 AM
 
Join Date: Jan 2007
Location: United States
Age: 32
Posts: 90
Chad_Clark is on a distinguished road

The fixture offset feature (Setup menu > Fixture offsets) is intended to allow the user to assign geometry (Contours and Patterns) to various named groups. Each group has associated with it a local datum point and a fixture offset number (in the range 1 - 6).

If this facility is used then any machining applied to a contour/pattern which is in a fixture offset group is translated to the group's local datum point.

If the post-processor is setup to use fixture offsets (typically G54 through G58 and G59 which cancels the offset) then the post will output the relevant Gcode. The XYZ data is output unmodified.

If the post-processor is not set up to use fixture offsets, it will modify XYZ data by adding on the XYZ value of the fixture offset group local datum.

Either way the end result is the same, machining is offset relative to the machine zero.

Since most older controllers do not support axis rotation as part of their fixture offset capabilities it is not implemented here - but may be in a future release.

To cope with combined translation and rotation, use the Repeat machining command.
Set Repeat to 1 in X and 1 in Y, now you can use the Mirror / Scale / Rotate / translate tabs to mimic "fixture offset" in a way that does not depend on any of the machine controller capabilities.

You must use the repeat commands in pairs, the first one switches on, the second switches off. All machining in between them is affected by the parameters specified by the first Repeat command of the pair.

I have sent a .CNC file to your email so that you can see the set-up and example. Just save it to your computer and then open it with the Partmaster CAM program by choosing open existing job. I hope this helps
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-05-2007, 07:35 PM
 
Join Date: Sep 2007
Location: USA
Posts: 14
GSSTUART is on a distinguished road
Useful Feature

Thanks Chad - That will definitely come in handy. One additional question. When I tried the repeat sequence on a file of mine that is in inch units the rotate and translate fields were in mm. Do I just do the math or is there a global units switch that I have not set.

Gary

Last edited by GSSTUART; 10-08-2007 at 10:36 AM. Reason: Typo
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-09-2007, 03:29 PM
 
Join Date: Jan 2007
Location: United States
Age: 32
Posts: 90
Chad_Clark is on a distinguished road

Originally Posted by GSSTUART View Post
Thanks Chad - That will definitely come in handy. One additional question. When I tried the repeat sequence on a file of mine that is in inch units the rotate and translate fields were in mm. Do I just do the math or is there a global units switch that I have not set.

Gary
Gary,

They should be in inches (0.0"). As long as your machine set-up is set in inches.

Chad
Tweet this Post!Share on Facebook
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
R2E3 quill rotate? cut more Bridgeport and Hardinge Mills 2 09-13-2007 07:38 AM
Rotate and copy bdrmachine Solidworks 6 02-02-2007 10:56 PM
Rotate pulleys using less energy. Jigar111 Mechanical Calculations/Engineering Design 2 12-03-2006 01:51 PM
rotate axes to actual setup kdoney Mach Mill 0 02-08-2006 03:09 PM
copy and rotate, help (okuma) zooloader G-Code Programing 13 06-26-2005 08:01 PM




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