discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

should I care? command line render vs. doing in app

JD
Jerry Davis
Wed, Dec 14, 2016 5:58 PM

I rendered a model and saved to an stl file (call it a.stl)
I did a command line render to (call it b.stl)

When I do a diff, the entire file differs. But when I bring it in to a 3rd
party slicer they look the same.

So should I even care? Really?

I thought they would be the same but they weren't, and I am curious why?
Especially since they look the same in a slicer.

Jerry

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

I rendered a model and saved to an stl file (call it a.stl) I did a command line render to (call it b.stl) When I do a diff, the entire file differs. But when I bring it in to a 3rd party slicer they look the same. So should I even care? Really? I thought they would be the same but they weren't, and I am curious why? Especially since they look the same in a slicer. Jerry -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Openscad developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov
NH
nop head
Wed, Dec 14, 2016 6:12 PM

They may be the exactly the same geometry but in a different order.

OpenScad outputs the vertices and facets in an order that depends on
machine addresses. I run all mine through a Python script that sorts them,
so that they can be compared for real differences.
https://github.com/nophead/Mendel90/blob/master/c14n_stl.py

On 14 December 2016 at 17:58, Jerry Davis jdawgaz@gmail.com wrote:

I rendered a model and saved to an stl file (call it a.stl)
I did a command line render to (call it b.stl)

When I do a diff, the entire file differs. But when I bring it in to a 3rd
party slicer they look the same.

So should I even care? Really?

I thought they would be the same but they weren't, and I am curious why?
Especially since they look the same in a slicer.

Jerry

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

They may be the exactly the same geometry but in a different order. OpenScad outputs the vertices and facets in an order that depends on machine addresses. I run all mine through a Python script that sorts them, so that they can be compared for real differences. https://github.com/nophead/Mendel90/blob/master/c14n_stl.py On 14 December 2016 at 17:58, Jerry Davis <jdawgaz@gmail.com> wrote: > I rendered a model and saved to an stl file (call it a.stl) > I did a command line render to (call it b.stl) > > When I do a diff, the entire file differs. But when I bring it in to a 3rd > party slicer they look the same. > > So should I even care? Really? > > I thought they would be the same but they weren't, and I am curious why? > Especially since they look the same in a slicer. > > Jerry > > -- > Extra Ham Operator: K7AZJ > Registered Linux User: 275424 > Raspberry Pi and Openscad developer > > > *The most exciting phrase to hear in science - the one that heralds new > discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >
JD
Jerry Davis
Wed, Dec 14, 2016 6:23 PM

thanks, it worked. and thanks for the explanation.

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

On Wed, Dec 14, 2016 at 11:12 AM, nop head nop.head@gmail.com wrote:

They may be the exactly the same geometry but in a different order.

OpenScad outputs the vertices and facets in an order that depends on
machine addresses. I run all mine through a Python script that sorts them,
so that they can be compared for real differences. https://github.
com/nophead/Mendel90/blob/master/c14n_stl.py

On 14 December 2016 at 17:58, Jerry Davis jdawgaz@gmail.com wrote:

I rendered a model and saved to an stl file (call it a.stl)
I did a command line render to (call it b.stl)

When I do a diff, the entire file differs. But when I bring it in to a
3rd party slicer they look the same.

So should I even care? Really?

I thought they would be the same but they weren't, and I am curious why?
Especially since they look the same in a slicer.

Jerry

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Openscad developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

thanks, it worked. and thanks for the explanation. -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Openscad developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov On Wed, Dec 14, 2016 at 11:12 AM, nop head <nop.head@gmail.com> wrote: > They may be the exactly the same geometry but in a different order. > > OpenScad outputs the vertices and facets in an order that depends on > machine addresses. I run all mine through a Python script that sorts them, > so that they can be compared for real differences. https://github. > com/nophead/Mendel90/blob/master/c14n_stl.py > > On 14 December 2016 at 17:58, Jerry Davis <jdawgaz@gmail.com> wrote: > >> I rendered a model and saved to an stl file (call it a.stl) >> I did a command line render to (call it b.stl) >> >> When I do a diff, the entire file differs. But when I bring it in to a >> 3rd party slicer they look the same. >> >> So should I even care? Really? >> >> I thought they would be the same but they weren't, and I am curious why? >> Especially since they look the same in a slicer. >> >> Jerry >> >> -- >> Extra Ham Operator: K7AZJ >> Registered Linux User: 275424 >> Raspberry Pi and Openscad developer >> >> >> *The most exciting phrase to hear in science - the one that heralds new >> discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> >> > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >
MV
Maurice van Peursem
Wed, Dec 14, 2016 6:34 PM

There is a small error in your script, line 35 should be:

             self.vertices = (v3, v2, v1)    #v3 is the smallest

Maurice

They may be the exactly the same geometry but in a different order.

OpenScad outputs the vertices and facets in an order that depends on
machine addresses. I run all mine through a Python script that sorts
them, so that they can be compared for real
differences. https://github.com/nophead/Mendel90/blob/master/c14n_stl.pyhttps://github.com/nophead/Mendel90/blob/master/c14n_stl.py

There is a small error in your script, line 35 should be: self.vertices = (v3, v2, v1) #v3 is the smallest Maurice >They may be the exactly the same geometry but in a different order. > >OpenScad outputs the vertices and facets in an order that depends on >machine addresses. I run all mine through a Python script that sorts >them, so that they can be compared for real >differences. <https://github.com/nophead/Mendel90/blob/master/c14n_stl.py>https://github.com/nophead/Mendel90/blob/master/c14n_stl.py >