OpenJSCAD.org
OpenJSCAD.org copied to clipboard
Scale of basic view area
Expected Behavior
It should be possible to set init metrics of basic view area for example init_area(10000,10000,10000); or init_area(10000);
Actual Behavior
it is not possible to draw "big" models
Steps to Reproduce the Problem
just to run
function main () { return cube({size:[96,38,3000]}); }
it is not possibe to get whole model at view.
Specifications
- Version: actual at https://openjscad.org/
- Platform: Ubuntu 19.04 x64
- Environment: https://openjscad.org/ at Chrome 83.0.4103.61
@Evgsurf thanks for using JSCAD
FYI, the internal math is calibrated for 3D printing, including the boolean operations. Those large scale designs may have some issues. If so then try scaling objects and try again.
@z3dev thank you for fast answer. I try to use OpenJSCAD I very like it because:
- I am an programmer and I can use all power and force of my knowledge and JavaScript. For example I can calculate materials exactly at model. And I have not limitations of openSCAD.
- Most of times it is necessary to make very simple models and I do not need to install some heavy software.
- It is very ease to distribute models to other people
I see about 3D printing. Of couse I can use user software scaling. In my case, my friend ask me to make model of house frame. Usually people use millimeters (at old world :) ). So one board is cube({size:[96,38,3000]}); I use meters now - cube([0.038,0.096,3]) . It does work, but is not very comfortable. I think it would be very nice to define area for not "classic" size models.
Thank you for very nice software!
@Evgsurf thanks for the feedback ! by "basic view area" do you mean, the grid, the camera position, or both ?
@kaosat-dev I mean size of the grid. Camera position ... hmmm I do not need it, but it could be very good feature for online model presentation
@Evgsurf It should be possible to recalculate the grid size to be proportional to the shape. I was wondering... Do you have any thoughts on what proportions would be useful?
I was thinking the grid size should be...
- large enough to fit about the shape(s), possibly even 2X
- major grid lines should be multiples of 10 (10,100,1000,...)
- and 10 minor grid lines per major
The resizing of the grid has not been implemented so re-opening this issue.
@Evgsurf please see the new WEB UI at openjscad.xyz as there is now an option to 'auto zoom'. this should handle very large designs.