CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 20, 2017, 11:35:29 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Notes and comments  (Read 909 times)
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 7114



View Profile
« on: March 25, 2012, 20:28:16 pm »

I have a number of designs where adding notes and comments to particular MOps would be useful.

For instance, on one, it's important to use a 6-flute _cobalt_ spiral mil.  On another, a note that multiple passes of the same MOp with different roughing clearances might be necessary to get an _exact_ sliding fit to a commerical cylinder rod end.

I can (and do) accomplish this with a separate notes file for each design, but it would be a lot nicer to have them IN the CB design.

1) how can I do that, MOp-specific, and
2) how can I get them to show up when I display a MOps properties?

Thanks,
Lloyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 7114



View Profile
« Reply #1 on: March 25, 2012, 20:37:11 pm »

Eh... never mind.  I never thought of "tag" as a descriptor for a comment block... (blush!).

LLoyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
Garyhlucas
CNC Jedi
*****
Offline Offline

Posts: 1001


View Profile
« Reply #2 on: October 11, 2017, 23:18:43 pm »

This thread is kind of ancient history but I found it through a search on comments. Like Lloyd the term tag threw me. So you canput comments in the MOP. Does it get posted as a comment in the G-code too? Some G-code files are tested and debugged and just need to be run so you may not open the CamBam file to see the note.
Logged

Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3139



View Profile
« Reply #3 on: October 12, 2017, 08:15:12 am »

Gary,

The "Tag" is a no-go area for me because it's vital for my Groups plugin.
Another way would be to use this in the Custom Mop Header;

{$comment} your text here {$endcomment}

It would then show up in the g-code too and unlike the Tag field a nice little text edit box pops up.
« Last Edit: October 12, 2017, 08:30:50 am by EddyCurrent » Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #4 on: October 12, 2017, 18:07:12 pm »

Eh... never mind.  I never thought of "tag" as a descriptor for a comment block... (blush!).

LLoyd


Hello

And you can add a $mop.tag macro in your PP so the values in the tag field are also written in the GCode.

++
David
Logged
Bubba
CNC Jedi
*****
Offline Offline

Posts: 2225



View Profile
« Reply #5 on: October 12, 2017, 19:59:01 pm »

Eh... never mind.  I never thought of "tag" as a descriptor for a comment block... (blush!).

LLoyd


Hello

And you can add a $mop.tag macro in your PP so the values in the tag field are also written in the GCode.

++
David

OK, David.
Can you give me and example how to add this to Mach3 MOP. I could really use this.
Thanks.
 
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #6 on: October 12, 2017, 23:40:33 pm »

Hello,

in the (main) section of the PP, edit the MOP property and add the bold line to the macro

{$comment} {$mop.name} {$endcomment}
{$comment} {$mop.tag} {$endcomment}
{$toolchange}
{$velocitymode} {$workplane}
{$mop.header}
{$spindle} {$s}
{$blocks}
{$mop.footer}

Ps, in the tag field of the MOP, use only ONE text line.

++
David
Logged
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #7 on: October 13, 2017, 00:05:48 am »

Re

Quote
The "Tag" is a no-go area for me because it's vital for my Groups plugin.

Only the tag fields of drawing entities, the tag fields of the mops are not used by your group plugin  Wink

++
David
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 3139



View Profile
« Reply #8 on: October 13, 2017, 08:01:11 am »

Re

Quote
The "Tag" is a no-go area for me because it's vital for my Groups plugin.

Only the tag fields of drawing entities, the tag fields of the mops are not used by your group plugin  Wink

++
David

Yes of course ! how stupid of me  Roll Eyes
Logged
Bubba
CNC Jedi
*****
Offline Offline

Posts: 2225



View Profile
« Reply #9 on: October 13, 2017, 14:03:18 pm »

Thanks David.
Logged
Bob La Londe
CNC Jedi
*****
Offline Offline

Posts: 2932


^ 8.5 pounds on my own hand poured bait.


View Profile WWW
« Reply #10 on: October 14, 2017, 18:17:35 pm »

The name of the MOP is a great place for short notes.  Remember not to use special characters or punctuation.  Mach 3 is fairly tolerant of what is between the () except for (), but other controllers may not be. 

You can also add comments between () in the MOP header.  Using the MOP Header you can even have multiple lines of comments as long as each line starts with ( and ends with ).  Again, maybe not with other control software.  Sorry, I am really only familiar with Mach3 and to a lesser degree LinuxCNC. 



Logged

Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #11 on: October 14, 2017, 18:57:12 pm »

Hello

Be careful, Mach3 don't like imbricated parenthesis

so if a line is

(( my comments ))

in the Gcode Mach3 will return an error.

++
David

Logged
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 7114



View Profile
« Reply #12 on: October 14, 2017, 19:30:43 pm »

David,
In 'American English', imbricated means 'overlapping'.  We, here (especially in programming), choose to call parentheses within parentheses "nested", instead.  Or, in more-plain English "parenthetical clauses within parenthetical clauses".   It's hard translating from one vernacular to another!

But yeah... regardless of language, your meaning is well-taken.

Thanks,

Lloyd
« Last Edit: October 14, 2017, 19:37:39 pm by lloydsp » Logged

"Pyro for Fun and Profit for More Than Fifty Years"
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 4686



View Profile WWW
« Reply #13 on: October 14, 2017, 19:53:58 pm »

Ah yes !, nested ... I was unable to remember exactly the Mach3 message ..

Gogol return the same word in French for Imbricated or Nested (imbriqué) ... and sometimes it translate "imbriqué" by interleaved ...  Grin

++
David
Logged
Gordo
CNC Ewok
*
Offline Offline

Posts: 42


View Profile
« Reply #14 on: October 16, 2017, 21:22:13 pm »

Ah, Wunderbar!!!  Not only excellent CNC spoken here but Languages 101 as well:   auf Deutsch, "Nested"  = "eingenistet"     aka  "Schlupfwinkel" …this one probably, only in Bavaria  during Oktoberfest after too much barley pop!

Prost,
Gordo
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.149 seconds with 19 queries.

Copyright © 2008 HexRay Ltd. | Sitemap