Project Announcement Makertron

classic Classic list List threaded Threaded
40 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Project Announcement Makertron

mixotricha
This post has NOT been accepted by the mailing list yet.
Hello All,

I'd like to announce Makertron.

http://makertron.io

It is an alternative I am working on that addresses some of problems I see with OpenSCAD and with OpenJSCAD.

It is a bit like ImplicitCad in that it has a server back end -but- it also has a client front end.

I have seen a few people have a go at this but none of them were quite doing what I needed or had some core implementation problems.

I've gone after some of those and tried to resolve them.  

I'd love to get some feedback and would be happy to help answer any questions about my project.  

Greetings From Australia

Damien  
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

MichaelAtOz
Administrator
mixotricha wrote
Hello All,

I'd like to announce Makertron.

http://makertron.io

It is an alternative I am working on that addresses some of problems I see with OpenSCAD and with OpenJSCAD.

It is a bit like ImplicitCad in that it has a server back end -but- it also has a client front end.

I have seen a few people have a go at this but none of them were quite doing what I needed or had some core implementation problems.

I've gone after some of those and tried to resolve them.  

I'd love to get some feedback and would be happy to help answer any questions about my project.  

Greetings From Australia

Damien
"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?
Admin - PM me if you need anything,
or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
That is a great question!

That number of 90% is based on having worked through the OpenSCAD documentation from the top to the bottom. What isn't currently supported is the import/export options or text.
 
But that number needs a whole lot of unit tests and to be documented and that is exactly what I am doing at the moment. Also saying something is supported and verifying that it is stable and unit tested is NOT THE SAME THING and I appreciate that.  

What made this possible ( for those interested ) was putting together a transpiler rather than shifting the whole yacc grammar. That was an option I considered but it is so pretty much welded in to the c++ code. .

However a lot of complication with the grammar and the yacc melted away by going down the transpile path and then what was left is a core of basic geometrical operations all of which have been straight forward to implement. Note also that a lot of complication like interactions with the GoldFeather and the OpenCSG have been done away with.  

You can get some idea of where I am up to by playing with the demonstration client also.  
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

alexgibson
In reply to this post by MichaelAtOz
Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote

> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.  
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

alexgibson
Sorry, reading this back it sounds overly negative.  I think this looks good and I am excited for the future, if it can be more OpenSCAD compatible!

Can you share anything about your roadmap/next priorities?

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of Alex Gibson
Sent: 19 July 2017 10:14
To: 'OpenSCAD general discussion'
Subject: Re: [OpenSCAD] Project Announcement Makertron

Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote

> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.  
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
Hi Alex, 

If you can please attach examples of what did not work and I will get busy doozering on them to sort it out!  

At the moment the road map is to do exactly this. Get feedback. Push in OpenSCAD examples in.

Rinse repeat and keep doing it until it conforms.  

In terms of the longer road map you can expect me to keep working on it well in to the future. 

Also it is going to need more robustness in the parser. Some things still break it like the user defined functions.

All these things are in the parser but it still has bugs that need to be ironed out.

Thank you for trying out the Makertron and providing some constructive feedback :) 


On Wed, Jul 19, 2017 at 7:20 PM, Alex Gibson <[hidden email]> wrote:
Sorry, reading this back it sounds overly negative.  I think this looks good and I am excited for the future, if it can be more OpenSCAD compatible!

Can you share anything about your roadmap/next priorities?

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of Alex Gibson
Sent: 19 July 2017 10:14
To: 'OpenSCAD general discussion'
Subject: Re: [OpenSCAD] Project Announcement Makertron

Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote
> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

jon_bondy
In reply to this post by MichaelAtOz
Mixotricha:

When I try to drag with the right mouse, the image shifts to the right
NO MATTER WHICH WAY I DRAG THE MOUSE.  I am using a Wacom tablet rather
than a mouse, so it might work correctly for others.  I never know
(NetFlix fails miserably).

No idea what to do once the object appears on the screen: I don't see an
Export button to allow me to save an STL.

Interesting.  Exactly why would I use it rather than OpenSCAD? That is,
what is/are the advantage(s)?

Jon


On 7/18/2017 10:27 PM, MichaelAtOz wrote:

> mixotricha wrote
>> Hello All,
>>
>> I'd like to announce Makertron.
>> http://makertron.io <http://makertron.io>
>>
>> It is an alternative I am working on that addresses some of problems I see
>> with OpenSCAD and with OpenJSCAD.
>>
>> It is a bit like ImplicitCad in that it has a server back end -but- it
>> also has a client front end.
>>
>> I have seen a few people have a go at this but none of them were quite
>> doing what I needed or had some core implementation problems.
>>
>> I've gone after some of those and tried to resolve them.
>>
>> I'd love to get some feedback and would be happy to help answer any
>> questions about my project.
>>
>> Greetings From Australia
>>
>> Damien
> "At least 90% of the OpenSCAD language specification is now supported"
>
> Is that documented?
>
>
>
>
> -----
> Admin - PM me if you need anything, or if I've done something stupid...
>
> Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
>
> The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
> --
> View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

alexgibson
In reply to this post by mixotricha

Sounds good! Test-driven development ;)

 

Here’s the code – the most basic object I tried:

 

difference() {

                translate([-55,-4,0]) cube(size = [80,3,15], center = false);

                translate([17.5,3.75,0]) cylinder(20,4,4);

                translate([-45,5,7.5]) rotate([90,0,0])cylinder(20,2,2);

                translate([-50,5,7.5]) rotate([90,0,0])cylinder(20,2,2);

                translate([-47.5,-2,7.5]) cube(size = [5,4,4], center = true);

                                }

 

difference() {

                translate([17.5,3.75,0]) cylinder(15,8,8);

                translate([17.5,3.75,0]) cylinder(20,4,4);

                translate([0,-8,0]) cube(size = [25,4,15], center = false);

                translate([17.5,0,0]) cube(size = [25,7.5,15], center = false);

                                }

 

From: Discuss [mailto:[hidden email]] On Behalf Of Damien Towning
Sent: 19 July 2017 12:00
To: OpenSCAD general discussion
Subject: Re: [OpenSCAD] Project Announcement Makertron

 

Hi Alex, 

If you can please attach examples of what did not work and I will get busy doozering on them to sort it out!  

At the moment the road map is to do exactly this. Get feedback. Push in OpenSCAD examples in.

Rinse repeat and keep doing it until it conforms.  

In terms of the longer road map you can expect me to keep working on it well in to the future. 

Also it is going to need more robustness in the parser. Some things still break it like the user defined functions.

All these things are in the parser but it still has bugs that need to be ironed out.

Thank you for trying out the Makertron and providing some constructive feedback :) 

 

On Wed, Jul 19, 2017 at 7:20 PM, Alex Gibson <[hidden email]> wrote:

Sorry, reading this back it sounds overly negative.  I think this looks good and I am excited for the future, if it can be more OpenSCAD compatible!

Can you share anything about your roadmap/next priorities?

Cheers
Alex


-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of Alex Gibson
Sent: 19 July 2017 10:14
To: 'OpenSCAD general discussion'
Subject: Re: [OpenSCAD] Project Announcement Makertron

Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote


> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



 

--

Damien Towning
CEO / Developer 
http://makertron.io

 


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

alexgibson
In reply to this post by mixotricha

Just a request… could you consider making your software recognise British English spellings?  IE color=colour…  I speak 4 languages, 5 if you include English (United States) but am always getting told off by OpenSCAD for spelling things ‘correctly’ from my POV!

I am sure other actual languages would love their own versions, that could get hard to manage, but this would be simple!

 

Cheers

Alex

 

 

From: Discuss [mailto:[hidden email]] On Behalf Of Damien Towning
Sent: 19 July 2017 12:00
To: OpenSCAD general discussion
Subject: Re: [OpenSCAD] Project Announcement Makertron

 

Hi Alex, 

If you can please attach examples of what did not work and I will get busy doozering on them to sort it out!  

At the moment the road map is to do exactly this. Get feedback. Push in OpenSCAD examples in.

Rinse repeat and keep doing it until it conforms.  

In terms of the longer road map you can expect me to keep working on it well in to the future. 

Also it is going to need more robustness in the parser. Some things still break it like the user defined functions.

All these things are in the parser but it still has bugs that need to be ironed out.

Thank you for trying out the Makertron and providing some constructive feedback :) 

 

On Wed, Jul 19, 2017 at 7:20 PM, Alex Gibson <[hidden email]> wrote:

Sorry, reading this back it sounds overly negative.  I think this looks good and I am excited for the future, if it can be more OpenSCAD compatible!

Can you share anything about your roadmap/next priorities?

Cheers
Alex


-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of Alex Gibson
Sent: 19 July 2017 10:14
To: 'OpenSCAD general discussion'
Subject: Re: [OpenSCAD] Project Announcement Makertron

Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote


> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



 

--

Damien Towning
CEO / Developer 
http://makertron.io

 


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
Hi Alex, 

Thanks for that. I can see that I have missed out a few different combinations of values for input in to the transpiler. I did not pick up on tohse while working through examples in the OpenSCAD documentation. Also I can fix it so it understands colour and color and center and centre and also 'r' when we mean 'radius' and 'radius' when mean 'r' and 'h' when we mean 'height' and so on. Those ones always bug me and they are on my to-do list. 

Doozering mode has been activated! 



On Wed, Jul 19, 2017 at 9:10 PM, Alex Gibson <[hidden email]> wrote:

Just a request… could you consider making your software recognise British English spellings?  IE color=colour…  I speak 4 languages, 5 if you include English (United States) but am always getting told off by OpenSCAD for spelling things ‘correctly’ from my POV!

I am sure other actual languages would love their own versions, that could get hard to manage, but this would be simple!

 

Cheers

Alex

 

 

From: Discuss [mailto:[hidden email]] On Behalf Of Damien Towning
Sent: 19 July 2017 12:00

To: OpenSCAD general discussion
Subject: Re: [OpenSCAD] Project Announcement Makertron

 

Hi Alex, 

If you can please attach examples of what did not work and I will get busy doozering on them to sort it out!  

At the moment the road map is to do exactly this. Get feedback. Push in OpenSCAD examples in.

Rinse repeat and keep doing it until it conforms.  

In terms of the longer road map you can expect me to keep working on it well in to the future. 

Also it is going to need more robustness in the parser. Some things still break it like the user defined functions.

All these things are in the parser but it still has bugs that need to be ironed out.

Thank you for trying out the Makertron and providing some constructive feedback :) 

 

On Wed, Jul 19, 2017 at 7:20 PM, Alex Gibson <[hidden email]> wrote:

Sorry, reading this back it sounds overly negative.  I think this looks good and I am excited for the future, if it can be more OpenSCAD compatible!

Can you share anything about your roadmap/next priorities?

Cheers
Alex


-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of Alex Gibson
Sent: 19 July 2017 10:14
To: 'OpenSCAD general discussion'
Subject: Re: [OpenSCAD] Project Announcement Makertron

Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote


> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



 

--

Damien Towning
CEO / Developer 
http://makertron.io

 


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
In reply to this post by alexgibson
Hi Alex, 

Thanks for that. I can see that I did not pick up on a few different parsing formats for input in to the transpiler. I have been following through examples in the documentation but I see some differences. Also I am bugged by colour/color and 'center' and 'centre' and so on. That has been on my to-do list for awhile. 

Doozering mode activated! 

On Wed, Jul 19, 2017 at 9:10 PM, Alex Gibson <[hidden email]> wrote:

Just a request… could you consider making your software recognise British English spellings?  IE color=colour…  I speak 4 languages, 5 if you include English (United States) but am always getting told off by OpenSCAD for spelling things ‘correctly’ from my POV!

I am sure other actual languages would love their own versions, that could get hard to manage, but this would be simple!

 

Cheers

Alex

 

 

From: Discuss [mailto:[hidden email]] On Behalf Of Damien Towning
Sent: 19 July 2017 12:00

To: OpenSCAD general discussion
Subject: Re: [OpenSCAD] Project Announcement Makertron

 

Hi Alex, 

If you can please attach examples of what did not work and I will get busy doozering on them to sort it out!  

At the moment the road map is to do exactly this. Get feedback. Push in OpenSCAD examples in.

Rinse repeat and keep doing it until it conforms.  

In terms of the longer road map you can expect me to keep working on it well in to the future. 

Also it is going to need more robustness in the parser. Some things still break it like the user defined functions.

All these things are in the parser but it still has bugs that need to be ironed out.

Thank you for trying out the Makertron and providing some constructive feedback :) 

 

On Wed, Jul 19, 2017 at 7:20 PM, Alex Gibson <[hidden email]> wrote:

Sorry, reading this back it sounds overly negative.  I think this looks good and I am excited for the future, if it can be more OpenSCAD compatible!

Can you share anything about your roadmap/next priorities?

Cheers
Alex


-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of Alex Gibson
Sent: 19 July 2017 10:14
To: 'OpenSCAD general discussion'
Subject: Re: [OpenSCAD] Project Announcement Makertron

Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote


> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



 

--

Damien Towning
CEO / Developer 
http://makertron.io

 


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

doug.moen
In reply to this post by alexgibson
Alex said: "There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD..."

After spending a few years on the "OpenSCAD 2" project, my experience is that creating a new language implementation with 100% backwards compatibility with OpenSCAD is an extreme technical challenge, and I eventually abandoned it as a goal. The problem is that the language is so full of quirks that are not found in any other language, many of which are undocumented. For one thing, the scoping rules are so weird that you can't "transpile" OpenSCAD into a conventional language or compile into VM code for a conventional language, and preserve the semantics.

In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

Mixotricha's approach leads to an OpenSCAD-like language that isn't fully backwards compatible. You won't be able to take arbitrary OpenSCAD scripts off Thingiverse or whatever and expect them to just work without being "ported" to MakerTron. However, if you are writing new code from scratch, then you should be able to write code that is portable between OpenSCAD and MakerTron.

The first example I tried was:
     cylinder(r=1,h=5,$fs=6);
This is the OpenSCAD idiom for a hexagonal prism. What I got instead was a cylinder with a circular cross section.

I also tried
  x = 1;
  function x(a) = a + 1;
  module x(a) cube(x(x));
  x(2);
but I didn't get a result back, and lost contact with the makertron server.


On 19 July 2017 at 05:13, Alex Gibson <[hidden email]> wrote:
Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote
> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

doug.moen
Sorry, I accidently sent that message before I was finished writing it, and it contained a typo, i wrote $fs where i meant $fn.

On 19 July 2017 at 13:18, doug moen <[hidden email]> wrote:
Alex said: "There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD..."

After spending a few years on the "OpenSCAD 2" project, my experience is that creating a new language implementation with 100% backwards compatibility with OpenSCAD is an extreme technical challenge, and I eventually abandoned it as a goal. The problem is that the language is so full of quirks that are not found in any other language, many of which are undocumented. For one thing, the scoping rules are so weird that you can't "transpile" OpenSCAD into a conventional language or compile into VM code for a conventional language, and preserve the semantics.

In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

Mixotricha's approach leads to an OpenSCAD-like language that isn't fully backwards compatible. You won't be able to take arbitrary OpenSCAD scripts off Thingiverse or whatever and expect them to just work without being "ported" to MakerTron. However, if you are writing new code from scratch, then you should be able to write code that is portable between OpenSCAD and MakerTron.

The first example I tried was:
     cylinder(r=1,h=5,$fs=6);
This is the OpenSCAD idiom for a hexagonal prism. What I got instead was a cylinder with a circular cross section.

I also tried
  x = 1;
  function x(a) = a + 1;
  module x(a) cube(x(x));
  x(2);
but I didn't get a result back, and lost contact with the makertron server.


On 19 July 2017 at 05:13, Alex Gibson <[hidden email]> wrote:
Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote
> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

If you are interested my previous work on this did exactly that. It is in my humbaba tree. I went through this. Putting a socket layer on OpenSCAD is trivial. Building it in to a shared library so I could access it through nodeJS also trivial.  But then what you will find is issues with speed and the complex pathway for multiple rendering targets. The roadblock that emerged was interaction between a client side interface in something like react and dealing with the OpenCSG/Goldfeather approach. Making OpenSCAD headless is not hard. But the rest of it will rapidly lead you to a series of painful roadblocks. I've got a better way. Think transpiler. Not parser. The examples you have given above are excellent and also things that can be fixed. I've had the client up live for one day and this sort of input is exactly what I needed. Keep them coming.  
 



On Thu, Jul 20, 2017 at 3:25 AM, doug moen <[hidden email]> wrote:
Sorry, I accidently sent that message before I was finished writing it, and it contained a typo, i wrote $fs where i meant $fn.

On 19 July 2017 at 13:18, doug moen <[hidden email]> wrote:
Alex said: "There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD..."

After spending a few years on the "OpenSCAD 2" project, my experience is that creating a new language implementation with 100% backwards compatibility with OpenSCAD is an extreme technical challenge, and I eventually abandoned it as a goal. The problem is that the language is so full of quirks that are not found in any other language, many of which are undocumented. For one thing, the scoping rules are so weird that you can't "transpile" OpenSCAD into a conventional language or compile into VM code for a conventional language, and preserve the semantics.

In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

Mixotricha's approach leads to an OpenSCAD-like language that isn't fully backwards compatible. You won't be able to take arbitrary OpenSCAD scripts off Thingiverse or whatever and expect them to just work without being "ported" to MakerTron. However, if you are writing new code from scratch, then you should be able to write code that is portable between OpenSCAD and MakerTron.

The first example I tried was:
     cylinder(r=1,h=5,$fs=6);
This is the OpenSCAD idiom for a hexagonal prism. What I got instead was a cylinder with a circular cross section.

I also tried
  x = 1;
  function x(a) = a + 1;
  module x(a) cube(x(x));
  x(2);
but I didn't get a result back, and lost contact with the makertron server.


On 19 July 2017 at 05:13, Alex Gibson <[hidden email]> wrote:
Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote
> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
I also forgot to say also that having made the OpenSCAD headless it brings one to thinking about moving the parser as a whole. After all the grammar is already provided. But as I am sure you know ( and as is often the case with any grammar ) moving the OpenSCAD grammar as it currently stands to a new target is not at all trivial. So I changed my thinking. Don't write a parser. Write a transpiler. Everything OpenSCAD does results in a stack of geometrical operations. You can get to those operations via a transpile. You can also address quirks in a really powerful way in a transpile. The example I would give of that is the lazy OpenSCAD closure. 

On Thu, Jul 20, 2017 at 10:58 AM, Damien Towning <[hidden email]> wrote:
In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

If you are interested my previous work on this did exactly that. It is in my humbaba tree. I went through this. Putting a socket layer on OpenSCAD is trivial. Building it in to a shared library so I could access it through nodeJS also trivial.  But then what you will find is issues with speed and the complex pathway for multiple rendering targets. The roadblock that emerged was interaction between a client side interface in something like react and dealing with the OpenCSG/Goldfeather approach. Making OpenSCAD headless is not hard. But the rest of it will rapidly lead you to a series of painful roadblocks. I've got a better way. Think transpiler. Not parser. The examples you have given above are excellent and also things that can be fixed. I've had the client up live for one day and this sort of input is exactly what I needed. Keep them coming.  
 



On Thu, Jul 20, 2017 at 3:25 AM, doug moen <[hidden email]> wrote:
Sorry, I accidently sent that message before I was finished writing it, and it contained a typo, i wrote $fs where i meant $fn.

On 19 July 2017 at 13:18, doug moen <[hidden email]> wrote:
Alex said: "There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD..."

After spending a few years on the "OpenSCAD 2" project, my experience is that creating a new language implementation with 100% backwards compatibility with OpenSCAD is an extreme technical challenge, and I eventually abandoned it as a goal. The problem is that the language is so full of quirks that are not found in any other language, many of which are undocumented. For one thing, the scoping rules are so weird that you can't "transpile" OpenSCAD into a conventional language or compile into VM code for a conventional language, and preserve the semantics.

In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

Mixotricha's approach leads to an OpenSCAD-like language that isn't fully backwards compatible. You won't be able to take arbitrary OpenSCAD scripts off Thingiverse or whatever and expect them to just work without being "ported" to MakerTron. However, if you are writing new code from scratch, then you should be able to write code that is portable between OpenSCAD and MakerTron.

The first example I tried was:
     cylinder(r=1,h=5,$fs=6);
This is the OpenSCAD idiom for a hexagonal prism. What I got instead was a cylinder with a circular cross section.

I also tried
  x = 1;
  function x(a) = a + 1;
  module x(a) cube(x(x));
  x(2);
but I didn't get a result back, and lost contact with the makertron server.


On 19 July 2017 at 05:13, Alex Gibson <[hidden email]> wrote:
Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote
> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
Damien Towning
CEO / Developer 
http://makertron.io
 



--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

doug.moen
In reply to this post by mixotricha
I'm having difficulty following you; we may be using terminology differently.

OpenSCAD proceses a script using the following steps:
* the parser converts the script to a parse tree
* the evaluator converts the parse tree to a CSG tree
* the renderer converts the CSG tree to the final product. OpenSCAD has a previewer that uses OpenCSG, and a mesh generator that uses CGAL. You can also dump the CSG tree as text (a simplified OpenSCAD script), without further processing.

A transpiler is basically a compiler that converts source code in one language to source code in another language. A transpiler will always have a parser as the first step of processing. So I don't know what you mean by "Don't write a parser. Write a transpiler."

In OpenSCAD, the parser is not very difficult to write. But it is extremely difficult to transpile OpenSCAD into another language without first using the OpenSCAD evaluator to construct a CSG tree. That's because of the very unusual dynamic scoping rules used by the evaluator. Within a function or module, the meaning of an identifier is only known at run time. A transpiler would either interpret identifiers using static scoping rules, which doesn't work, or it would have to transpile into another language that uses the exact same dynamic scoping rules (which aren't documented, and which I never fully succeeded in reverse engineering.) What you want to do is transpile the CSG tree into your final format. The CSG tree also has OpenSCAD syntax, but it's a subset that eliminates all of the hard problems, so you can feed that into your existing transpiler.

On 19 July 2017 at 20:58, Damien Towning <[hidden email]> wrote:
In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

If you are interested my previous work on this did exactly that. It is in my humbaba tree. I went through this. Putting a socket layer on OpenSCAD is trivial. Building it in to a shared library so I could access it through nodeJS also trivial.  But then what you will find is issues with speed and the complex pathway for multiple rendering targets. The roadblock that emerged was interaction between a client side interface in something like react and dealing with the OpenCSG/Goldfeather approach. Making OpenSCAD headless is not hard. But the rest of it will rapidly lead you to a series of painful roadblocks. I've got a better way. Think transpiler. Not parser. The examples you have given above are excellent and also things that can be fixed. I've had the client up live for one day and this sort of input is exactly what I needed. Keep them coming.  
 



On Thu, Jul 20, 2017 at 3:25 AM, doug moen <[hidden email]> wrote:
Sorry, I accidently sent that message before I was finished writing it, and it contained a typo, i wrote $fs where i meant $fn.

On 19 July 2017 at 13:18, doug moen <[hidden email]> wrote:
Alex said: "There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD..."

After spending a few years on the "OpenSCAD 2" project, my experience is that creating a new language implementation with 100% backwards compatibility with OpenSCAD is an extreme technical challenge, and I eventually abandoned it as a goal. The problem is that the language is so full of quirks that are not found in any other language, many of which are undocumented. For one thing, the scoping rules are so weird that you can't "transpile" OpenSCAD into a conventional language or compile into VM code for a conventional language, and preserve the semantics.

In my opinion, the practical way to achieve full backwards compatibility is to use the existing OpenSCAD interpreter to compile an OpenSCAD script into a CSG tree, then write a back end that processes that CSG tree.

Mixotricha's approach leads to an OpenSCAD-like language that isn't fully backwards compatible. You won't be able to take arbitrary OpenSCAD scripts off Thingiverse or whatever and expect them to just work without being "ported" to MakerTron. However, if you are writing new code from scratch, then you should be able to write code that is portable between OpenSCAD and MakerTron.

The first example I tried was:
     cylinder(r=1,h=5,$fs=6);
This is the OpenSCAD idiom for a hexagonal prism. What I got instead was a cylinder with a circular cross section.

I also tried
  x = 1;
  function x(a) = a + 1;
  module x(a) cube(x(x));
  x(2);
but I didn't get a result back, and lost contact with the makertron server.


On 19 July 2017 at 05:13, Alex Gibson <[hidden email]> wrote:
Hi there Mixotricha,

I was quite excited but I tried to copy-paste 3 Openscad files of sharply decreasing complexity, and none of them would produce an object, or even an error.

When I refreshed the page, I couldn't get back to the original example file that first greeted me - so maybe a browser caching issue?

There seem to be a lot of people starting projects to re-create OpenSCAD, in their own way, and none is anything like as compatible as I would need them to be for them to be useful.  Even OpenJSCAD and FreeCAD rarely open one of my designs from OpenSCAD...

For example, supporting 'minkowski' is an absolute must, intersections, linear extrudes, logic and ideally text functions - some way to handle fonts could complicate this but it would be worth it!  How would we call a function from a separate file?  That sort of thing...

Cheers
Alex

-----Original Message-----
From: Discuss [mailto:[hidden email]] On Behalf Of MichaelAtOz
Sent: 19 July 2017 03:27
To: [hidden email]
Subject: Re: [OpenSCAD] Project Announcement Makertron

mixotricha wrote
> Hello All,
>
> I'd like to announce Makertron.
> http://makertron.io <http://makertron.io>
>
> It is an alternative I am working on that addresses some of problems I
> see with OpenSCAD and with OpenJSCAD.
>
> It is a bit like ImplicitCad in that it has a server back end -but- it
> also has a client front end.
>
> I have seen a few people have a go at this but none of them were quite
> doing what I needed or had some core implementation problems.
>
> I've gone after some of those and tried to resolve them.
>
> I'd love to get some feedback and would be happy to help answer any
> questions about my project.
>
> Greetings From Australia
>
> Damien

"At least 90% of the OpenSCAD language specification is now supported"

Is that documented?




-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
View this message in context: http://forum.openscad.org/Project-Announcement-Makertron-tp21849p21853.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

tp3
In reply to this post by mixotricha
On github it says:

> Lastly the OpenSCAD parser while supporting an excellent CSG language
> ( though in some areas ambiguous ) is so glued to the interface and
> supporting code that it is hard for the language to evolve or move
> forwards from that interface. It is our opinion that this effort has
> stalled and something new needed to be developed to address these
> issues.
>
If that's one of the core premises, I'd suggest to have a look at
http://apidesign.org/

Also it would be interesting to have a look at that geometry engine
(quote "The Makertron server supports its own internal geometry
engine based on a BREP representation.") which seems to be based on
Open Cascade. I can only find shared libs in the server repo.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
Hi Alex, 

I pushed a new update out today with some improved argument parsing. I see that nice little example you gave now loads. I'll be sorting out some sort of supported features matrix and a time line as well. Just a lot to get done :) 

On Thu, Jul 20, 2017 at 4:26 PM, Torsten Paul <[hidden email]> wrote:
On github it says:

> Lastly the OpenSCAD parser while supporting an excellent CSG language
> ( though in some areas ambiguous ) is so glued to the interface and
> supporting code that it is hard for the language to evolve or move
> forwards from that interface. It is our opinion that this effort has
> stalled and something new needed to be developed to address these
> issues.
>
If that's one of the core premises, I'd suggest to have a look at
http://apidesign.org/

Also it would be interesting to have a look at that geometry engine
(quote "The Makertron server supports its own internal geometry
engine based on a BREP representation.") which seems to be based on
Open Cascade. I can only find shared libs in the server repo.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

cacb
On 2017-07-21 09:24, Damien Towning wrote:
> Hi Alex,
>
> I pushed a new update out today with some improved argument parsing.

Hi,

I tried the default example from behind a corporate network yesterday
and today. The page opens and I can see the axes and xy-grid. I can
rotate it with the left mouse button. With the right mouse button
everything just disappears to the bottom right, no way to get it back.
When pressing the Generate button, nothing happens. No model displayed.
Same thing with Firefox and Microsoft Edge under Win10.

What are the requirements to make it work?

Carsten Arnholm

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Project Announcement Makertron

mixotricha
Hi Carsten, 

I've tested it in Firefox and Chrome. It works fine in those but I have not checked it in Edge.

I would suggest that if it is getting the grid and axis the trouble is perhaps with talking to the server.  

The client opens a port to the server ( using socket.io )  on port 3000. 

You can test the server by going to : http://makertron.io:3000 

If it is up and responding it should give you a version number back.

"Makertron server version 5.0"

If not take a look in your console/debug window and if you see any interesting error messages let me know.  


On Fri, Jul 21, 2017 at 5:52 PM, <[hidden email]> wrote:
On 2017-07-21 09:24, Damien Towning wrote:
Hi Alex,

I pushed a new update out today with some improved argument parsing.

Hi,

I tried the default example from behind a corporate network yesterday and today. The page opens and I can see the axes and xy-grid. I can rotate it with the left mouse button. With the right mouse button everything just disappears to the bottom right, no way to get it back. When pressing the Generate button, nothing happens. No model displayed. Same thing with Firefox and Microsoft Edge under Win10.

What are the requirements to make it work?

Carsten Arnholm


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



--
Damien Towning
CEO / Developer 
http://makertron.io
 

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
12
Loading...