I
irevdev
Sun, Mar 21, 2021 8:36 AM
I'm very happy with progress that's been made on the OpenSCAD live editor.
It's far from done, but it's at the point where I early feedback would be
useful.
Obviously this always be more frustrating to use than the desktop, but one
thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the url
with the "Copy link" button. I figure the forum is a great place for that to
get some use, so next time you're about to share a snippet, maybe try
pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made
https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvdGF0ZShbOTAsMCwwXSl7CiAgICAgICAgbGluZWFyX2V4dHJ1ZGUoaGluZ2VMZW5ndGgvMi10b2xlcmFuY2UvMil7CiAgICAgICAgICAgIG9mZnNldChyb3VuZGluZ1Ipb2Zmc2V0KC1yb3VuZGluZ1IqMilvZmZzZXQocm91bmRpbmdSKXVuaW9uKCl7CiAgICAgICAgICAgICAgICB0cmFuc2xhdGUoWzAscGl2b3RSYWRpdXNdKXsKICAgICAgICAgICAgICAgICAgICBjaXJjbGUocGl2b3RSYWRpdXMpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgc3F1YXJlKFtwaXZvdFJhZGl1cyxwaXZvdFJhZGl1c10pOwogICAgICAgICAgICAgICAgYmFzZSgpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICA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ICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==
Other than snippets, I'm definitely open to general feed back, especially
low hanging fruit and quick wins, though bear in mind there are a number of
things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the
viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side view
etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
--
Sent from: http://forum.openscad.org/
I'm very happy with progress that's been made on the OpenSCAD live editor.
It's far from done, but it's at the point where I early feedback would be
useful.
Obviously this always be more frustrating to use than the desktop, but one
thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the url
with the "Copy link" button. I figure the forum is a great place for that to
get some use, so next time you're about to share a snippet, maybe try
pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made
<https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZUR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ets, I'm definitely open to general feed back, especially
low hanging fruit and quick wins, though bear in mind there are a number of
things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the
viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side view
etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
--
Sent from: http://forum.openscad.org/
BC
Bob Carter
Sun, Mar 21, 2021 9:10 AM
On 21 Mar 2021, at 08:36, irevdev via Discuss discuss@lists.openscad.org wrote:
I'm very happy with progress that's been made on the OpenSCAD live editor. It's far from done, but it's at the point where I early feedback would be useful.
Obviously this always be more frustrating to use than the desktop, but one thing that I envision it being useful for straight away is for sharing snippets, which is why I added the ability to encode the script into the url with the "Copy link" button. I figure the forum is a great place for that to get some use, so next time you're about to share a snippet, maybe try pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvdGF0ZShbOTAsMCwwXSl7CiAgICAgICAgbGluZWFyX2V4dHJ1ZGUoaGluZ2VMZW5ndGgvMi10b2xlcmFuY2UvMil7CiAgICAgICAgICAgIG9mZnNldChyb3VuZGluZ1Ipb2Zmc2V0KC1yb3VuZGluZ1IqMilvZmZzZXQocm91b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YWRpdXNdKSB7CiAgICAgICAgcm90YXRlKFstOTAqc2hvdWxkRmxpcCwwLDBdKXsKICAgICAgICAgICAgY3lsaW5kZXIocjE9cGluUmFkaXVzK29mZnNldCwgcjI9cGluUmFkaXVzKzAuMjUrb2Zmc2V0LCBoPWhpbmdlTGVuZ3RoLzIrMC4xKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBoYWxmTWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==
Other than snippets, I'm definitely open to general feed back, especially low hanging fruit and quick wins, though bear in mind there are a number of things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side view etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/ at Nabble.com.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Links are blocked on the site
Woah, woah. You shouldn't be here! We're still working on this. Since you've seen it now, have a look what we've got planned <https://github.com/Irev-Dev/cadhub/discussions/212>.
> On 21 Mar 2021, at 08:36, irevdev via Discuss <discuss@lists.openscad.org> wrote:
>
> I'm very happy with progress that's been made on the OpenSCAD live editor. It's far from done, but it's at the point where I early feedback would be useful.
>
> Obviously this always be more frustrating to use than the desktop, but one thing that I envision it being useful for straight away is for sharing snippets, which is why I added the ability to encode the script into the url with the "Copy link" button. I figure the forum is a great place for that to get some use, so next time you're about to share a snippet, maybe try pasting it into the Cadhub editor and than pasting the link instead.
>
> The editor is here: https://cadhub.xyz/dev-ide <https://cadhub.xyz/dev-ide>
> And here a link to a simple hinge I made <https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvdGF0ZShbOTAsMCwwXSl7CiAgICAgICAgbGluZWFyX2V4dHJ1ZGUoaGluZ2VMZW5ndGgvMi10b2xlcmFuY2UvMil7CiAgICAgICAgICAgIG9mZnNldChyb3VuZGluZ1Ipb2Zmc2V0KC1yb3VuZGluZ1IqMilvZmZzZXQocm91bmRpbmdSKXVuaW9uKCl7CiAgICAgICAgICAgICAgICB0cmFuc2xhdGUoWzAscGl2b3RSYWRpdXNdKXsKICAgICAgICAgICAgICAgICAgICBjaXJjbGUocGl2b3RSYWRpdXMpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgc3F1YXJlKFtwaXZvdFJhZGl1cyxwaXZvdFJhZGl1c10pOwogICAgICAgICAgICAgICAgYmFzZSgpOwogICA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RpZmZlcmVuY2UoKSB7CiAgICAgICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==>
>
> Other than snippets, I'm definitely open to general feed back, especially low hanging fruit and quick wins, though bear in mind there are a number of things that still are not yet built out which are planned.
>
> - Hope to have better editor support/ syntax highlighting
> - Add stl export as well, that will also make the mesh viewable in the viewer panel
> - Want to add customizer support
> - Want to add more camera controls (orthogonal plus snap to top, side view etc)
> - Want to add multi file support
> - Would like to add the the popular libraries listed on openscad.org
> Sent from the OpenSCAD mailing list archive <http://forum.openscad.org/> at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
I
irevdev
Sun, Mar 21, 2021 9:16 AM
What do you mean by links are block? are there links that don't work?
The text you pasted is a "under construction" banner, because it's WIP.
--
Sent from: http://forum.openscad.org/
What do you mean by links are block? are there links that don't work?
The text you pasted is a "under construction" banner, because it's WIP.
--
Sent from: http://forum.openscad.org/
A
arnholm@arnholm.org
Sun, Mar 21, 2021 9:35 AM
On 2021-03-21 09:36, irevdev via Discuss wrote:
I'm very happy with progress that's been made on the OpenSCAD live
editor. It's far from done, but it's at the point where I early
feedback would be useful.
That looks quite nice, well done. What do you do if someone compiles a
script that requires hours to run?
Carsten Arnholm
On 2021-03-21 09:36, irevdev via Discuss wrote:
> I'm very happy with progress that's been made on the OpenSCAD live
> editor. It's far from done, but it's at the point where I early
> feedback would be useful.
That looks quite nice, well done. What do you do if someone compiles a
script that requires hours to run?
Carsten Arnholm
I
irevdev
Sun, Mar 21, 2021 9:59 AM
Good question. I'm not entirely sure what to do about that, but atm where I'm
just trying to prove out the concept is having a very short timeout (can't
remember probably 30s). We'll see what happens but one thought I've had is
if folks on the OpenSCAD dev team think its valuable maybe a couple extra
flags for the CLI could be useful, like being able to set maxfn for example
might be good (I haven't thought it through enough and it's definitely too
early to make any concrete suggestions).
A feature I have in mind is to have a github integration, and to do out of
band stl and image generation, in which case I would be more inclined to let
things run longer before timing out.
https://gitlab.com/openflexure/openflexure-microscope
--
Sent from: http://forum.openscad.org/
Good question. I'm not entirely sure what to do about that, but atm where I'm
just trying to prove out the concept is having a very short timeout (can't
remember probably 30s). We'll see what happens but one thought I've had is
if folks on the OpenSCAD dev team think its valuable maybe a couple extra
flags for the CLI could be useful, like being able to set maxfn for example
might be good (I haven't thought it through enough and it's definitely too
early to make any concrete suggestions).
A feature I have in mind is to have a github integration, and to do out of
band stl and image generation, in which case I would be more inclined to let
things run longer before timing out.
https://gitlab.com/openflexure/openflexure-microscope
--
Sent from: http://forum.openscad.org/
RW
Rogier Wolff
Sun, Mar 21, 2021 10:42 AM
On Sun, Mar 21, 2021 at 01:36:11AM -0700, irevdev via Discuss wrote:
Obviously this always be more frustrating to use than the desktop, but one
thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the url
with the "Copy link" button.
There are certainly advantages for allowing the URL to be shared, but
if your link is a "simple hinge" then that approach is quickly
becoming unfeasable.
I would recommend that you allow more or less the same interface, but
then store the script locally and provide two say 32-bit numbers. One
is the object-ID for that script and the other is a "key". (you can
store say 3 (random!) keys with each object: owner (can give
away/change keys), editor (can edit), and viewer.
You have to be careful to tell bots not to access these buttons. A
friend made an "reversi" or "Othello" game server that stored the game
state in the URL. Google tried to solve that game once-and-for-all by
walking all the links....
For me personally long links annoy me. Especially when in Emails: I
use a text-email-reader, and have to make the window as wide as the
URL to be able to copy-paste it into my browser. I quickly give up if
the URL is wider than my screen (about 3k pixels).
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
On Sun, Mar 21, 2021 at 01:36:11AM -0700, irevdev via Discuss wrote:
> Obviously this always be more frustrating to use than the desktop, but one
> thing that I envision it being useful for straight away is for sharing
> snippets, which is why I added the ability to encode the script into the url
> with the "Copy link" button.
There are certainly advantages for allowing the URL to be shared, but
if your link is a "simple hinge" then that approach is quickly
becoming unfeasable.
I would recommend that you allow more or less the same interface, but
then store the script locally and provide two say 32-bit numbers. One
is the object-ID for that script and the other is a "key". (you can
store say 3 (random!) keys with each object: owner (can give
away/change keys), editor (can edit), and viewer.
You have to be careful to tell bots not to access these buttons. A
friend made an "reversi" or "Othello" game server that stored the game
state in the URL. Google tried to solve that game once-and-for-all by
walking all the links....
For me personally long links annoy me. Especially when in Emails: I
use a text-email-reader, and have to make the window as wide as the
URL to be able to copy-paste it into my browser. I quickly give up if
the URL is wider than my screen (about 3k pixels).
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
KT
Kevin Toppenberg
Sun, Mar 21, 2021 1:36 PM
This is an awesome concept.
In the world of web assembly, would it be possible for the rendering to be
done in the browser by downloading web assembly for the OpenScad C code
renderer?
KT
On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
discuss@lists.openscad.org> wrote:
I'm very happy with progress that's been made on the OpenSCAD live editor.
It's far from done, but it's at the point where I early feedback would be
useful.
Obviously this always be more frustrating to use than the desktop, but one
thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the
url with the "Copy link" button. I figure the forum is a great place for
that to get some use, so next time you're about to share a snippet, maybe
try pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made
https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvdGF0ZShbOTAsMCwwXSl7CiAgICAgICAgbGluZWFyX2V4dHJ1ZGUoaGluZ2VMZW5ndGgvMi10b2xlcmFuY2UvMil7CiAgICAgICAgICAgIG9mZnNldChyb3VuZGluZ1Ipb2Zmc2V0KC1yb3VuZGluZ1IqMilvZmZzZXQocm91bmRpbmdSKXVuaW9uKCl7CiAgICAgICAgICAgICAgICB0cmFuc2xhdGUoWzAscGl2b3RSYWRpdXNdKXsKICAgICAgICAgICAgICAgICAgICBjaXJjbGUocGl2b3RSYWRpdXMpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgc3F1YXJlKFtwaXZvdFJhZGl1cyxwaXZvdFJhZGl1c10pOwogICAgICAgICAgICAgICAgYmFzZSgpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGxpbmVhcl9leHRydWRlKGhpbmdlTGVuZ3RoKXsKICAgICAgICAgICAgYmF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W4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==
Other than snippets, I'm definitely open to general feed back, especially
low hanging fruit and quick wins, though bear in mind there are a number of
things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the
viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side view
etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/
at Nabble.com.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
This is an awesome concept.
In the world of web assembly, would it be possible for the rendering to be
done in the browser by downloading web assembly for the OpenScad C code
renderer?
KT
On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
discuss@lists.openscad.org> wrote:
> I'm very happy with progress that's been made on the OpenSCAD live editor.
> It's far from done, but it's at the point where I early feedback would be
> useful.
>
> Obviously this always be more frustrating to use than the desktop, but one
> thing that I envision it being useful for straight away is for sharing
> snippets, which is why I added the ability to encode the script into the
> url with the "Copy link" button. I figure the forum is a great place for
> that to get some use, so next time you're about to share a snippet, maybe
> try pasting it into the Cadhub editor and than pasting the link instead.
>
> The editor is here: https://cadhub.xyz/dev-ide
> And here a link to a simple hinge I made
> <https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04Owp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KaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==>
>
> Other than snippets, I'm definitely open to general feed back, especially
> low hanging fruit and quick wins, though bear in mind there are a number of
> things that still are not yet built out which are planned.
>
> - Hope to have better editor support/ syntax highlighting
> - Add stl export as well, that will also make the mesh viewable in the
> viewer panel
> - Want to add customizer support
> - Want to add more camera controls (orthogonal plus snap to top, side view
> etc)
> - Want to add multi file support
> - Would like to add the the popular libraries listed on openscad.org
> ------------------------------
> Sent from the OpenSCAD mailing list archive <http://forum.openscad.org/>
> at Nabble.com.
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
DT
Damien Towning
Sun, Mar 21, 2021 6:04 PM
This is an awesome concept.
In the world of web assembly, would it be possible for the rendering to be
done in the browser by downloading web assembly for the OpenScad C code
renderer?
KT
On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
discuss@lists.openscad.org> wrote:
I'm very happy with progress that's been made on the OpenSCAD live
editor. It's far from done, but it's at the point where I early feedback
would be useful.
Obviously this always be more frustrating to use than the desktop, but
one thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the
url with the "Copy link" button. I figure the forum is a great place for
that to get some use, so next time you're about to share a snippet, maybe
try pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made
https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpy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5nZVdpZHRoLzIrcGl2b3RSYWRpdXMsLWkqZ2FwQmV0d2VlbkhvbGVzLWhvbGVEaXN0YW5jZUZyb21FZGdlLC0wLjFdKXsKICAgICAgICAgICAgY3lsaW5kZXIoZD1ob2xlRGlhbWV0ZXIsIGg9YmFzZVRoaWNrbmVzcyoyKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBwaW4oc2hvdWxkRmxpcCA9IC0xLCBvZmZzZXQgPSAwKSB7CiAgICB0cmFuc2xhdGUoWzAsLWhpbmdlTGVuZ3RoLzIscGl2b3RSYWRpdXNdKSB7CiAgICAgICAgcm90YXRlKFstOTAqc2hvdWxkRmxpcCwwLDBdKXsKICAgICAgICAgICAgY3lsaW5kZXIocjE9cGluUmFkaXVzK29mZnNldCwgcjI9cGluUmFkaXVzKzAuMjUrb2Zmc2V0LCBoPWhpbmdlTGVuZ3RoLzIrMC4xKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBoYWxmTWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==
Other than snippets, I'm definitely open to general feed back, especially
low hanging fruit and quick wins, though bear in mind there are a number of
things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the
viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side
view etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/
at Nabble.com.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
https://youtu.be/wIusBhMG2yk :)
On Mon, Mar 22, 2021 at 12:37 AM Kevin Toppenberg <kdtop3@gmail.com> wrote:
> This is an awesome concept.
>
> In the world of web assembly, would it be possible for the rendering to be
> done in the browser by downloading web assembly for the OpenScad C code
> renderer?
>
> KT
>
> On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
> discuss@lists.openscad.org> wrote:
>
>> I'm very happy with progress that's been made on the OpenSCAD live
>> editor. It's far from done, but it's at the point where I early feedback
>> would be useful.
>>
>> Obviously this always be more frustrating to use than the desktop, but
>> one thing that I envision it being useful for straight away is for sharing
>> snippets, which is why I added the ability to encode the script into the
>> url with the "Copy link" button. I figure the forum is a great place for
>> that to get some use, so next time you're about to share a snippet, maybe
>> try pasting it into the Cadhub editor and than pasting the link instead.
>>
>> The editor is here: https://cadhub.xyz/dev-ide
>> And here a link to a simple hinge I made
>> <https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvd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XIsIGg9YmFzZVRoaWNrbmVzcyoyKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBwaW4oc2hvdWxkRmxpcCA9IC0xLCBvZmZzZXQgPSAwKSB7CiAgICB0cmFuc2xhdGUoWzAsLWhpbmdlTGVuZ3RoLzIscGl2b3RSYWRpdXNdKSB7CiAgICAgICAgcm90YXRlKFstOTAqc2hvdWxkRmxpcCwwLDBdKXsKICAgICAgICAgICAgY3lsaW5kZXIocjE9cGluUmFkaXVzK29mZnNldCwgcjI9cGluUmFkaXVzKzAuMjUrb2Zmc2V0LCBoPWhpbmdlTGVuZ3RoLzIrMC4xKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBoYWxmTWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==>
>>
>> Other than snippets, I'm definitely open to general feed back, especially
>> low hanging fruit and quick wins, though bear in mind there are a number of
>> things that still are not yet built out which are planned.
>>
>> - Hope to have better editor support/ syntax highlighting
>> - Add stl export as well, that will also make the mesh viewable in the
>> viewer panel
>> - Want to add customizer support
>> - Want to add more camera controls (orthogonal plus snap to top, side
>> view etc)
>> - Want to add multi file support
>> - Would like to add the the popular libraries listed on openscad.org
>> ------------------------------
>> Sent from the OpenSCAD mailing list archive <http://forum.openscad.org/>
>> at Nabble.com.
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
--
Damien Towning
DT
Damien Towning
Sun, Mar 21, 2021 6:08 PM
Seems to be a lot of this going about. Been here. Done this already. Have
opinions and lots to say but not much time to say it at the moment. Web
Assembly absolutely. In my gitlab you will find some web assembly that got
as far bringing up the OpenSCAD Scintilla widget.
https://gitlab.com/mixotricha/elixir-makertron
My documentation is long out of date and my thinking has changed a lot.
Want to solve a useful problem to do with rendering in the browser if you
have not done it already. Implement the Gold Feather.
On Mon, Mar 22, 2021 at 5:04 AM Damien Towning connolly.damien@gmail.com
wrote:
This is an awesome concept.
In the world of web assembly, would it be possible for the rendering to
be done in the browser by downloading web assembly for the OpenScad C code
renderer?
KT
On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
discuss@lists.openscad.org> wrote:
I'm very happy with progress that's been made on the OpenSCAD live
editor. It's far from done, but it's at the point where I early feedback
would be useful.
Obviously this always be more frustrating to use than the desktop, but
one thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the
url with the "Copy link" button. I figure the forum is a great place for
that to get some use, so next time you're about to share a snippet, maybe
try pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made
https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGlu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HRoLzIrcGl2b3RSYWRpdXMsLWkqZ2FwQmV0d2VlbkhvbGVzLWhvbGVEaXN0YW5jZUZyb21FZGdlLC0wLjFdKXsKICAgICAgICAgICAgY3lsaW5kZXIoZD1ob2xlRGlhbWV0ZXIsIGg9YmFzZVRoaWNrbmVzcyoyKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBwaW4oc2hvdWxkRmxpcCA9IC0xLCBvZmZzZXQgPSAwKSB7CiAgICB0cmFuc2xhdGUoWzAsLWhpbmdlTGVuZ3RoLzIscGl2b3RSYWRpdXNdKSB7CiAgICAgICAgcm90YXRlKFstOTAqc2hvdWxkRmxpcCwwLDBdKXsKICAgICAgICAgICAgY3lsaW5kZXIocjE9cGluUmFkaXVzK29mZnNldCwgcjI9cGluUmFkaXVzKzAuMjUrb2Zmc2V0LCBoPWhpbmdlTGVuZ3RoLzIrMC4xKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBoYWxmTWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==
Other than snippets, I'm definitely open to general feed back,
especially low hanging fruit and quick wins, though bear in mind there are
a number of things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the
viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side
view etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/
at Nabble.com.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Seems to be a lot of this going about. Been here. Done this already. Have
opinions and lots to say but not much time to say it at the moment. Web
Assembly absolutely. In my gitlab you will find some web assembly that got
as far bringing up the OpenSCAD Scintilla widget.
https://gitlab.com/mixotricha/elixir-makertron
My documentation is long out of date and my thinking has changed a lot.
Want to solve a useful problem to do with rendering in the browser if you
have not done it already. Implement the Gold Feather.
On Mon, Mar 22, 2021 at 5:04 AM Damien Towning <connolly.damien@gmail.com>
wrote:
> https://youtu.be/wIusBhMG2yk :)
>
> On Mon, Mar 22, 2021 at 12:37 AM Kevin Toppenberg <kdtop3@gmail.com>
> wrote:
>
>> This is an awesome concept.
>>
>> In the world of web assembly, would it be possible for the rendering to
>> be done in the browser by downloading web assembly for the OpenScad C code
>> renderer?
>>
>> KT
>>
>> On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
>> discuss@lists.openscad.org> wrote:
>>
>>> I'm very happy with progress that's been made on the OpenSCAD live
>>> editor. It's far from done, but it's at the point where I early feedback
>>> would be useful.
>>>
>>> Obviously this always be more frustrating to use than the desktop, but
>>> one thing that I envision it being useful for straight away is for sharing
>>> snippets, which is why I added the ability to encode the script into the
>>> url with the "Copy link" button. I figure the forum is a great place for
>>> that to get some use, so next time you're about to share a snippet, maybe
>>> try pasting it into the Cadhub editor and than pasting the link instead.
>>>
>>> The editor is here: https://cadhub.xyz/dev-ide
>>> And here a link to a simple hinge I made
>>> <https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7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Agcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==>
>>>
>>> Other than snippets, I'm definitely open to general feed back,
>>> especially low hanging fruit and quick wins, though bear in mind there are
>>> a number of things that still are not yet built out which are planned.
>>>
>>> - Hope to have better editor support/ syntax highlighting
>>> - Add stl export as well, that will also make the mesh viewable in the
>>> viewer panel
>>> - Want to add customizer support
>>> - Want to add more camera controls (orthogonal plus snap to top, side
>>> view etc)
>>> - Want to add multi file support
>>> - Would like to add the the popular libraries listed on openscad.org
>>> ------------------------------
>>> Sent from the OpenSCAD mailing list archive <http://forum.openscad.org/>
>>> at Nabble.com.
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>
>
>
> --
> Damien Towning
>
>
>
--
Damien Towning
DT
Damien Towning
Sun, Mar 21, 2021 6:14 PM
Also in the src you will find a binding to a C renderer that chats to the
Elixir back end. On the front end a transpiler thing. Lots of stuff going
on. Is all parallel blah blah blah.
On Mon, Mar 22, 2021 at 5:08 AM Damien Towning connolly.damien@gmail.com
wrote:
Seems to be a lot of this going about. Been here. Done this already. Have
opinions and lots to say but not much time to say it at the moment. Web
Assembly absolutely. In my gitlab you will find some web assembly that got
as far bringing up the OpenSCAD Scintilla widget.
https://gitlab.com/mixotricha/elixir-makertron
My documentation is long out of date and my thinking has changed a lot.
Want to solve a useful problem to do with rendering in the browser if you
have not done it already. Implement the Gold Feather.
On Mon, Mar 22, 2021 at 5:04 AM Damien Towning connolly.damien@gmail.com
wrote:
This is an awesome concept.
In the world of web assembly, would it be possible for the rendering to
be done in the browser by downloading web assembly for the OpenScad C code
renderer?
KT
On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
discuss@lists.openscad.org> wrote:
I'm very happy with progress that's been made on the OpenSCAD live
editor. It's far from done, but it's at the point where I early feedback
would be useful.
Obviously this always be more frustrating to use than the desktop, but
one thing that I envision it being useful for straight away is for sharing
snippets, which is why I added the ability to encode the script into the
url with the "Copy link" button. I figure the forum is a great place for
that to get some use, so next time you're about to share a snippet, maybe
try pasting it into the Cadhub editor and than pasting the link instead.
The editor is here: https://cadhub.xyz/dev-ide
And here a link to a simple hinge I made
https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvdGF0ZShbOTAsMCwwXSl7CiAgICAgICAgbGluZWFyX2V4dHJ1ZGUoaGluZ2VMZW5ndGgvMi10b2xlcmFuY2UvMil7CiAgICAgICAgICAgIG9mZnNldChyb3VuZGluZ1Ipb2Zmc2V0KC1yb3VuZGluZ1IqMilvZmZzZXQocm91bmRpbmdSKXVuaW9uKCl7CiAgICAgICAgICAgICAgICB0cmFuc2xhdGUoWzAscGl2b3RSYWRpdXNdKXsKICAgICAgICAgICAgICAgICAgICBjaXJjbGUocGl2b3RSYWRpdXMpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgc3F1YXJlKFtwaXZvdFJhZGl1cyxwaXZvdFJhZGl1c10pOwogICAgICAgICAgICAgICAgYmFzZSgpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGxpbmVhcl9leHRydWRlKGhpbmdlTGVuZ3RoKXsKICAgICAgICAgICAgYmFzZSgpOwogIC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gICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==
Other than snippets, I'm definitely open to general feed back,
especially low hanging fruit and quick wins, though bear in mind there are
a number of things that still are not yet built out which are planned.
- Hope to have better editor support/ syntax highlighting
- Add stl export as well, that will also make the mesh viewable in the
viewer panel
- Want to add customizer support
- Want to add more camera controls (orthogonal plus snap to top, side
view etc)
- Want to add multi file support
- Would like to add the the popular libraries listed on openscad.org
Sent from the OpenSCAD mailing list archive
http://forum.openscad.org/ at Nabble.com.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Also in the src you will find a binding to a C renderer that chats to the
Elixir back end. On the front end a transpiler thing. Lots of stuff going
on. Is all parallel blah blah blah.
On Mon, Mar 22, 2021 at 5:08 AM Damien Towning <connolly.damien@gmail.com>
wrote:
> Seems to be a lot of this going about. Been here. Done this already. Have
> opinions and lots to say but not much time to say it at the moment. Web
> Assembly absolutely. In my gitlab you will find some web assembly that got
> as far bringing up the OpenSCAD Scintilla widget.
>
> https://gitlab.com/mixotricha/elixir-makertron
>
> My documentation is long out of date and my thinking has changed a lot.
> Want to solve a useful problem to do with rendering in the browser if you
> have not done it already. Implement the Gold Feather.
>
> On Mon, Mar 22, 2021 at 5:04 AM Damien Towning <connolly.damien@gmail.com>
> wrote:
>
>> https://youtu.be/wIusBhMG2yk :)
>>
>> On Mon, Mar 22, 2021 at 12:37 AM Kevin Toppenberg <kdtop3@gmail.com>
>> wrote:
>>
>>> This is an awesome concept.
>>>
>>> In the world of web assembly, would it be possible for the rendering to
>>> be done in the browser by downloading web assembly for the OpenScad C code
>>> renderer?
>>>
>>> KT
>>>
>>> On Sun, Mar 21, 2021 at 4:36 AM irevdev via Discuss <
>>> discuss@lists.openscad.org> wrote:
>>>
>>>> I'm very happy with progress that's been made on the OpenSCAD live
>>>> editor. It's far from done, but it's at the point where I early feedback
>>>> would be useful.
>>>>
>>>> Obviously this always be more frustrating to use than the desktop, but
>>>> one thing that I envision it being useful for straight away is for sharing
>>>> snippets, which is why I added the ability to encode the script into the
>>>> url with the "Copy link" button. I figure the forum is a great place for
>>>> that to get some use, so next time you're about to share a snippet, maybe
>>>> try pasting it into the Cadhub editor and than pasting the link instead.
>>>>
>>>> The editor is here: https://cadhub.xyz/dev-ide
>>>> And here a link to a simple hinge I made
>>>> <https://cadhub.xyz/dev-ide#encoded_script=cGl2b3REaWFtZXRlcj04OwpwaW5EaWFtZXRlcj01OwpiYXNlVGhpY2tuZXNzPTM7CmhpbmdlV2lkdGg9MTU7CmhpbmdlTGVuZ3RoPTMwOwoKaG9sZURpYW1ldGVyID0gMzsKaG9sZUNvdW50ID0gMzsKaG9sZURpc3RhbmNlRnJvbUVkZ2UgPSA0Owp0b2xlcmFuY2U9MC4yOwpyb3VuZGluZ1I9MTsKCnBpdm90UmFkaXVzPXBpdm90RGlhbWV0ZXIvMjsKcGluUmFkaXVzID0gcGluRGlhbWV0ZXIvMjsKCiRmbj0yMDsKbW9kdWxlIGhpbmdlQm9keSgpIHsKICAgIHJvdGF0ZShbOTAsMCwwXSl7CiAgICAgICAgbGluZWFyX2V4dHJ1ZGUoaGluZ2VMZW5ndGgvMi10b2xlcmFuY2UvMil7CiAgICAgICAgICAgIG9mZnNldChyb3VuZGluZ1Ipb2Zmc2V0KC1yb3VuZGluZ1IqMilvZmZzZXQocm91bmRpbmdSKXVuaW9uKCl7CiAgICA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YXRlKFstOTAqc2hvdWxkRmxpcCwwLDBdKXsKICAgICAgICAgICAgY3lsaW5kZXIocjE9cGluUmFkaXVzK29mZnNldCwgcjI9cGluUmFkaXVzKzAuMjUrb2Zmc2V0LCBoPWhpbmdlTGVuZ3RoLzIrMC4xKTsKICAgICAgICB9CiAgICB9Cn0KCm1vZHVsZSBoYWxmTWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgdW5pb24oKSB7CiAgICAgICAgICAgIGhpbmdlQm9keSgpOwogICAgICAgICAgICBwaW4oKTsKICAgICAgICB9CiAgICAgICAgbW91bnRpbmdIb2xlcygpOwogICAgfQp9Cgptb2R1bGUgaGFsZkZlbWFsZSgpIHsKICAgIGRpZmZlcmVuY2UoKSB7CiAgICAgICAgaGluZ2VCb2R5KCk7CiAgICAgICAgcGluKHNob3VsZEZsaXAgPSAxLCBvZmZzZXQgPSB0b2xlcmFuY2UpOwogICAgICAgIG1vdW50aW5nSG9sZXMoKTsKICAgIH0KfQoKaGFsZk1hbGUoKTsKCnRyYW5zbGF0ZShbMCwtaGluZ2VMZW5ndGgsMF0pewogICAgcm90YXRlKFswLDAsMTgwXSl7CiAgICAgICAgI2hhbGZGZW1hbGUoKTsKICAgIH0KfQ==>
>>>>
>>>> Other than snippets, I'm definitely open to general feed back,
>>>> especially low hanging fruit and quick wins, though bear in mind there are
>>>> a number of things that still are not yet built out which are planned.
>>>>
>>>> - Hope to have better editor support/ syntax highlighting
>>>> - Add stl export as well, that will also make the mesh viewable in the
>>>> viewer panel
>>>> - Want to add customizer support
>>>> - Want to add more camera controls (orthogonal plus snap to top, side
>>>> view etc)
>>>> - Want to add multi file support
>>>> - Would like to add the the popular libraries listed on openscad.org
>>>> ------------------------------
>>>> Sent from the OpenSCAD mailing list archive
>>>> <http://forum.openscad.org/> at Nabble.com.
>>>> _______________________________________________
>>>> OpenSCAD mailing list
>>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>
>>
>>
>> --
>> Damien Towning
>>
>>
>>
>
>
> --
> Damien Towning
>
>
>
--
Damien Towning