Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Comment inside a "writeBlock" Postprocessor

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
lufti2XPD8
1047 Views, 4 Replies

Comment inside a "writeBlock" Postprocessor

Hey there, 

 

just wanted to ask if its possible to add an comment inside a "writeBlock" so the comment will appear in the same line instead of a new line

 

Instead of:

N85 G55

N90 G0 A0.
N95 (ROTATE A-AXIS)
 
I want it to be
 

N85 G55

N90 G0 A0. (ROTATE A-AXIS)
 
Thanks in advance!
4 REPLIES 4
Message 2 of 5
Arun.rs
in reply to: lufti2XPD8

Hi @lufti2XPD8 

 

Thanks for raising your concern via Forum.

 

You can use '+' operator to add any line inside "writeBlock" function and this will appear in the same line.

 

A_axis.png

Hope this helps.

 

Regards

 



Arun.RS
Technical Consultant - Post Processor
Message 3 of 5
lufti2XPD8
in reply to: Arun.rs

Awesome thx a lot!

Message 4 of 5
lufti2XPD8
in reply to: Arun.rs

Sorry to annoy you again but it i got trouble now to add my tool description to same line where my tool call is.

 

    writeToolBlock(
      "T" + toolFormat.format(tool.number),
      mFormat.format(6)
    );
    if (tool.description) {
      writeComment(tool.description);
    }
 
is the code i am using right now
Message 5 of 5
Arun.rs
in reply to: lufti2XPD8

Hi @lufti2XPD8 

 

Apologies for delay in reply.

 

You can have tool number and tool description in same line by giving below comments.

 

 writeBlock("T" + toolFormat.format(tool.number), mFormat.format(6), tool.description ?  formatComment(tool.description) : "");

 TOOL.png

 

Hope this helps!

 

Regards



Arun.RS
Technical Consultant - Post Processor

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report