Benbox Laser Machines/CO2 Lasers/3D Printers

Software => T2 Engraving => Topic started by: mauriceman on October 28, 2016, 06:16:45 AM

Title: Center point home
Post by: mauriceman on October 28, 2016, 06:16:45 AM
Currently using V1.3j and grbl_11c2.hex. I can't seem to use the center as home anymore. It always defaults to bottom/left. Say I send a dxf of a single 25mm x 25mm box. If I define 0,0 on the laser screen (right click home button) no matter which I select on the main screen for center (absolute) or not, it always defaults to bottom left home. If I reload a previous version (say 1.3e) I can start from the center and have it draw around that point. Am I missing a setting?

I also used to have the laser come on with low power when jogging. That was nice to locate the start center on my work piece. The laser doesn't come on anymore unless I set a very low power then manually turn on the laser. Again, am I missing something here or was this just a fluke for my particular setup?

Thank you all
Title: Re: Center point home
Post by: Zax on October 28, 2016, 09:50:23 AM
Interesting, anyone else have problems with 1.3j and 1.1c2 firmware?

I'm using the same setup and center start works fine, with or without absolute checked. You are clicking the "Home" icon at the center and the machine is heading off back to the lower left when you start the G-Code?

The laser staying on at low level was a bug in J-Tech 0.9g firmware, which it sounds like you were exploiting. Based on several user requests I added a "workaround" in T2Laser to prevent it (as it could be considered a safety issue). You may be able to trick Grbl 1.1 into the same result by setting min PWM speed ($31) to your low light setting, but after M05 it may not work.
Title: Re: Center point home
Post by: mauriceman on October 28, 2016, 10:22:25 AM
The machine never moves to a lower left position when home (0,0) is established and sent gcode. This new home (0,0) that I set becomes the lower left corner of the burn but I can't seem to get my artwork to burn centered around this new home. It always goes to the upper right and burns the image, then returns back to the home I set. What are the new presets on the laser screen for (Machine Home, Load Position, Use machine Positions)? I'm doing a lot of smaller round objects with circular artwork so centering (at least for me) is important,

I can see the safety issue regarding jog/laser that I exploited. Gotta find a new work around, I guess.

I will say, having PWM is going to be nice but this new laser has a 9mm Nichia diode (supposedly) and it's spot is slightly elongated. I have to soften the focus a tad to burn horizontally and vertically equal widths.

As always, Thanks
Title: Re: Center point home
Post by: Zax on October 28, 2016, 02:06:27 PM
Well it appear I need to re-work my center start code as adding the absolute option has caused multiple "side effects" of the unwanted variety. I still can't replicate what you are seeing but will be doing more investigation and testing once I correct things.

The preset locations are for you to set as needed, if you have home switches they are more useful but can still be used. I just put some examples in there, the first goes to the machine 0,0 position regardless of where the home positions are set.

Hang on, that made me think of something. You are using Workpiece Home and not the new Machine Home?

So back to presets, you can set and then go-to a position in either the workpiece or machine coordinate space. Set the laser to a point and right click on one of the preset slots, enter a name and it is stored. Click the name and it will go to that point (if you hover over the name it will show the positions that have been stored).
Title: Re: Center point home
Post by: Agastar on October 28, 2016, 02:12:52 PM
Well it appear I need to re-work my center start code as adding the absolute option has caused multiple "side effects" of the unwanted variety.

Some call those unwanted features, I call them bugs LOL.
Title: Re: Center point home
Post by: ggallant571 on October 28, 2016, 02:21:05 PM
Don't do anything and someone will do something that replies on the current incorrect behavior. Then when you do "fix" it there will be another fury of complaints.
Title: Re: Center point home
Post by: Agastar on October 28, 2016, 02:22:51 PM
lol, so true
Title: Re: Center point home
Post by: mauriceman on October 28, 2016, 02:53:24 PM
OK, this should give everyone an idea what's happening. No matter what I try, can't seem to coerce center home. I can just reinstall an older version. No biggie. Take your time.
Title: Re: Center point home
Post by: Zax on October 28, 2016, 04:53:06 PM
I'd like to hear from anyone else using center start and seeing this behavior so we can determine what causes it, as I am unable to replicate it (and believe me I've tried, every possible way I can think of).

The other issue that was reported (related to not using center start) is repeatable and has been fixed but this one is confusing me.
Title: Re: Center point home
Post by: mauriceman on October 28, 2016, 05:09:39 PM
Tomorrow, I'll reinstall the software, reflash the nano and try using several of my dxfs that behaved properly before installing the new version. It still could be me doing something screwed up. Maybe it's the curse of Medicare which I go on in November (yea, I'm old).

Thanks again
Title: Re: Center point home
Post by: ggallant571 on October 28, 2016, 05:38:35 PM
Bring your laser cutter to the Medicare office. Hold the agents hand under the laser. Ask them to do something simple. When they fail turn on laser and cut off one finger. Don't worry about the blood or screaming. Now ask again for something slightly more difficult and repeat the laser procedure. Usually it only take about 4 fingers before you get your name spelled correctly on their system.

There are a couple of fingerless, toeless, eyeless employees at the local office but that was before mu time.
Title: Re: Center point home
Post by: Zax on October 28, 2016, 06:40:45 PM
I'm not doubting you, it's probably just a combination of settings I've yet to try. You mentioned DXF, do you have any of the settings enabled, relocate origin or optimizer?

I probably need to go test some of those as I was doing images, Sketch, Sketch plus and trace but also checked DXF's quickly.
Title: Re: Center point home
Post by: ROSS on October 29, 2016, 12:54:16 AM
Maybe it's the curse of Medicare which I go on in November (yea, I'm old).



You are now on course where everything gets worse!!  Join the gang.  (LOL)
Title: Re: Center point home
Post by: mauriceman on October 29, 2016, 05:40:45 AM
Mystery solved. It was my oldtimers kicking in. I didn't realize that on the drop down menu both the first menu items could be checked and the fly-out items could also be checked. I was only checking the absolute item and not the primary centering one. That seems to be a little counter-intuitive from what I'm used to menu structure wise. So what does the absolute second item do?

Is there newer documentation explaining all these new features out there yet?

Again, thanks for your patience and assistance.
Title: Re: Center point home
Post by: Zax on October 29, 2016, 06:09:18 AM
Arrh! That makes sense, great so there's not a hidden bug. If you only have absolute selected it does nothing, If you want it to work like before leave that unchecked and just use the center start option.

Documentation is now within T2Laser, press Shift-F1 or select Manual from the Help menu.

Then you can easily search it, so for example, "absolute" brings you to this:

Center (Start Point)

o   Position the laser (and set home) in the center of the job (between extents) before starting
o   Absolute option uses the entire drawing from 0,0 to maximum extents for center position

So what does that mean, well previously I would take the extents of the drawing... min and max, then figure out the center by min + ((max - min)/2) but if you select absolute it will use 0 to max (or max/2).

e.g. for a drawing that starts at 50,50 and goes to 100,100. Center start alone would place the center at 75,75 but selecting absolute would place it at 50,50. This is also important when using the frame feature as one will frame 50,50 to 100,100 and the other 0,0 to 100,100. Big difference. As many features are, this was a user request.

Title: Re: Center point home
Post by: mauriceman on October 29, 2016, 07:00:07 AM
Confucius say, "One man's SIMPLE! is another man's HUH?" What confused my tiny brain was that if a 1st tier menu item has a 2nd tier that flew out, all selections would be from that 2nd tier as in your advanced settings. Designing MMIs, operator interfaces or GUIs for all to equally understand is the goal but never quite reached.

Sorry to have you second guess your coding, and thanks for your help.
Title: Re: Center point home
Post by: SteveK on October 29, 2016, 01:02:43 PM
Arrh! That makes sense, great so there's not a hidden bug. If you only have absolute selected it does nothing, If you want it to work like before leave that unchecked and just use the center start option.

Documentation is now within T2Laser, press Shift-F1 or select Manual from the Help menu.

Then you can easily search it, so for example, "absolute" brings you to this:

Center (Start Point)

o   Position the laser (and set home) in the center of the job (between extents) before starting
o   Absolute option uses the entire drawing from 0,0 to maximum extents for center position

So what does that mean, well previously I would take the extents of the drawing... min and max, then figure out the center by min + ((max - min)/2) but if you select absolute it will use 0 to max (or max/2).

e.g. for a drawing that starts at 50,50 and goes to 100,100. Center start alone would place the center at 75,75 but selecting absolute would place it at 50,50. This is also important when using the frame feature as one will frame 50,50 to 100,100 and the other 0,0 to 100,100. Big difference. As many features are, this was a user request.



So will this work with a circular pattern as well? Can I define where is the center point? I'm thinking of patterns like celtic knots. If I strip the background away in Inkscape will it find the center of the pattern?

Another unrelated question, would t2laser work if one of the axes were rotary and the other was longitudinal?
Hey, I'm a wood turner, this kind of stuff keeps me awake at night! :)
Thanks

Steve
Title: Re: Center point home
Post by: Zax on October 29, 2016, 02:23:50 PM
It doesn't care about the shape, it just uses the extents and calculation I posted.

It should work but I'd need to see an example and your interpretation of the center.

Yes, T2Laser works with a rotary axis. Just set the correct steps per mm in the Grbl parameters.

Title: Re: Center point home
Post by: Agastar on October 31, 2016, 07:37:22 AM
On trick I read recently was to set the page size in your vector editor to the circumference of your round object. 
Title: Re: Center point home
Post by: dirkentimmer on November 15, 2019, 01:01:22 PM
Mystery solved. It was my oldtimers kicking in. I didn't realize that on the drop down menu both the first menu items could be checked and the fly-out items could also be checked. I was only checking the absolute item and not the primary centering one. That seems to be a little counter-intuitive from what I'm used to menu structure wise. So what does the absolute second item do?

Is there newer documentation explaining all these new features out there yet?

Again, thanks for your patience and assistance.
I can't my laser to start at the center of an image, too. I searched the forum for a solution and found this topic. In T2 I selected 'Center (start point)' and deselected the flyout option 'absolute'... but somehow I can't seem to deselect the options under 'Corner (start point)'. Always one of the options just keeps being selected, no matter what I do.
Anyone who can help me out?
Title: Re: Center point home
Post by: Zax on November 15, 2019, 04:00:30 PM
You have selected center start and corner is disabled, thatís it. The sub menu isnít in use.