SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Level of detail of imported files, (by Rune)
Hi, I import two identical cylinders, one was zoomed out and the other zoomed in when saved. The file test.slvs shows that the zoomed out is like hexagonal instead of sperical (a large problem for my 3D printing). I cannot find the part of the code that controls this, as I thought it would be reasonable to have an option of fixing the rendering detail to a given number when exporting. Alternatively I think it would be good to be able to re-render when importing. Could you please guide me to where in the code I should insert control of the rendering before save?
See attachment.
Thanks
Sat Dec 13 2014, 09:50:08, download attachment Design.zip
(no subject) (by Rune)
My proposed solution is in the SaveToFile method.

First we apply a costumizable zoom factor.
GenerateAll
save
and reapply the old zoom.
Experimental implementation here:https://github.com/ThorsenRune/solvespace
Tue Dec 16 2014, 05:41:35
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2018 SolveSpace contributors. Most recent update Nov 22 2018.