LaserWeb4 icon indicating copy to clipboard operation
LaserWeb4 copied to clipboard

Postprocessor Engine

Open jorgerobles opened this issue 7 years ago • 20 comments

I've been looking for a postprocessor spec to not to reinvent the wheel but have not found anything merely structured.

The simplest engine could be done using a web-worker that receives all the core gcode. Is up to the post contributor to code whatever he wants. Should be posted on a centralised repository like lw.machines to be approved as a PR. LW could expose those file names depicted on a JSON manifest file. The most LW can actually expose is some comments with a predefined format to hint the postprocessor what's going on core process. I would appreciate concrete implementation ideas.

jorgerobles avatar May 09 '17 06:05 jorgerobles

Cool thing to implement http://donektools.com/free-cnc-router-software/links-2/

jorgerobles avatar May 09 '17 06:05 jorgerobles

You'd have to check their licensing ( or ask permission ), but : Fusion360 ( very popular in the "maker" movement lately ) comes with a full set of really good post-processors, in a js-like format if I remember correctly. Re-using that format would give you 50+ post-procs instantly, and free updates just by syncing with fusion

On Tue, May 9, 2017 at 8:28 AM, jorgerobles [email protected] wrote:

Cool thing to implement http://donektools.com/free-cnc -router-software/links-2/

— 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/300#issuecomment-300073290, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGpFeEy37hPAJrcoOCq0RV3GXWJZYbzks5r4AeMgaJpZM4NU35u .

-- Courage et bonne humeur.

arthurwolf avatar May 09 '17 07:05 arthurwolf

Good idea. I will ask, but I'm not sure Big A lend us anything :smile: http://cam.autodesk.com/posts/reference/

jorgerobles avatar May 09 '17 07:05 jorgerobles

You could be surprised, the Fusion 360 team are very friendly and keen to keep their project linked with makers! It integrated a post for smoothie, have not used it for a while though i guess it still works?

FabCreator avatar May 09 '17 08:05 FabCreator

https://forums.autodesk.com/t5/computer-aided-machining-cam/post-processor-spec-for-open-source-compatibiliy/td-p/7071215

jorgerobles avatar May 09 '17 09:05 jorgerobles

Yes, the smoothie post-proc works really great, and we are even working with them on direct-from-fusion-upload-and-play for smoothieboard ( using their neat plugin system, another thing you might want to implement later on, like octoprint did ) that system by the way could be used to make a plugin for fusion that directly exports vector files to laserweb workflow is everything

On Tue, May 9, 2017 at 10:12 AM, FabCreator [email protected] wrote:

You could be surprised, the Fusion 360 team are very friendly and keen to keep their project linked with makers! It integrated a post for smoothie, have not used it for a while though i guess it still works?

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

-- Courage et bonne humeur.

arthurwolf avatar May 09 '17 09:05 arthurwolf

Keen to assimilate makers... Not help. (; someday they'll catch you all once you are trained and in habit (;

On May 9, 2017 10:12 AM, "FabCreator" [email protected] wrote:

You could be surprised, the Fusion 360 team are very friendly and keen to keep their project linked with makers! It integrated a post for smoothie, have not used it for a while though i guess it still works?

— 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/300#issuecomment-300093491, or mute the thread https://github.com/notifications/unsubscribe-auth/AHVr23oBswiPbeXCqPu4xeEun3rjB2Idks5r4B_4gaJpZM4NU35u .

ghost avatar May 09 '17 09:05 ghost

Of course a company always have a profit, or not to be a company, but I think is not the makers the ones they want. The want to hook makers so in case they work for a company, and using that education base, could attract that company to their side. Maybe I'm wrong :P

2017-05-09 11:40 GMT+02:00 Peter van der Walt [email protected]:

Keen to assimilate makers... Not help. (; someday they'll catch you all once you are trained and in habit (;

On May 9, 2017 10:12 AM, "FabCreator" [email protected] wrote:

You could be surprised, the Fusion 360 team are very friendly and keen to keep their project linked with makers! It integrated a post for smoothie, have not used it for a while though i guess it still works?

— 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/300#issuecomment-300093491 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AHVr23oBswiPbeXCqPu4xeEun3rjB2Idks5r4B_4gaJpZM4NU35u>

.

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

jorgerobles avatar May 09 '17 09:05 jorgerobles

Exactly.. Same reason Microsoft gives office365 for free to schools... When the kids start working they insist to use what they know already

On May 9, 2017 11:45 AM, "jorgerobles" [email protected] wrote:

Of course a company always have a profit, or not to be a company, but I think is not the makers the ones they want. The want to hook makers so in case they work for a company, and using that education base, could attract that company to their side. Maybe I'm wrong :P

2017-05-09 11:40 GMT+02:00 Peter van der Walt [email protected]:

Keen to assimilate makers... Not help. (; someday they'll catch you all once you are trained and in habit (;

On May 9, 2017 10:12 AM, "FabCreator" [email protected] wrote:

You could be surprised, the Fusion 360 team are very friendly and keen to keep their project linked with makers! It integrated a post for smoothie, have not used it for a while though i guess it still works?

— 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/300# issuecomment-300093491 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AHVr23oBswiPbeXCqPu4xeEun3rjB2Idks5r4B_4gaJpZM4NU35u>

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/LaserWeb/LaserWeb4/issues/300#issuecomment-300113962 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ABoIYKOp1zVtZdzqmetYqMXKELDviYaPks5r4DRygaJpZM4NU35u> .

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

ghost avatar May 09 '17 09:05 ghost

haha @openhardwarecoza your so untrusting :P

@jorgerobles you hit the nail on the head, you use fusion 360 now as a student or maker when you start working professionally what you going to use? and start paying for ;) Why you think all autodesk products are free to use for students. (did you know you dont even need to be a student self teaching counts too! or last time i checked it did)

I have no problem with model I have access to a great piece of software and tech support for free now. Start-up licence, when we can afford it will not have a problem paying for it :)

FabCreator avatar May 09 '17 09:05 FabCreator

Apple started the same way, not free but giving steep discounts for education ( before was way better than today )

⁣Ariel Yahni​

On May 9, 2017, 5:54 PM, at 5:54 PM, FabCreator [email protected] wrote:

haha @openhardwarecoza your so untrusting :P

@jorgerobles you hit the nail on the head, you use fusion 360 now as a student or maker when you start working professionally what you going to use? and start paying for ;) Why you think all autodesk products are free to use for students. (did you know you dont even need to be a student self teaching counts too! or last time i checked it did)

I have no problem with model I have access to a great piece of software and tech support for free now. Start-up licence, when we can afford it will not have a problem paying for it :)

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/LaserWeb/LaserWeb4/issues/300#issuecomment-300117522

cojarbi avatar May 09 '17 09:05 cojarbi

https://forums.autodesk.com/t5/computer-aided-machining-cam/post-processor-spec-for-open-source-compatibiliy/m-p/7072212#M29664

--- waiting for instructions - bip - bip - bip ---

jorgerobles avatar May 19 '17 14:05 jorgerobles

Ouch. I missed Answer Day https://forums.autodesk.com/t5/autodeskhelp/autodesk-answer-day-may-24th-2017/ba-p/7009811

Last notice I've got on this by Autodesk were weeks ago. I don't even know if will get a short term answer. Any ideas?

jorgerobles avatar May 25 '17 06:05 jorgerobles

We probably need to nail down the use case: what will users need custom post-processors for? Will they solve anything that adding new config settings (e.g. #334) won't solve?

tbfleming avatar Jun 11 '17 14:06 tbfleming

Probably not. Including flexible settings, to Mach3 and Claudio's support on Marlin Kimbra could complete the market :D

jorgerobles avatar Jun 11 '17 14:06 jorgerobles

Maybe I'm wrong but I think is not just what postprocessors could do (as adding support to drag knife, plasma cutters with third party integration), but kind of software architecture. I fear that current one could reach top of maintenance, new features bloating configs and corner cases. I'm thinking of an event based (just like redux but for interfacing and aspectual programming) that could enable the things a user needs and disabling what not. What do you think? (I'm sure you have some deep knowledge on this area :) )

jorgerobles avatar Jun 11 '17 14:06 jorgerobles

Something we'd probably want to avoid: post processors which take gcode in. That's a very difficult road to go down; look at Skeinforge. It produces gcode near the beginning of its pipeline then all stages after that take gcode in. Stages insert comments to communicate with later stages.

tbfleming avatar Jun 11 '17 15:06 tbfleming

BTW. Has no answer yet by big A about this topic. Sure they are busy.

jorgerobles avatar Jun 11 '17 15:06 jorgerobles

Something we'd probably want to avoid: post processors which take gcode in. That's a very difficult road to go down; look at Skeinforge. It produces gcode near the beginning of its pipeline then all stages after that take gcode in. Stages insert comments to communicate with later stages.

Yes. But then We need to develop intermediate language to finally convert to Gcode, like Fusion360 does. Isn't it?

jorgerobles avatar Jun 11 '17 15:06 jorgerobles

Not a language, a Javascript interface. The downside is it will slow down most users who don't need a postprocessor.

tbfleming avatar Jun 11 '17 16:06 tbfleming