Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3d STL height differences #79

Open
jerryhalstead opened this issue Jul 16, 2023 · 4 comments
Open

3d STL height differences #79

jerryhalstead opened this issue Jul 16, 2023 · 4 comments

Comments

@jerryhalstead
Copy link

I'm creating two versions of (ideally) the same terrain stl, except one of them has a gpx file. Even though they have the same settings, the STLs aren't the same height: the "plain" stl being 47.09391mm while the one with gpx "notch" (using negative gpxPathHeight) ends up taller at 47.45476mm.

What I end up doing with them is bringing into Blender to perform a boolean subtraction that extracts the gpx "trails" (image attached). Then I can combine that with the "notched" terrain file in 3dPrinter slicer to print in separate colors.

I can get it working, with some manual tweaking and post processing of the STLs, just thought I'd report the issue in case it's something that can be fixed or controlled (like passing in a max height in mm?).

Or, even better, an option to output two STLs: the base "notched" terrain and the part that was removed (i.e. the trail). That would be sweet.

logfile.txt
logfile.txt
Screenshot 2023-07-16 at 2 29 31 PM

@Maxvi33
Copy link

Maxvi33 commented Dec 27, 2023

Hello,
You succeed ?
I'l trying to do exactly same thing to print in 3d tbut substraction boolen in fusion 360 its hard with stl.. and the difference of heights generate dont help me :)

PS: your gpx looks good, me, i lost in resolution :(

@ChHarding
Copy link
Owner

ChHarding commented Dec 29, 2023 via email

@Maxvi33
Copy link

Maxvi33 commented Dec 30, 2023

Hello, thanks for your answer & help 🙂
So good if you are working on an alternative. I Can help if needed !

For my part, i succeeded a little:
IMG-20231229-WA0000
(moreover, with the same DEM and parameters, on the standalone script (touchterrain_standalone.py) i generate an entire tile but with Jupyter(TouchTerrain_standalone_jupyter_notebook.ipynb), I generate the coast cut out as above)

But the ideal +++ would be to be able to generate a .step to use it directly in CAD software 🥹

A bientôt
Max

@ChHarding
Copy link
Owner

ChHarding commented Jan 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants