Christmas wish list

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Christmas wish list

nophead
A couple of things are making updates to Mendel90 a nightmare at the moment. The fact the STLs change each time they are generated makes it very difficult to know what has actually changed with a fully parametric design. Git thinks they have all changed because the order of the points is non-deterministic  I can't simply check them all into github because it treats them as text and the number of differences causes a timeout, so no changes can be seen for the whole commit.

I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?

The other killer is not having a command line way of making pngs for the manual. I have dozens of assembly diagrams and changing a single thing like the pulley type can appear in lots of them. That together with the fact that I have three configurations of the machine makes a simple change a lot of manual work. Simply defaulting the filename to the name of the scad file as is done with STLs would be a big improvement. Having a command line version would mean the manual automatically updates as the stls, dxfs and bom do.



 
Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

kintel
Administrator
Hi Chris,

It's closing in, so let's see what's under the tree this year ;)

> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>
CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
Could you use e.g. https://cubehero.com to help dealing with differences?

> The other killer is not having a command line way of making pngs for the manual.

Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.

Cheers and happy holidays!

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

Christopher Olah
I realize that you're asking about OpenSCAD, but it seems worth
mentioning that ImplicitCAD is mostly backwards compatible with
OpenSCAD and solves both of these issues.

Triangle meshes are fully deterministic.

We also have a built in ray tracer that can produce pretty pictures.

Chris

On Mon, Dec 24, 2012 at 9:52 AM, Marius Kintel <[hidden email]> wrote:

> Hi Chris,
>
> It's closing in, so let's see what's under the tree this year ;)
>
>> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>>
> CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
> Could you use e.g. https://cubehero.com to help dealing with differences?
>
>> The other killer is not having a command line way of making pngs for the manual.
>
> Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
> In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.
>
> Cheers and happy holidays!
>
>  -Marius
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

nophead
In reply to this post by kintel


On 24 December 2012 14:52, Marius Kintel <[hidden email]> wrote:
Hi Chris,

It's closing in, so let's see what's under the tree this year ;)

> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>
CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
Could you use e.g. https://cubehero.com to help dealing with differences?

> The other killer is not having a command line way of making pngs for the manual.

Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.

 
So could I just use scad2png then? Could it be distributed with openscad?

 
Cheers and happy holidays!

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

nophead
In reply to this post by Christopher Olah


On 24 December 2012 15:03, Christopher Olah <[hidden email]> wrote:
I realize that you're asking about OpenSCAD, but it seems worth
mentioning that ImplicitCAD is mostly backwards compatible with
OpenSCAD and solves both of these issues.

Triangle meshes are fully deterministic.

We also have a built in ray tracer that can produce pretty pictures.

Sounds good. I will have to look into it. I must admit I didn't realise it had an openscad syntax as well as Haskell.
 

Chris

On Mon, Dec 24, 2012 at 9:52 AM, Marius Kintel <[hidden email]> wrote:
> Hi Chris,
>
> It's closing in, so let's see what's under the tree this year ;)
>
>> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>>
> CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
> Could you use e.g. https://cubehero.com to help dealing with differences?
>
>> The other killer is not having a command line way of making pngs for the manual.
>
> Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
> In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.
>
> Cheers and happy holidays!
>
>  -Marius
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

Christopher Olah
> Sounds good. I will have to look into it. I must admit I didn't realise it
> had an openscad syntax as well as Haskell.

:)

I'll be doing a list post about the latest stuff in ImplicitCAD in the
next few days, but for now you might want to look at
www.implicitcad.org, if you haven't already. You can see some
raytraced pictures at www.implicitcad.org/examples .

Also, we have some neat github integration. For example:
http://implicitcad.org/url/editor/github.com/nathan7/nateplate/raw/master/nateplate.escad
Sadly it doesn't work with Mendel90 because we only pull one file
right now, but in the future....

Chris

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

nophead


On 24 December 2012 15:47, Christopher Olah <[hidden email]> wrote:
> Sounds good. I will have to look into it. I must admit I didn't realise it
> had an openscad syntax as well as Haskell.

:)

I'll be doing a list post about the latest stuff in ImplicitCAD in the
next few days, but for now you might want to look at
www.implicitcad.org, if you haven't already. You can see some
raytraced pictures at www.implicitcad.org/examples .

Also, we have some neat github integration. For example:
http://implicitcad.org/url/editor/github.com/nathan7/nateplate/raw/master/nateplate.escad
Sadly it doesn't work with Mendel90 because we only pull one file
right now, but in the future....

That last link doesn't work for me in Chrome it just displays the source as text.
 

Chris
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

nophead
I also didn't get very far installing it on WinXP:

src\System\Plugins\Consts.hs:39:23:
    lexical error in string/character literal at character 'P'

Googling it I found somebody else on your blog had the same problem. Did you find a solution?

On 24 December 2012 15:53, nop head <[hidden email]> wrote:


On 24 December 2012 15:47, Christopher Olah <[hidden email]> wrote:
> Sounds good. I will have to look into it. I must admit I didn't realise it
> had an openscad syntax as well as Haskell.

:)

I'll be doing a list post about the latest stuff in ImplicitCAD in the
next few days, but for now you might want to look at
www.implicitcad.org, if you haven't already. You can see some
raytraced pictures at www.implicitcad.org/examples .

Also, we have some neat github integration. For example:
http://implicitcad.org/url/editor/github.com/nathan7/nateplate/raw/master/nateplate.escad
Sadly it doesn't work with Mendel90 because we only pull one file
right now, but in the future....

That last link doesn't work for me in Chrome it just displays the source as text.
 

Chris
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

Bryan Bishop
In reply to this post by kintel
On Mon, Dec 24, 2012 at 8:52 AM, Marius Kintel <[hidden email]> wrote:
Could you use e.g. https://cubehero.com to help dealing with differences?

Unfortunately, cubehero is not open source. That's not an actual solution in this case.

- Bryan
http://heybryan.org/
1 512 203 0507
Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

Peter Shenkin
In reply to this post by Christopher Olah
Chris,

Maybe this post is out of place on an OpenSCAD forum, but as a followup...

I've been looking at the ImplicitCAD web site and it looks interesting.

Is there a list of OpenSCAD operations missing from ImplicitCAD?

For example, I tried one of my designs on the implicitCAD "Try It
Online!" page, and discovered there is no minkowski().

"Having seen one tiger in the woods, may the woods not be full of tigers?"

-P.

On Mon, Dec 24, 2012 at 10:03 AM, Christopher Olah
<[hidden email]> wrote:

> I realize that you're asking about OpenSCAD, but it seems worth
> mentioning that ImplicitCAD is mostly backwards compatible with
> OpenSCAD and solves both of these issues.
>
> Triangle meshes are fully deterministic.
>
> We also have a built in ray tracer that can produce pretty pictures.
>
> Chris
>
> On Mon, Dec 24, 2012 at 9:52 AM, Marius Kintel <[hidden email]> wrote:
>> Hi Chris,
>>
>> It's closing in, so let's see what's under the tree this year ;)
>>
>>> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>>>
>> CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
>> Could you use e.g. https://cubehero.com to help dealing with differences?
>>
>>> The other killer is not having a command line way of making pngs for the manual.
>>
>> Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
>> In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.
>>
>> Cheers and happy holidays!
>>
>>  -Marius
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

Christopher Olah
Hey Peter!

That's an excellent question. Sadly, there are a number of things we
don't yet support (and it seems unlikely we will ever support
minkowski). The best I can offer is this thread on our mailing list
about OpenSCAD compatibility:
https://groups.google.com/forum/?fromgroups=#!topic/implicitcad/NdTrjDLICto

If you are using minkowski for the purposes of rounding, you might
look into our rounded CSG, extrusions, and primitives instead.

We're working on a new release, at which point I'll write a big post
to this list and try to cover all the differences and issues. :)

Chris

On Mon, Dec 24, 2012 at 12:26 PM, Peter Shenkin <[hidden email]> wrote:

> Chris,
>
> Maybe this post is out of place on an OpenSCAD forum, but as a followup...
>
> I've been looking at the ImplicitCAD web site and it looks interesting.
>
> Is there a list of OpenSCAD operations missing from ImplicitCAD?
>
> For example, I tried one of my designs on the implicitCAD "Try It
> Online!" page, and discovered there is no minkowski().
>
> "Having seen one tiger in the woods, may the woods not be full of tigers?"
>
> -P.
>
> On Mon, Dec 24, 2012 at 10:03 AM, Christopher Olah
> <[hidden email]> wrote:
>> I realize that you're asking about OpenSCAD, but it seems worth
>> mentioning that ImplicitCAD is mostly backwards compatible with
>> OpenSCAD and solves both of these issues.
>>
>> Triangle meshes are fully deterministic.
>>
>> We also have a built in ray tracer that can produce pretty pictures.
>>
>> Chris
>>
>> On Mon, Dec 24, 2012 at 9:52 AM, Marius Kintel <[hidden email]> wrote:
>>> Hi Chris,
>>>
>>> It's closing in, so let's see what's under the tree this year ;)
>>>
>>>> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>>>>
>>> CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
>>> Could you use e.g. https://cubehero.com to help dealing with differences?
>>>
>>>> The other killer is not having a command line way of making pngs for the manual.
>>>
>>> Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
>>> In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.
>>>
>>> Cheers and happy holidays!
>>>
>>>  -Marius
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Christmas wish list

Peter Shenkin
Thanks!  -P.

On Mon, Dec 24, 2012 at 1:50 PM, Christopher Olah
<[hidden email]> wrote:

> Hey Peter!
>
> That's an excellent question. Sadly, there are a number of things we
> don't yet support (and it seems unlikely we will ever support
> minkowski). The best I can offer is this thread on our mailing list
> about OpenSCAD compatibility:
> https://groups.google.com/forum/?fromgroups=#!topic/implicitcad/NdTrjDLICto
>
> If you are using minkowski for the purposes of rounding, you might
> look into our rounded CSG, extrusions, and primitives instead.
>
> We're working on a new release, at which point I'll write a big post
> to this list and try to cover all the differences and issues. :)
>
> Chris
>
> On Mon, Dec 24, 2012 at 12:26 PM, Peter Shenkin <[hidden email]> wrote:
>> Chris,
>>
>> Maybe this post is out of place on an OpenSCAD forum, but as a followup...
>>
>> I've been looking at the ImplicitCAD web site and it looks interesting.
>>
>> Is there a list of OpenSCAD operations missing from ImplicitCAD?
>>
>> For example, I tried one of my designs on the implicitCAD "Try It
>> Online!" page, and discovered there is no minkowski().
>>
>> "Having seen one tiger in the woods, may the woods not be full of tigers?"
>>
>> -P.
>>
>> On Mon, Dec 24, 2012 at 10:03 AM, Christopher Olah
>> <[hidden email]> wrote:
>>> I realize that you're asking about OpenSCAD, but it seems worth
>>> mentioning that ImplicitCAD is mostly backwards compatible with
>>> OpenSCAD and solves both of these issues.
>>>
>>> Triangle meshes are fully deterministic.
>>>
>>> We also have a built in ray tracer that can produce pretty pictures.
>>>
>>> Chris
>>>
>>> On Mon, Dec 24, 2012 at 9:52 AM, Marius Kintel <[hidden email]> wrote:
>>>> Hi Chris,
>>>>
>>>> It's closing in, so let's see what's under the tree this year ;)
>>>>
>>>>> I have to compare the rendered pngs, but that can give false negatives as the change may not be visible in the arbitrary view. Does anybody know of a  cross platform command line utility that will normalise an STL or can this bug be fixed easily?
>>>>>
>>>> CGAL is responsible for the order of tessellation, so this isn't a trivial fix. Some kind of normalization would be a good idea.
>>>> Could you use e.g. https://cubehero.com to help dealing with differences?
>>>>
>>>>> The other killer is not having a command line way of making pngs for the manual.
>>>>
>>>> Yes, this has turned out to be tricky to get to work cross-platform (https://github.com/openscad/openscad/issues/11).
>>>> In the end, it's perhaps easier to have separate cmd-line tools for png generation. The test suite already has cmd-line tools for scad2png, both for OpenCSG and CGAL rendering, so we know it's possible though.
>>>>
>>>> Cheers and happy holidays!
>>>>
>>>>  -Marius
>>>>
>>>> _______________________________________________
>>>> OpenSCAD mailing list
>>>> [hidden email]
>>>> http://rocklinux.net/mailman/listinfo/openscad
>>>> http://openscad.org - https://flattr.com/thing/121566
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> [hidden email]
>>> http://rocklinux.net/mailman/listinfo/openscad
>>> http://openscad.org - https://flattr.com/thing/121566
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566