Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 10:25:29 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
Feature Requests
Rotational offset on Z plane
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: Rotational offset on Z plane (Read 1338 times)
0 Members and 1 Guest are viewing this topic.
rrc1962
Active Member
Offline
Posts: 434
Rotational offset on Z plane
«
on:
December 01, 2010, 01:18:57 PM »
I've always thought that it would be handy to have a button on screen that would rotate the part in Mach. That way if it doesn't fit in the space intended on the sheet it could be rotated on the shop floor to match the material without generating a new g-code file. Is this possible? I know you can do work offsets, but I'm not sure about setting offsets that would effectively rotate the part on the Z plane. A quick test shows that simply swapping x of y and y for x in the code effectively rotates the part 90 degrees, so one not so elegant solution would be to go through the loaded g-code file, swap it's contents over to a teach file swapping x or y and y for x, then loading the teach file.
Offsets would be so much cooler.
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: Rotational offset on Z plane
«
Reply #1 on:
December 01, 2010, 01:20:46 PM »
Now that I think of it, I'm not sure there is even a way to read a file line by line in VB Script. Is there a way?
EDIT: Looks like you can use regular VB Script in Mach. Don;t know why, but I was thinking mach used it's own limited subset of the language.
«
Last Edit: December 01, 2010, 01:36:23 PM by rrc1962
»
Logged
BR549
Active Member
Online
Posts: 2,556
Re: Rotational offset on Z plane
«
Reply #2 on:
December 01, 2010, 01:45:22 PM »
How about just using the G68 Corrd rotation(;-) to rotate the part.
Just a thought, (;-) TP
Logged
Ya-Nvr-No
Active Member
Offline
Posts: 268
Scuptris 3D
Re: Rotational offset on Z plane
«
Reply #3 on:
December 01, 2010, 03:07:17 PM »
I created a DRO box, I just type in the angle I want, or
I also have a probing routine that finds the angle by touching off two sides and computes it for me, then moves to the new 0,0 point
So it is possible, though it can get confusing watching the numbers on the screen,
«
Last Edit: December 01, 2010, 03:10:01 PM by Ya-Nvr-No
»
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: Rotational offset on Z plane
«
Reply #4 on:
December 01, 2010, 03:11:09 PM »
Exactly what I was looking for. Thank very much.
Is there a way to get the X an Y bounds of a part file so you could rotate on the center of the part?
Logged
BR549
Active Member
Online
Posts: 2,556
Re: Rotational offset on Z plane
«
Reply #5 on:
December 01, 2010, 04:23:50 PM »
You can use the program extents. X min/max Ymin/max But that does not always give you the geometric center of the part just the center of the program.
(;-) TP
Logged
Ya-Nvr-No
Active Member
Offline
Posts: 268
Scuptris 3D
Re: Rotational offset on Z plane
«
Reply #6 on:
December 01, 2010, 06:20:39 PM »
Once I have the 0,0 (lower left corner) point, I have a routine that finds the center of a block/rectangle based on its rough size, and then makes a new 0,0 point to the center coordinates. There is always a way to get what you want. That's why we love this program, even with the minor issues. It just keeps getting better with everyone's input.
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: Rotational offset on Z plane
«
Reply #7 on:
December 01, 2010, 09:07:17 PM »
I've got it working great. The only problem is that Mach doesn't play well with IJ arcs and circles after a G68. I found a post that said that R mode arcs work fine. Just don't know if it's worth all that just to rotate the part. Most, if not all of my part files have IJ arcs.
Logged
Mike_F
Active Member
Offline
Posts: 65
Re: Rotational offset on Z plane
«
Reply #8 on:
December 02, 2010, 06:06:22 AM »
Hi, Can you not tweak your post processor to only use the R word for arcs. That is just what I have had to do for my -1 scaling problem. I was able to find the place in the pp that determined the type of code to use for arcs and changed it accordingly.
Mike
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: Rotational offset on Z plane
«
Reply #9 on:
December 02, 2010, 09:38:00 AM »
Yes, I can, but I'm told that R has some accuracy issues at certain angles.
Logged
Pages:
1
2
3
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...