Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCL in Unigraphics NX

502 views
Skip to first unread message

sphongle

unread,
May 15, 2004, 4:31:56 PM5/15/04
to

Hello to all
I'm newbie :-) in TCl/Tk programming
I'm looking for some documentation for TCL/TK
I trying write postprocessor in Unigraphics NX for WEDM Machine
Version alpha is working but i want to expand my post.
Anyone have something about it??

Sorry for my englisch:-)

--
==============
== sphongle ==
==============

Jeff Godfrey

unread,
May 15, 2004, 7:08:30 PM5/15/04
to
"sphongle" <dusz...@wp.pl> wrote in message
news:217hwedlqx$.1iw3ee73f8s2g.dlg@40tude.net...
:
: Hello to all

: I'm newbie :-) in TCl/Tk programming
: I'm looking for some documentation for TCL/TK
: I trying write postprocessor in Unigraphics NX for WEDM Machine
: Version alpha is working but i want to expand my post.
: Anyone have something about it??

Interesting...

Does UG NX have tcl integrated somewhere in its depths, or are you just
planning to take some information output from NX (database, flat file, etc)
and post it for your target machine tool using an independent tcl based app?

Also, what exactly is your target machine tool? Is WEDM a Wire EDM machine,
or an abbreviation for Weidemann (as in Murata Weidemann)? I assume the
former. Is it driven by standard ISO NC codes (M & G)?

I don't really have much concrete information for you, other than tcl is
likely well equipped to do what you need. I too work in the field of
manufacturing automation, and use tcl for many NC code related tasks -
though I know nothing specific of UG NX.

Anyway, I'll be interested to see what this thread turns up...

Good Luck.

Jeff


Ben Loosli

unread,
May 15, 2004, 9:03:45 PM5/15/04
to
UG Postbuilder should have the files for a Wire EDM sample post. It is a lot
better to build the UG postprocessors with the postbuilder unless you really
know how to write tcl. UG has added a lot of custom commands to the
interpreter to handle all of the MOM_ statements coming out of UG CAM.

I have used UG for 17 years and wrote some GPM posts and customized the
output with GRIP. I took the initial post building class in Cypress, before
UG/Postbuilder was finished. We did all of our changes by editing the .tcl
and .def files.

We have 2 Monarch's that require special codes for tapping. I wrote the
customization code for tapping in the .tcl and .def post files.

--
Ben


"Jeff Godfrey" <jeff_g...@pobox.com> wrote in message
news:10ad8rp...@corp.supernews.com...

Ben Loosli

unread,
May 15, 2004, 9:05:11 PM5/15/04
to
I forgot to add that there is a lot of post building discussion in the CAM
and Language conferences on the UG internal BBS.


--
Ben


"Jeff Godfrey" <jeff_g...@pobox.com> wrote in message
news:10ad8rp...@corp.supernews.com...

sphongle

unread,
May 16, 2004, 3:15:26 AM5/16/04
to
Sat, 15 May 2004 18:08:30 -0500, na comp.lang.tcl, Jeff Godfrey
napisał(a):

> "sphongle" <dusz...@wp.pl> wrote in message
> news:217hwedlqx$.1iw3ee73f8s2g.dlg@40tude.net...
>:
>: Hello to all
>: I'm newbie :-) in TCl/Tk programming
>: I'm looking for some documentation for TCL/TK
>: I trying write postprocessor in Unigraphics NX for WEDM Machine
>: Version alpha is working but i want to expand my post.
>: Anyone have something about it??
>
> Interesting...
>
> Does UG NX have tcl integrated somewhere in its depths, or are you just
> planning to take some information output from NX (database, flat file, etc)
> and post it for your target machine tool using an independent tcl based app?

Tcl app is integated with MOM (Machine Output Manager)


>
> Also, what exactly is your target machine tool? Is WEDM a Wire EDM machine,
> or an abbreviation for Weidemann (as in Murata Weidemann)? I assume the
> former. Is it driven by standard ISO NC codes (M & G)?

Machnine is Wire EDM with ISO NC codes

sphongle

unread,
May 16, 2004, 3:42:33 AM5/16/04
to
Sun, 16 May 2004 01:03:45 GMT, na comp.lang.tcl, Ben Loosli
napisał(a):

> UG Postbuilder should have the files for a Wire EDM sample post. It is a lot
> better to build the UG postprocessors with the postbuilder unless you really
> know how to write tcl. UG has added a lot of custom commands to the
> interpreter to handle all of the MOM_ statements coming out of UG CAM.


So, I know about this and used UG Postbuilder but in PB I can't find
mom_ handlers for passes (for ex. number of pass)
I have to change parameters for every pass and I don't know how to
make this.

>
> I have used UG for 17 years and wrote some GPM posts and customized the
> output with GRIP. I took the initial post building class in Cypress, before
> UG/Postbuilder was finished. We did all of our changes by editing the .tcl
> and .def files.
>
> We have 2 Monarch's that require special codes for tapping. I wrote the
> customization code for tapping in the .tcl and .def post files.

Would you put to UG BBS link?
THX for all.

Ben Loosli

unread,
May 17, 2004, 7:30:17 PM5/17/04
to
UG's internal BBS is at http://bbsnotes.plms-eds.com/

--
Ben


"Ben Loosli" <bloos...@earthlink.net> wrote in message
news:b7zpc.11677$KE6....@newsread3.news.atl.earthlink.net...

vishnur...@gmail.com

unread,
Feb 14, 2018, 10:43:18 AM2/14/18
to
i have a doubt- Please Clarify
Does NX support TCL/TK Commands ?

Please Advice! if i am wrong

Nicolas Robert

unread,
Feb 14, 2018, 2:11:17 PM2/14/18
to
0 new messages