jawensi / DEMto3D-QGIS-Plugin

Extensión GIS para impresión 3D de MDE
http://demto3d.com/
52 stars 23 forks source link

[Feature request] Do not export rectangular pedestal #34

Closed kubark42 closed 1 year ago

kubark42 commented 1 year ago

Request

Give option not to export rectangular pedestal.

Description

When I export, I invariably get a pedestal around non-rectangular parts:

Screen Shot 2022-12-22 at 10 59 44 AM

I wish to print without this excess material. I have tried making the base height be negative, but all this does is remove material inside the extents, but still leaves a very thin pedestal layer:

Screen Shot 2022-12-22 at 11 04 01 AM

Ideally, this would result in the following STL:

Screen Shot 2022-12-22 at 11 05 23 AM
kubark42 commented 1 year ago

I've been poking around at the code, but my python isn't very advanced and there aren't many comments which describe what I think I'm looking for. However, it looks like it might be in this area: https://github.com/jawensi/DEMto3D-QGIS-Plugin/blob/2ab70aff555a764981a87df7834bb59e8c942d69/model_builder/Model_Builder.py#L324

jawensi commented 1 year ago

Currently it is not possible to cut the model in a specific height, resulting in a contour cut. DEMto3D only works with rectangular models since it works with raster data, not vector. It is a good feature that I would like to develop in the future. To cut the model I recommend you to use the software 3d Builder. It is easy to use.