Comments (1)
Unfortunately I don't see a way of achieving that, as I'm again just relying on the provided features by the 3rd party libraries I'm using.
I agree, that trying to get a square with a certain feature (city, summit) in the exact center of a model might be tedious currently. But currently I prefer simplicity (even if it means lesser features) over complexity (having many features).
I can think of the potential workarounds / approaches to mitigate this:
- Draw the rectangle intentionally rectangular (not squared) with one overly exaggerated long side while enabling the "Squared model output" feature to force the mapa algorithm to cut the long side. That way, it might be possible to better eyeball the actual center of the resulting output STL file.
- Manually construct a bounding box geometry and directly pass it to the
mapa.convert_bbox_to_stl
method. - Post-process the mapa output STL file using other 3rd party software like e.g. blender to cut out the desired section of the model.
Leaving this issue open, in case someone comes up with an other idea of how to remedy this.
from mapa.
Related Issues (12)
- feature request: tiled area HOT 6
- Z-value slider too sensitive HOT 1
- edge between 3d-surface mesh and side triangles not connected
- Units HOT 5
- Bug: bottom surface not connected HOT 13
- feature request: display version-number in app HOT 3
- feature request: rotate selection HOT 1
- No update on area change HOT 3
- Geometry simplification HOT 1
- PreView HOT 1
- odd y-axis scaling of output .stl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapa.