special characters (ÄÖÜ) in PP

special characters (ÄÖÜ) in PP

a.reissig
Advocate Advocate
186 Views
1 Reply
Message 1 of 2

special characters (ÄÖÜ) in PP

a.reissig
Advocate
Advocate

Englisch Version:

 

Hi Autodesk Community,

 

I got a Problem with special characters in my Heidenhain PP (ÄÖÜ)

 

I´m using a German Version of Fusion360.

 

If I Use Parameterized feeds I get the translation „Übergang“

 

60 CYCL DEF 32.1

61 FN0: Q50=2925 ; Schneiden

62 FN0: Q52=2925 ; Schlichten

63 FN0: Q57=8000 ; Eintauchen

64 FN0: Q59=8000 ; �bergang

65 L Z+36.659 FMAX

66 L Z+34.659 FQ1607

 

Following block of the PP is generating this code.

 

writeBlock("FN0: Q" + (1600 + feedContext.id) + "=" + feedFormat.format(feedContext.feed) + " ; " + feedContext.description)

 

 

The NC-Control can not work with special characters.

 

„operation:noEngagementFeedrate“ gets translated to Übergang.

There seams to be a solution for this Problem.

You can define your own translations in the PP.

 

An example:

if (hasParameter("operation:noEngagementFeedrate")) {

    if (movements & (1 << MOVEMENT_LINK_DIRECT)) {

      var feedContext = new FeedContext(id, localize("Verbindung"), getParameter("operation:noEngagementFeedrate"));

      activeFeeds.push(feedContext);

      activeMovements[MOVEMENT_LINK_DIRECT] = feedContext;

 

Now „operation:noEngagementFeedrate“ will get translatet to Verbindung not Übergang.

 

I can modify my PP, but with the next upgrade I have to do it again.

 

Is there a better solution, or is this a topic for support?

 

Best regards Alexander

 

 

 

 

0 Likes
187 Views
1 Reply
Reply (1)
Message 2 of 2

a.reissig
Advocate
Advocate

Well i fixed it for now,

here the code i have to edit

 

Original:

}

  if (hasParameter("operation:tool_feedTransition")) {

    if (movements & (1 << MOVEMENT_LINK_TRANSITION)) {

      var feedContext = new FeedContext(id, localize("Transition"), getParameter("operation:tool_feedTransition"));

      activeFeeds.push(feedContext);

      activeMovements[MOVEMENT_LINK_TRANSITION] = feedContext;

    }

    ++id;

  }

 

Edited:

}

  if (hasParameter("operation:tool_feedTransition")) {

    if (movements & (1 << MOVEMENT_LINK_TRANSITION)) {

      var feedContext = new FeedContext(id, localize("Uebergang"), getParameter("operation:tool_feedTransition"));

      activeFeeds.push(feedContext);

      activeMovements[MOVEMENT_LINK_TRANSITION] = feedContext;

    }

    ++id;

 

0 Likes