Showing results for 
Search instead for 
Do you mean 

Need help with PostBuilder

Hello! I have a special problem with PostBuilder. I don't want to have circular output but linear moves is case of 5-Axis-Milling. To get this I thought to set the variables mom_kin_min_arc_length and mom_kin_min_arc_radius temporary to a very high value. This works, but not in all situations. After a tool_change it does not work. The second operation after tool_change works. The thing is: I don't know where the two mom-variables are interpreted. If I work with test-prints the mom-variables allways have the correct (the high) value but in the first operation after tool_change I get a MOM_circular_move-event and in the second operation I get several MOM_linear_move-events. Where is the problem?


Thank you for help.




Re: Need help with PostBuilder

what I use to do, is:

	global mom_arc_mode
	set mom_arc_mode LINEAR
	MOM_reload_variable mom_arc_mode

for 5 axis simult, and set it back to CIRCULAR for every other.

I do this in Start of Path event.

Marek Pawlus, NCmatic

Production: NX 11.0.1
Development: C#, Tcl/Tk, CSE

Re: Need help with PostBuilder

To get linear output of arcs (including helical moves), I usually insert the following lines:

global mom_kin_arc_output_mode mom_kin_helical_arc_output_mode

set mom_kin_arc_output_mode "LINEAR"
set mom_kin_helical_arc_output_mode "LINEAR"

 To return arc output, there are the same lines with values FULL_CIRCLE instead LINEAR.

Re: Need help with PostBuilder

Did you try operation settings instead of making it hard coded in post?


In Operation's dialogue ,

under Machine Control -->Motion Output Type--> Linear


If it is successful, make the template part with this setting so that whenever you use this operation, you will get linear output.



TC10/NX 9

Re: Need help with PostBuilder

Changing this inside of the operation results in a far better tool path than changing this in the post-processor.

Change the post-processor and you get faceted arcs due to a higher tolerance.#

Change it in the operation and the arcs are far smoother.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 ( | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Need help with PostBuilder

I tested it and see the difference.


 example of engage:


without coding in PP and operation adjusting:

L  X+122.8933 Y+29.2503 Z+165.8223 B-45 C+0 R0 FMAX
44 CR X+122.3697 Y+29.2595 R+30 DR+ FQ1602
45 CR X+101.163 Y+0. R+30 DR+


setting to line in PP
43 L  X+122.8933 Y+29.2503 Z+165.8223 B-45 C+0 R0 FMAX
44 L  X+118.7364 Y+28.8974 Z+161.6653 FQ1602
45 L  X+114.7176 Y+27.3254 Z+157.6466
46 L  X+110.993 Y+24.675 Z+153.9219
47 L  X+107.7055 Y+21.0478 Z+150.6345
48 L  X+104.9816 Y+16.5833 Z+147.9105
49 L  X+102.9259 Y+11.4531 Z+145.8548
50 L  X+101.6174 Y+5.8542 Z+144.5463
51 L  X+101.163 Y+0 Z+144.0919

setting to line in operation:
43 L  X+122.8933 Y+29.2503 Z+165.8223 B-45 C+0 R0 FMAX
44 L  X+119.87 Y+29.0505 Z+162.7989 FQ1602
45 L  X+116.8975 Y+28.2441 Z+159.8264
46 L  X+114.0364 Y+26.8477 Z+156.9653
47 L  X+111.345 Y+24.8897 Z+154.2739
48 L  X+108.878 Y+22.41 Z+151.8069
49 L  X+106.6856 Y+19.459 Z+149.6145
50 L  X+104.8125 Y+16.0967 Z+147.7415
51 L  X+103.2969 Y+12.3917 Z+146.2258
52 L  X+102.1695 Y+8.4194 Z+145.0984
53 L  X+101.4533 Y+4.2606 Z+144.3823
54 L  X+101.163 Y+0 Z+144.0919

#♫ PB, 5ax, itnc, nx, vericut ♫ #

Learn online

Solution Information