Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: OldePhart on March 30, 2019, 05:25:37 PM

Title: How do I make the Extents mode visible
Post by: OldePhart on March 30, 2019, 05:25:37 PM
New user warning... :)

How can I make the extents on the tool path dialog of the screenset more visible? I have adjusted the settings and the line thickness never seems to enlarge. I'm trying to ensure the file is within the borders of the table.
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on March 30, 2019, 05:29:20 PM
Oh and it seems the extents are above my table too.
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on March 30, 2019, 05:33:56 PM
Hi,
have you tried the <Display Work Envelope> button?

The work envelope is determined by the values you set in the soft limits.

Craig
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on March 30, 2019, 05:58:26 PM
Display Work envelope is selected, the lines are just faint dashed lines. I'd like them bolder.
Soft Limits look right to me.

(just discovered that every attachment has to have a unique filename... yikes, thats gonna go bad quickly)
Title: Re: How do I make the Extents mode visible
Post by: Overloaded on March 30, 2019, 06:04:57 PM
Like in Craig's example, your Z min. should be a - value, and Z pos. 0.
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on March 30, 2019, 06:16:18 PM
Well now, there we go.   :-[

Title: Re: How do I make the Extents mode visible
Post by: joeaverage on March 30, 2019, 07:08:26 PM
Hi,
there was a time with earlier builds of Mach that allowed you to change colours of the various traces on the
tool path diagram. I don't recall be able to set the style, ie dashed or continuous and you weren't able to set the
line weight.

The most recent builds of Mach have taken away the colour pallet. I'm not sure how you go about adjusting the line weight
or whether you can adjust the style.

Craig
Title: Re: How do I make the Extents mode visible
Post by: smurph on March 30, 2019, 11:37:04 PM
The most recent builds of Mach have a lot more settings in the tool path control's properties in the screen editor.  Color pallet, line widths, etc... 

Steve
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on March 31, 2019, 12:55:57 AM
Hi Smurph,
thanks for that, it did not seem likely that you would remove features!

Craig
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on March 31, 2019, 02:23:13 AM
Hi Smurph,
have been experimenting, all's good.

A few questions
Is it possible to set the linestyle?
In the API there is a function mcToolPathGetDrawLimits(), does this still use the soft limits data as the boundaries
or is it possible to draw a boundary with different data within the soft limits boundary.

The reason I ask is that there was a question on the forum, quite a while ago now, that remained largely
unanswered. The guy wanted a boundary as a visual guide but within the sift limits so that a small accidental
excursion outside of his visual boundary but did still not trigger a soft limits fault.

Craig
Title: Re: How do I make the Extents mode visible
Post by: smurph on March 31, 2019, 01:42:59 PM
Well...  now that the tool paths have been moved entirely to the GUI, mcToolPathGetDrawLimits() isn't used by the GUI anymore (And that was a predominantly GUI API function call, as plugins and motion controllers would never use it). 

The limits do indeed use the soft limits and there is nothing that can change that at the moment.  Or the line style.  I may put something in the tool path properties for the line style.

I'll also think about adding a collision boundary that can be set independently of the soft limits. 

Steve
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on March 31, 2019, 07:00:36 PM
Hi Smurph,
thanks for that explanation.

Does the fact that the tool path display is moved into the GUI in its entirety mean that the mcToolPath* APIs no
longer work or perhaps clash with how the GUI is operating?

Most of my machining, excluding PCB isolation routing, is pretty simple, face the material, two pockets and a row of holes....
sort of thing. I use MillWizard, I like it, and its so simple.

I have a hankering to do something similar but rather than a wizard it would be another page (tab) in Mach4. Getting the
required input data and using Lua to generate the Gcode would be long winded but eminently possible. In order for the
operator (me) to confirm the Gcode prior to machining I would like to use Machs tool path display, maybe even interactively.
Is it possible for me to seize control of Machs tool path window or alternately create a new one for the purposes of my
Gcode visualization pane?

I would also like to take the opportunity to thank you, and if you would be kind enough to pass on my thanks to other
members of the development team, for the advances made to Mach4 in recent times. You may have noted I have been
vociferously (who me?? ::)) promoting Mach4 recently. The most recent developments Surface Map, script based THC
and Trace now put Mach4 squarely ahead of Mach3 functionality. Not only is Mach4 more functional than Mach3 but
those things that Mach3 does are so much better in Mach4, the Modbus plugin is one example and the use of Lua is another.

Do you have any more developments in mind for the near future?

Craig
Title: Re: How do I make the Extents mode visible
Post by: smurph on April 01, 2019, 12:16:24 AM
The inside the core tool paths still use the API tool path functions.  And the core tool path properties (color, line width, etc..) will be the default for any newly instantiated tool path control in the screen editor.  We decided to move the tool path code directly in the GUI for a variety of reasons.  Not the least of which is making a remote GUI that can operate the control on the machine.  It is in the latest builds.  I call it Mach4GUIR.exe.  Very original.  Not many people would have thought about appending an R to the Mach4GUI.exe.  :D  Anyway, all jokes aside, GUIR doesn't currently have a tool path.  But it will soon!  And that just couldn't be done with the tool path in the local core.

But a version of the tool path does still exist in the core.  It is just that our main GUI doesn't use it anymore.  However, the static wxMach.exe GUI still uses the core's tool path.

We originally put the tool path in the core so that people who wanted to write their own GUIs didn't have to mess with OpenGL.  They simply use our API. 

You can't really create a new tool path control on the fly.  But you can have one that is hidden and then show it.  Mach Motion uses that technique in their screen sets. 

I loved Mach 3.  What a masterpiece it was.  Art simply did an amazing thing when he created it.  But Mach 4 is doing really well now as most newcomers are simply not going for Mach 3.  And despite what people post here, there are a lot of people that were running Mach 3 making the move to Mach 4.  Especially if they need something custom. 

You are welcome for the new stuff.  It is my pleasure.  Stuff I have in mind for the future is 3rd order planner, tie the multiple instances together for true multi-path capabilities (Screw machines, Mill/Turns, etc..), and kinematics.

Steve
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on April 01, 2019, 12:28:41 AM
Hi Smurph,
all very kool.

I'm going to experiment with the tool path and see what happens. You pegged me correctly, I don't have the first
idea about using OpenGL, if I can't use a solution like Machs tool path then my idea will probably progress.

I find that I have to reduce the acceleration of my machine because it tends to shake itself and wander around the bench
despite the steppers being capable of rather more. It may be that a 3rd order planner would tame it somewhat, I loo
forward to it.

Craig
Title: Re: How do I make the Extents mode visible
Post by: Cbyrdtopper on April 01, 2019, 10:55:26 AM
Stuff I have in mind for the future is 3rd order planner, tie the multiple instances together for true multi-path capabilities (Screw machines, Mill/Turns, etc..), and kinematics.

Steve

Looking forward to what you guys bring in the future!  Especially multiple instances and kinematics.
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on January 13, 2020, 10:48:20 AM
I may put something in the tool path properties for the line style.

I'll also think about adding a collision boundary that can be set independently of the soft limits. 

Steve


I know this is an old thread but yes, please add ability to change the line weights, colors and styles of each type of movement. Maybe even the size or type of crosshair cursor.
It's either the monitors or my eyes but it's tough to discern cuts when rapids are written all over the top of them.
And then there is the colorblind argument....
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on January 14, 2020, 03:00:43 AM
Hi,
in Screen Editor mode look at the properties of the toolplath window, per attached.

You can edit colors for contrast etc.

Craig
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on January 19, 2020, 02:44:11 PM
Yes, but not granular enough, can't change widths for each line type separately.
Title: Re: How do I make the Extents mode visible
Post by: joeaverage on January 20, 2020, 12:40:52 AM
Hi,
you can change the path width, axis width, and soft limit widths, is that not enough?

Mach4 is a CNC software solution not a graphics application!! :-X

Craig
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on January 20, 2020, 02:44:22 PM
Hey, I'm new to this and I was offering a suggestion, to a graphics related post, as it appeared was asked for. Rapids crisscross the tool path and can make it unreadable. If you make the rapid the same color as the background, as was suggested elsewhere, the tool path lines are broken up because the rapid is on top of the path layer giving the same result.

Title: Re: How do I make the Extents mode visible
Post by: joeaverage on January 20, 2020, 02:48:18 PM
Hi,
the toolpath display is an indication of what the machine is going to do not a simulation.
There are Gcode simulation and viewing programs which offer a great deal of detail and flexiblity about how its displayed.
I would take advantage of them.

Craig
Title: Re: How do I make the Extents mode visible
Post by: OldePhart on January 20, 2020, 02:54:06 PM
I get that, and it has been helpful. I want to buy the simulation plugin and probably willonce I get good enough to know what I am doing. I was just making a suggestion to make it a little bit better, at least for me.



Title: Re: How do I make the Extents mode visible
Post by: joeaverage on January 20, 2020, 04:41:15 PM
Hi,
there are free viewers/simulators, they won't 'plugin' to Mach4 in the same way but they are free.

Craig