Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

X+ Setup Sheet and Tool List - 3rd party Add-on


Guest
 Share

Recommended Posts

6 hours ago, Bill Craven said:

Where is this Javascript file located?

Somewhere around here...  C:/Users/Public/Documents/X+/templates/setup%20sheets/js/default.js

It's an empty file that gets linked to in the html. It doesn't do anything until you add your js code to it.

Link to comment
Share on other sites
  • 2 weeks later...
  • 4 weeks later...

A few questions...

#1) I would like to change the name of some of the field description/headers (tl manufactor, tl mfg code, etc)  Is there a way to do this?  I know I've seen a renaming script for this, but the most recent version was for X9, and I wasn't sure if it'd work.  

 

#2)  Under the NC-Header fields, if I leave one blank, it still outputs it, just...well, blank, lol.  If I'd like to not use some of these fields, can I remove them?

 

#3)  Is there a way to place setup instructions, offset pickups, note, etc?  

 

#4 and final)  Would some of you who have refined X+, and taken advantage of its capabilities mind posting an example setup sheet?  I'm trying to get an idea of what X+ is capable of, and what I can utilize vs. where I'm asking too much of it.  

 

Thank you!!

**edit** ok, I lied about the final part.  I looked through some of the files, and cant find a way to change the size of the company logo.  It's sized correctly in the setup sheet, but very large in the tool sheet.

 

Link to comment
Share on other sites
5 hours ago, JB7280 said:

A few questions...

#1) I would like to change the name of some of the field description/headers (tl manufactor, tl mfg code, etc)  Is there a way to do this?  I know I've seen a renaming script for this, but the most recent version was for X9, and I wasn't sure if it'd work.  

 

#2)  Under the NC-Header fields, if I leave one blank, it still outputs it, just...well, blank, lol.  If I'd like to not use some of these fields, can I remove them?

 

#3)  Is there a way to place setup instructions, offset pickups, note, etc?  

 

#4 and final)  Would some of you who have refined X+, and taken advantage of its capabilities mind posting an example setup sheet?  I'm trying to get an idea of what X+ is capable of, and what I can utilize vs. where I'm asking too much of it.  

 

Thank you!!

**edit** ok, I lied about the final part.  I looked through some of the files, and cant find a way to change the size of the company logo.  It's sized correctly in the setup sheet, but very large in the tool sheet.

 

Most what you are asking for can be done with CSS. Every element on the setup sheet has it's class name. You need to assign format statements to these class names. It's fairly easy...just google CSS HTML. You can do a lot of things with CSS. To find out the class name of a certain element just right click in your browser and view the source code of your setup sheet. You can change colors, borders, font, replace text and lots of other things.

For #3 there is no build in functionality. I like to create all notations on a separate layer and grab it with the screen shot. But you could also edit the screenshot with 3d paint as an alternative.

If you saved your setup sheet template fore example like "MySetupsheet", make sure you have also a MySetupsheet.ccs and probably also a MySetupsheet.js file created.
A good start is to just copy the dafault.css to MySetupsheet.css....then edit the file to feed your needs. You need to do this only once.

More advanced users can use java script and have the full power over the generated HTML file.

Here is an example of what you could do with X+.

138 operations, 2 seconds for the tool list

 

With a button I can change the layout on the fly.

This example will be included with 2020.

image.png

image.png

Link to comment
Share on other sites
48 minutes ago, Günther Massimo - GMCCS said:

Most what you are asking for can be done with CSS. Every element on the setup sheet has it's class name. You need to assign format statements to these class names. It's fairly easy...just google CSS HTML. You can do a lot of things with CSS. To find out the class name of a certain element just right click in your browser and view the source code of your setup sheet. You can change colors, borders, font, replace text and lots of other things.

For #3 there is no build in functionality. I like to create all notations on a separate layer and grab it with the screen shot. But you could also edit the screenshot with 3d paint as an alternative.

If you saved your setup sheet template fore example like "MySetupsheet", make sure you have also a MySetupsheet.ccs and probably also a MySetupsheet.js file created.
A good start is to just copy the dafault.css to MySetupsheet.css....then edit the file to feed your needs. You need to do this only once.

More advanced users can use java script and have the full power over the generated HTML file.

Here is an example of what you could do with X+.

138 operations, 2 seconds for the tool list

 

With a button I can change the layout on the fly.

This example will be included with 2020.

 

Thanks Gunther, I'll look into those things.  Any chance of getting a comment box for setup instructions in the future??  😎😎

Link to comment
Share on other sites
On 4/12/2019 at 7:54 AM, JB7280 said:

#1) I would like to change the name of some of the field description/headers (tl manufactor, tl mfg code, etc)  Is there a way to do this?  I know I've seen a renaming script for this, but the most recent version was for X9, and I wasn't sure if it'd work. 

#2)  Under the NC-Header fields, if I leave one blank, it still outputs it, just...well, blank, lol.  If I'd like to not use some of these fields, can I remove them?

#3)  Is there a way to place setup instructions, offset pickups, note, etc? 

1 - Using an old version of the script might work but it would be best to create another script for whatever version you're using, just to make sure all bases are covered. If you can do me a favor, I can make that script for you. I need you to create a setup sheet with all header options turned on. Yes, every single one of them, even if you don't use them. Once the sheet is created, save it (File->Save page as), zip all the files together and send it to me. I'm pretty sure you can attach files through this site's PM system. If not, send me a PM and I'll give you my email address. And, what version of MC are you running?

2 - I don't know what NC-Header fields are. Can you show a screen shot or something?

3 - Try typing some notes into a Manual Entry toolpath and then make the setup sheet. See if you like how that works.

Link to comment
Share on other sites

Just got into the shop this morning.  I had a rare, but much needed saturday off 😎😎

 

I will get that file sent to you in just a bit. 

I will also give the manual entry a whirl.  I just noticed that the "Group Comment" section will output as well.

This is the section I'm referring to as NC Header.  If you notice, the ones I have blank, still output, but they're blank.  Some of the fields I'd have no use for, and will just be unnecessary info on the page, and I'm just trying to clean it up to the important parts our shop would use.  

 

Thanks!!

nc header.PNG

Link to comment
Share on other sites
1 hour ago, JB7280 said:

Some of the fields I'd have no use for, and will just be unnecessary info on the page, and I'm just trying to clean it up to the important parts our shop would use.  

You can replace the selection in the left fields by typing in your own text, such as "Programmer" or "Safely ran by xxx". Then, you can fill in those fields at the time you generate the sheet. An added benefit is that, if there is no text in the right field, both the left and right fields don't print. Another nice feature is that the text you enter in the fields is persistent, so if you enter a space in the right field, the right field and the blank left field print, which allows for physical sign offs.

Link to comment
Share on other sites
22 minutes ago, So not a Guru said:

You can replace the selection in the left fields by typing in your own text, such as "Programmer" or "Safely ran by xxx". Then, you can fill in those fields at the time you generate the sheet. An added benefit is that, if there is no text in the right field, both the left and right fields don't print. Another nice feature is that the text you enter in the fields is persistent, so if you enter a space in the right field, the right field and the blank left field print, which allows for physical sign offs.

Oh nice!!  I had no idea you could actually enter data into the left side.  I suppose I'm slow...lol

Link to comment
Share on other sites
On 4/12/2019 at 7:54 AM, JB7280 said:

#1) I would like to change the name of some of the field description/headers (tl manufactor, tl mfg code, etc)  Is there a way to do this?  I know I've seen a renaming script for this, but the most recent version was for X9, and I wasn't sure if it'd work. 

I have updated the script for MC2019 and it's available for download here:  MC2019 rename script

  • Thanks 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...