problem with PP for mach4

problem with PP for mach4

Stuart-H
Collaborator Collaborator
407 Views
5 Replies
Message 1 of 6

problem with PP for mach4

Stuart-H
Collaborator
Collaborator

ok its very difficult to explain but I will try

 

it does not matter what the am file is the result is the same

 

ok download the generic PP from the web site 

set up a generic a axis machine from your library

point that to the above PP 

run a simple 3 axis file and the machine details appear in he post before the tool list 

 

ok that works

 

but now I have a file that uses the a axis 

so as I have done before alter the statement in onopen from false to true

now if I use the machine config in the setup file it fails on onopen with no info why

but if I remove the machine config from the setup and just select the PP from the personal list it works

 

now the machine description will not show up in the gcode output , but if I remove the onopen changes they show up again

 

 

 

 

Mac Studio M1Max and MacBook Pro M1
0 Likes
Accepted solutions (1)
408 Views
5 Replies
Replies (5)
Message 2 of 6

Stuart-H
Collaborator
Collaborator

I have done a bit more looking into this problem

 

when using a configured machine in which you have the pp selected but with a new unmolested post from the Fusion post lib it works as expected for 3 axis parts ,ie the machine configuration is outputted in the post ( needed to identify the post)

 

every thing as above but set up the mach4 post for a axis as per instructions on this site the machine configuration is not outputted in the post

 

note that is the only change that causes the missing information  

Mac Studio M1Max and MacBook Pro M1
0 Likes
Message 3 of 6

engineguy
Mentor
Mentor

@Stuart-H 

 

Yes, it has been broken for quite a while now, used to work fine but went south about a dozen updates ago 😞 😞 😞

 

The "work around" most folks seem to use is the "Passthrough" which allows you to type in the information you want to be output in the code, see below for examples.

 

Input the information shown below 🙂

Passthrough Example.jpg

 

and you will get code like this 🙂

 

Passthrough Example Code.jpg

 

No great hardship, only needs doing once and is easy to edit if required 🙂

Hope it is of some use/interest to you, modified your PP to output the Passthrough and it is attached 🙂

 

Regards

Rob

0 Likes
Message 4 of 6

Stuart-H
Collaborator
Collaborator

@engineguy 

Rob

thanks for the information and your time in modding my post

 

i hope this next comment does not offend but I am not marking it as a solution as it needs to be picked up by the Fusion360 and put right it dismays me that improvements are made and more things are broken

 

thank you again 

 

Mac Studio M1Max and MacBook Pro M1
0 Likes
Message 5 of 6

Tomek.G
Autodesk
Autodesk
Accepted solution

Hi @Stuart-H,

 

thank you for bringing this up. When the 4th axis is enabled, the
machineConfiguration = new MachineConfiguration(aAxis); override the machine description.

A workaround is to move the definition of description parameters before 4th axis configuration like so:

  var vendor = machineConfiguration.getVendor();
  var model = machineConfiguration.getModel();
  var description = machineConfiguration.getDescription();
  if (true) {
    var aAxis = createAxis({coordinate:0, table:true, axis:[-1, 0, 0], cyclic:true, preference:1});
    machineConfiguration = new MachineConfiguration(aAxis);

 


Tomek.G
Sr. Technical Consultant
Message 6 of 6

Stuart-H
Collaborator
Collaborator

@Tomek.G 

 

thanks for your time

 

and of course thank you for the information to resolve it

 

Mac Studio M1Max and MacBook Pro M1
0 Likes