jreiberkyle/jupyterscad

grid (almost) becomes plane with bigger objects

jeff-dh opened this issue · 3 comments

The grid size for the x-, y-, and z-plane seem to be constant (probably 1?) and if a bigger object is rendered with jupyterscad the grids (almost) look like planes.

grid_almost_becomes_plane

(if you zoom out a little more the grids really look like planes)

I think the cell size of the grid should somehow scale with the model or at least be increased.

The image renders this example from the solid2 repo.

Found grid_unit..... but wondering whether some automatic "detection" of a good grid unit would be cool?

Something based on mesh.min_ and mesh.max_?

For the future, absolutely automatic detection would be great. For now, I can elevate awareness of the grid_unit parameter to where render and visualize_stl are introduced.

closed by #16