LaserWeb / LaserWeb4

Collaborative effort on the next version of LaserWeb / CNCWeb
GNU Affero General Public License v3.0
706 stars 191 forks source link

Out of bound issue #525

Closed FabriceSalvaire closed 5 years ago

FabriceSalvaire commented 5 years ago

Machine is a laser cutter drived by a SmoothieBoard.

cprezzi commented 5 years ago

The cam operations will not move any parts automatically, you need to move the parts yourself away from the axes to get enough free space for your tool (mill, laser...).

FabriceSalvaire commented 5 years ago

It means there is any clearance test for a dangerous machine used by lambda (basic training) users.

I would expect a dilation of the path and an inclusion test with the dual of the work area. Where the clearance is set as a configuration parameter.

Well something similar to the pcb manufacturing in the industry.

cprezzi commented 5 years ago

Valid axes ranges are usually checked by the machine controller, either by limit switches or soft limits, which generates an alarm condition when the gcode drives into the ends. A correctly configured firmware will stopp the laser in such a case. I don't see any dangerous situation here.

cprezzi commented 5 years ago

Why don't you just set the origin somewhere away from the limits?

cprezzi commented 5 years ago

The problem is, LaserWeb is made for many different kinds of machines. On a mill for example, the work origin is often set on a feature (like corner oder center of hole) of the workpiece and working in nagative coordinates is needed. Therefore we can not block negative coordinates. The operator is responsible to place the piece inside the workspace and check that the tool (head) has enough space around it.

FabriceSalvaire commented 5 years ago

We have to investigate further, maybe it is a SmoothieBoard issue.

arthurwolf commented 5 years ago

If you want smoothieboard to do this, you want to look at http://www.smoothieware.org/endstops , specifically the section about "soft endstops"

On Fri, Nov 16, 2018 at 6:19 PM Fabrice Salvaire notifications@github.com wrote:

We have to investigate further, maybe it is a SmoothieBoard issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LaserWeb/LaserWeb4/issues/525#issuecomment-439464072, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGpFajhmrZd3xE4ukGDtFKcvt6d_h0dks5uvvOZgaJpZM4YeFMH .

-- Courage et bonne humeur.

cprezzi commented 5 years ago

@FabriceSalvaire I don't think this is a smoothieware "issue", it's just a configuration thing of the soft limits. I also understand that you would prefer to have an automatic part placement/shift function (which theoretically is possible for lasercutters), but LaserWeb is made for many different machinetypes and therefore it's complicated to implement features for just one machinetype without creating problems on others.

Thanks @arthurwolf for helping out.

cprezzi commented 5 years ago

@FabriceSalvaire Just for your reference, here is the process I usualy do when lasercutting: