fusion 360 wrapping function for Mach3 in MM only

fusion 360 wrapping function for Mach3 in MM only

daniel_lyall
Mentor Mentor
13,046 Views
62 Replies
Message 1 of 63

fusion 360 wrapping function for Mach3 in MM only

daniel_lyall
Mentor
Mentor

Here is a new tool for everyone (Mach3 so far) this was done by @HughesTooling He did the post processor changes and the .f3d file I just asked for it, all credit for this goes to Mark he the Man with the getup and go to do this.

 

attached is the post processor and demo file for wrapping Y axis to A this post processor can be used to convert X or Y axis to A you just need to make sure radius correction is set to half diameter in the file the diameter is 50 so the correction is 25, and make sure the axis of rotation is set in tool paths under config in Mach3.

 

I have not tested this on a machine yet also your X, Y, Z and A axis zero's have to be set first before running it there are some small changes still to be done it will be reposted when done but it works and is useable.

 

any question ask here.

 

Edited by Request
Discussion_Admin


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

13,047 Views
62 Replies
Replies (62)
Message 41 of 63

Anonymous
Not applicable

I can read text now! its not perfect but i guess ill have to keep messing with it. I linked a picture of what i have now running your linked gcode txt file. Thank you for helping me out

0 Likes
Message 42 of 63

daniel_lyall
Mentor
Mentor

@Anonymous well that screen shot shows you are set up wrong, You need to set up your machine correctly to start with, read the manual and if you send me your profile you are testing with make sure it's the one you are useing.

 

just a hint your Axis's are not at work zero 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 43 of 63

Anonymous
Not applicable

all my settings are mirrored to the pictures you linked, so i don't understand how they are "wrong". By not zeroing out my DRO to the workpiece, it would not be messing up the toolpath picture as it is. It would simply be further or closer to said toolpath. Has anyone else ran into this problem, or am I the only one? I appreciate the time you took to help me get this issue closer to being fixed Daniel. 

 

When in the post processor, what unit of measurement is the 2.3565, inches or millimeter? 

 

Thanks again, Daniel!

0 Likes
Message 44 of 63

daniel_lyall
Mentor
Mentor
that is the radius of the inch cut, the file I added is inch. have a look at your Y it should be 0 and yes it does affect how it looks if not at work Zero, and the profile in the pick is different from what you posted. the one you posted yesterday was not set up at all, it's up to you to set the machine up correctly. no only a few people use this, this is a non fusion addon what I got done so it is up to me to support it. ADSK don't wont anything to do with it. now double check all your settings close and reopen Mach then post your XML of the profile you are use to test this. if I find anything wrong I will fix it and post it back.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 45 of 63

Anonymous
Not applicable
The profile is different in this last picture because I getting a dll error when I would open mach3. So I reinstalled mach and started going through settings again. I'll double check all my stuff and get back with ya.
0 Likes
Message 46 of 63

Anonymous
Not applicable

Hello,

I followed the videos and instructions exactly, but Mach3 toolpath never displays how yours does. all i see is a circle. What am i doing wrong? Any help will be greatly appreciated.

0 Likes
Message 47 of 63

daniel_lyall
Mentor
Mentor

@Anonymous 

yep you will have one or two setting set wrong in what direction do you have the part set along the Y or along the X and can you post the code you used, I need this so I can give you the correct pics of the setting you need to change.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 48 of 63

Anonymous
Not applicable

the  way A axis is set on the rotor is in line on the Y Axis .   And the A axis turn on the X axis .     Sorry I'm new at CNC rotor thanks for your help

0 Likes
Message 49 of 63

daniel_lyall
Mentor
Mentor

@Anonymous can you post the .f3d it looks like you did it around the wrong way.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 50 of 63

Anonymous
Not applicable

could you explain this in a little more detail? 

0 Likes
Message 51 of 63

Anonymous
Not applicable

this is what i now 

0 Likes
Message 52 of 63

Anonymous
Not applicable

the .f3d is yours i copy yours file  off the page here   .i have not draw any yet ,that is your code shown on the pic of mach3 

0 Likes
Message 53 of 63

daniel_lyall
Mentor
Mentor

@Anonymous yep cool I have been trying to do a screencast for you but it's not working fusion is being a **** as well.

 

 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 54 of 63

daniel_lyall
Mentor
Mentor

@Anonymous for some reason I can not get it working in inch anymore it's fine in metric.

 

attached is the metric example I am going to have to find where the problem is it's going to take time.

 

all axis at home 

first.png

 

setting for toolpath under config

second.png

 

 

 

 

 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 55 of 63

HughesTooling
Consultant
Consultant

Hay Daniel, any idea what the problem with inches is, did it ever work in inches? Is the problem with the G code or in Mach3?

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 56 of 63

daniel_lyall
Mentor
Mentor

no idea it did work, then it would only wrap half way now not at all, metric is only half way now, it was working very well.

 

I will have to look at the code and see if there is any differences I still have the original.

 

it's not Mach3 I tried every way possible, I will play more today I have a long print to do


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 57 of 63

daniel_lyall
Mentor
Mentor

@HughesTooling I have found what was wrong with metric it was me, forgetting how to set it.

 

inch, what is in red 

 

function onOpen() {

var toAngle = -360 / (properties.Diameter * 3.1415927)
aFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:toAngle});   
properties.ConvertXorY = String(properties.ConvertXorY).toUpperCase()

if (properties.ConvertXorY == "Y") {
yOutput = createVariable({prefix:"A"}, aFormat);
xOutput = createVariable({prefix:"X"}, xyzFormat);
}else if (properties.ConvertXorY == "X") {
xOutput = createVariable({prefix:"A"}, aFormat);
yOutput = createVariable({prefix:"Y"}, xyzFormat);
} else {
error(localize("Only X or Y axis can be converted to rotation angle"));
return;
}


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 58 of 63

HughesTooling
Consultant
Consultant

I just did a simple test with 2 lines of equal length from Y0.0 one positive one negative and it seems to work correctly for inches and mm.

Capture3.PNG

 

And a screencast.

 

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 59 of 63

HughesTooling
Consultant
Consultant

Hi Daniel should the aFormat be for 4 places for inch and mm?

 

aFormat = createFormat({decimals:4, forceDecimal:true, scale:toAngle});

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 60 of 63

daniel_lyall
Mentor
Mentor

yer 4 for inch, metric can be whatever I will make that change.

 

The problem is all me I have worked out what I have done wrong, I just need to do a new vid for it, I was forgetting to set the radius in the post before posting. 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes