discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Set size of preview window?

D
droftarts
Mon, Dec 12, 2016 10:42 PM

I've been playing around with animating things in OpenSCAD, and even got to
the stage of 'Dumping' the picture, and stringing them together into a
movie. However, the vertical and horizontal resolution is set to whatever
size the preview window is, and there seems to be no accurate way of setting
it to standard sizes, for example 1280x720. I could scale and crop in a film
editing program, but I'd rather avoid that hassle and potential loss of
sharpness. So is there a way to set it natively in OpenSCAD?

--
View this message in context: http://forum.openscad.org/Set-size-of-preview-window-tp19554.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I've been playing around with animating things in OpenSCAD, and even got to the stage of 'Dumping' the picture, and stringing them together into a movie. However, the vertical and horizontal resolution is set to whatever size the preview window is, and there seems to be no accurate way of setting it to standard sizes, for example 1280x720. I could scale and crop in a film editing program, but I'd rather avoid that hassle and potential loss of sharpness. So is there a way to set it natively in OpenSCAD? -- View this message in context: http://forum.openscad.org/Set-size-of-preview-window-tp19554.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Mon, Dec 12, 2016 11:03 PM

On 12/12/2016 11:42 PM, droftarts wrote:

there seems to be no accurate way of setting it to standard
sizes, for example 1280x720. I could scale and crop in a film
editing program, but I'd rather avoid that hassle and potential
loss of sharpness. So is there a way to set it natively in
OpenSCAD?

No, there's no setting for that at the moment, we tried to add
this, but the Qt layouting caused quite some issues when trying
to set the viewport size.

As workaround the viewport size is just shown in the status
bar to allow manual adjustment (needs the snapshot version).

Longer term goal is to make this independent from the render
buffer so it would be possible to give any size supported by
GPU and/or driver.

ciao,
Torsten.

On 12/12/2016 11:42 PM, droftarts wrote: > there seems to be no accurate way of setting it to standard > sizes, for example 1280x720. I could scale and crop in a film > editing program, but I'd rather avoid that hassle and potential > loss of sharpness. So is there a way to set it natively in > OpenSCAD? > No, there's no setting for that at the moment, we tried to add this, but the Qt layouting caused quite some issues when trying to set the viewport size. As workaround the viewport size is just shown in the status bar to allow manual adjustment (needs the snapshot version). Longer term goal is to make this independent from the render buffer so it would be possible to give any size supported by GPU and/or driver. ciao, Torsten.
D
droftarts
Mon, Dec 12, 2016 11:15 PM

tp3 wrote

As workaround the viewport size is just shown in the status
bar to allow manual adjustment (needs the snapshot version).

Thanks, that would be a big help! I'll try the snapshot version when I get a
chance. I'm still on 2015.03 Mac. I'm guessing you can't cut and past the
viewport size like you can the translate/rotate/distance?

--
View this message in context: http://forum.openscad.org/Set-size-of-preview-window-tp19554p19558.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

tp3 wrote > As workaround the viewport size is just shown in the status > bar to allow manual adjustment (needs the snapshot version). Thanks, that would be a big help! I'll try the snapshot version when I get a chance. I'm still on 2015.03 Mac. I'm guessing you can't cut and past the viewport size like you can the translate/rotate/distance? -- View this message in context: http://forum.openscad.org/Set-size-of-preview-window-tp19554p19558.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jpmendes
Wed, Dec 14, 2016 5:01 PM

Maybe this thread may help a bit.

http://forum.openscad.org/Can-I-force-Animation-to-use-quot-Render-quot-instead-of-quot-Preview-quot-td14828.html#a14848
http://forum.openscad.org/Can-I-force-Animation-to-use-quot-Render-quot-instead-of-quot-Preview-quot-td14828.html#a14848

If you have cygwin or msys2 installed on windows or if running linux, you
may use the script on the thread above, provided by tp3.

Cheers,

jpmendes

--
View this message in context: http://forum.openscad.org/Set-size-of-preview-window-tp19554p19574.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Maybe this thread may help a bit. http://forum.openscad.org/Can-I-force-Animation-to-use-quot-Render-quot-instead-of-quot-Preview-quot-td14828.html#a14848 <http://forum.openscad.org/Can-I-force-Animation-to-use-quot-Render-quot-instead-of-quot-Preview-quot-td14828.html#a14848> If you have cygwin or msys2 installed on windows or if running linux, you may use the script on the thread above, provided by tp3. Cheers, jpmendes -- View this message in context: http://forum.openscad.org/Set-size-of-preview-window-tp19554p19574.html Sent from the OpenSCAD mailing list archive at Nabble.com.