discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

extrude to center

M
MichaelAtOz
Mon, Feb 20, 2017 12:43 AM

Carsten, interestring pattern your code generates, not in the thingiverse
stl;
http://forum.openscad.org/file/n20499/earth_fixed_pattern.jpg


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/extrude-to-center-tp20432p20499.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Carsten, interestring pattern your code generates, not in the thingiverse stl; <http://forum.openscad.org/file/n20499/earth_fixed_pattern.jpg> ----- 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/extrude-to-center-tp20432p20499.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Mon, Feb 20, 2017 12:56 AM

MichaelAtOz wrote

not in the thingiverse stl;

...well there is a different pattern;
http://forum.openscad.org/file/n20500/earth_tv.jpg


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/extrude-to-center-tp20432p20500.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

MichaelAtOz wrote > not in the thingiverse stl; ...well there is a different pattern; <http://forum.openscad.org/file/n20500/earth_tv.jpg> ----- 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/extrude-to-center-tp20432p20500.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
juerg.maier
Mon, Feb 20, 2017 6:56 AM

thanks for all the help. Will be out today but will have a look at the files
soon.

@Michael. Could not follow your statements. Your first picture shows some
funny stuctures on the see part? And how did you get the second better
looking result? Just fixing the stl with netfabb studio  basic?

--
View this message in context: http://forum.openscad.org/extrude-to-center-tp20432p20504.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

thanks for all the help. Will be out today but will have a look at the files soon. @Michael. Could not follow your statements. Your first picture shows some funny stuctures on the see part? And how did you get the second better looking result? Just fixing the stl with netfabb studio basic? -- View this message in context: http://forum.openscad.org/extrude-to-center-tp20432p20504.html Sent from the OpenSCAD mailing list archive at Nabble.com.
A
arnholm@arnholm.org
Mon, Feb 20, 2017 8:54 AM

On 2017-02-20 01:35, MichaelAtOz wrote:

"repaired"??

Thanks for your input. It worked, yes.

Carsten Arnholm

On 2017-02-20 01:35, MichaelAtOz wrote: > "repaired"?? Thanks for your input. It worked, yes. Carsten Arnholm
A
arnholm@arnholm.org
Mon, Feb 20, 2017 9:09 AM

On 2017-02-20 01:43, MichaelAtOz wrote:

Carsten, interestring pattern your code generates, not in the
thingiverse
stl;
http://forum.openscad.org/file/n20499/earth_fixed_pattern.jpg

The pattern originates from the thingiverse STL as you observed. The
repair process may have modified it slightly, but does not initiate such
patterns. The sphere that was subtracted has a different pattern.

Carsten Arnholm

On 2017-02-20 01:43, MichaelAtOz wrote: > Carsten, interestring pattern your code generates, not in the > thingiverse > stl; > <http://forum.openscad.org/file/n20499/earth_fixed_pattern.jpg> The pattern originates from the thingiverse STL as you observed. The repair process may have modified it slightly, but does not initiate such patterns. The sphere that was subtracted has a different pattern. Carsten Arnholm
M
MichaelAtOz
Mon, Feb 20, 2017 10:24 AM

cacb wrote

On 2017-02-20 01:35, MichaelAtOz wrote:

"repaired"??

Thanks for your input. It worked, yes.

Well, maybe worked, but by what definition.

The image above (with meshlab in the window title), is the "repaired" stl.
In Meshlab, showing 42 non-manifold edges, with 166 faces on them, then all
the coloured bit are the preview of self-intersections.
A stl with self-intersections & non-manifold edges as not "repaired".

The second one, "interestring pattern your code generates" is a view in
Netfabb, note the small yellow bits, those are holes, not good. (there are
no holes in the thingiverse original)


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/extrude-to-center-tp20432p20508.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

cacb wrote > On 2017-02-20 01:35, MichaelAtOz wrote: >> "repaired"?? > > Thanks for your input. It worked, yes. Well, maybe worked, but by what definition. The image above (with meshlab in the window title), is the "repaired" stl. In Meshlab, showing 42 non-manifold edges, with 166 faces on them, then all the coloured bit are the preview of self-intersections. A stl with self-intersections & non-manifold edges as not "repaired". The second one, "interestring pattern your code generates" is a view in Netfabb, note the small yellow bits, those are holes, not good. (there are no holes in the thingiverse original) ----- 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/extrude-to-center-tp20432p20508.html Sent from the OpenSCAD mailing list archive at Nabble.com.
A
arnholm@arnholm.org
Mon, Feb 20, 2017 10:46 AM

On 2017-02-20 11:24, MichaelAtOz wrote:

cacb wrote

On 2017-02-20 01:35, MichaelAtOz wrote:

"repaired"??

Thanks for your input. It worked, yes.

Well, maybe worked, but by what definition.

By the definition that I was able to make a difference, giving a
reasonable result. I tried various ways to do the same in OpenSCAD but
without any success. Perhaps you can demonstrate how to do it, I am
truly interested in any better way to do such things.

Carsten Arnholm

On 2017-02-20 11:24, MichaelAtOz wrote: > cacb wrote >> On 2017-02-20 01:35, MichaelAtOz wrote: >>> "repaired"?? >> >> Thanks for your input. It worked, yes. > > Well, maybe worked, but by what definition. By the definition that I was able to make a difference, giving a reasonable result. I tried various ways to do the same in OpenSCAD but without any success. Perhaps you can demonstrate how to do it, I am truly interested in any better way to do such things. Carsten Arnholm
J
juerg.maier
Mon, Feb 20, 2017 8:03 PM

After giving many unsuccessful tries I am asking now from the originator
whether the data source used to create the complete globe could also be
used to generate a land-globe only.
I think because some land parts can be below sea level and some very
slightly above a good representation can not be accomplished by simply
subtracting a sea-sphere from the complete globe.
And I would still need a thickness addition for the land parts to make them
printable with a FDM printer.
Carsten has shown me that Meshmixer has an Offset-function to thicken the
land parts but the result looks rather rough or not very detailed to me?

--
View this message in context: http://forum.openscad.org/extrude-to-center-tp20432p20513.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

After giving many unsuccessful tries I am asking now from the originator whether the data source used to create the complete globe could also be used to generate a land-globe only. I think because some land parts can be below sea level and some very slightly above a good representation can not be accomplished by simply subtracting a sea-sphere from the complete globe. And I would still need a thickness addition for the land parts to make them printable with a FDM printer. Carsten has shown me that Meshmixer has an Offset-function to thicken the land parts but the result looks rather rough or not very detailed to me? -- View this message in context: http://forum.openscad.org/extrude-to-center-tp20432p20513.html Sent from the OpenSCAD mailing list archive at Nabble.com.
CA
Carsten Arnholm
Mon, Feb 20, 2017 8:08 PM

On 20. feb. 2017 11:46, arnholm@arnholm.org wrote:

On 2017-02-20 11:24, MichaelAtOz wrote:

cacb wrote

On 2017-02-20 01:35, MichaelAtOz wrote:

"repaired"??

Thanks for your input. It worked, yes.

Well, maybe worked, but by what definition.

By the definition that I was able to make a difference, giving a
reasonable result. I tried various ways to do the same in OpenSCAD but
without any success. Perhaps you can demonstrate how to do it, I am
truly interested in any better way to do such things.

I had another go and found the reason for the hole artifacts that were
observed. The reason was that the original globe model was only 1mm in
radius, so my default coordinate tolerances were unsuitable.

By adjusting the coordinate tolerance to fit and repeating the process,
the result has no holes that I can find and also allowed subtraction of
a more refined sphere. The result is a much more recognizable outline of
e.g. Europe.

Obviously, the true shape of the earth at sea level is not a sphere but
a geoid, so this method is still a rough approximation.

https://www.expirebox.com/download/43215f41975555d30c66784b0f517875.html

Carsten Arnholm

On 20. feb. 2017 11:46, arnholm@arnholm.org wrote: > On 2017-02-20 11:24, MichaelAtOz wrote: >> cacb wrote >>> On 2017-02-20 01:35, MichaelAtOz wrote: >>>> "repaired"?? >>> >>> Thanks for your input. It worked, yes. >> >> Well, maybe worked, but by what definition. > > > By the definition that I was able to make a difference, giving a > reasonable result. I tried various ways to do the same in OpenSCAD but > without any success. Perhaps you can demonstrate how to do it, I am > truly interested in any better way to do such things. I had another go and found the reason for the hole artifacts that were observed. The reason was that the original globe model was only 1mm in radius, so my default coordinate tolerances were unsuitable. By adjusting the coordinate tolerance to fit and repeating the process, the result has no holes that I can find and also allowed subtraction of a more refined sphere. The result is a much more recognizable outline of e.g. Europe. Obviously, the true shape of the earth at sea level is not a sphere but a geoid, so this method is still a rough approximation. https://www.expirebox.com/download/43215f41975555d30c66784b0f517875.html Carsten Arnholm
CA
Carsten Arnholm
Mon, Feb 20, 2017 8:18 PM

On 20. feb. 2017 21:03, juerg.maier wrote:

After giving many unsuccessful tries I am asking now from the originator
whether the data source used to create the complete globe could also be
used to generate a land-globe only.
I think because some land parts can be below sea level and some very
slightly above a good representation can not be accomplished by simply
subtracting a sea-sphere from the complete globe.
And I would still need a thickness addition for the land parts to make them
printable with a FDM printer.
Carsten has shown me that Meshmixer has an Offset-function to thicken the
land parts but the result looks rather rough or not very detailed to me?

To be fair, it wasn't me who showed you that.

See the other comment with the new version I created.  I guess it is
possible to "extrude" the underside downwards, but it will have to
account for the offset centre.

offset = (0.437,-0.21,-0.312)
radius = 99.479

Carsten Arnholm

On 20. feb. 2017 21:03, juerg.maier wrote: > After giving many unsuccessful tries I am asking now from the originator > whether the data source used to create the complete globe could also be > used to generate a land-globe only. > I think because some land parts can be below sea level and some very > slightly above a good representation can not be accomplished by simply > subtracting a sea-sphere from the complete globe. > And I would still need a thickness addition for the land parts to make them > printable with a FDM printer. > Carsten has shown me that Meshmixer has an Offset-function to thicken the > land parts but the result looks rather rough or not very detailed to me? To be fair, it wasn't me who showed you that. See the other comment with the new version I created. I guess it is possible to "extrude" the underside downwards, but it will have to account for the offset centre. offset = (0.437,-0.21,-0.312) radius = 99.479 Carsten Arnholm