discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Command Line PNG

TO
Trevor Orr
Tue, Jul 11, 2023 11:08 PM

I had to keep the --render option and went with 4096 for image size and then scaled it down and it looks nice now
On Tuesday, July 11, 2023 at 04:01:50 PM PDT, Trevor Orr via Discuss discuss@lists.openscad.org wrote:

Thanks, I will try it without the --render and also double my output size.
On Tuesday, July 11, 2023 at 03:59:30 PM PDT, Revar Desmera revarbat@gmail.com wrote:

I also generate double sized images and then scale them down for antialiasing. I use the Python package openscad_runner to automate this when generating documentation from openscad_docsgen. 
-Revar

On Jul 11, 2023, at 3:46 PM, nop head nop.head@gmail.com wrote:

I export with --imgsize=4096,4096 and then trim and resize it with Image magick to get an antialiased image. 
On Tue, 11 Jul 2023 at 23:13, Jordan Brown openscad@jordan.maileater.net wrote:

On 7/11/2023 10:07 AM, Trevor Orr via Discuss wrote:

I am generating PNG images from Windows 11 command line and the images are coming out pretty grainy.  Just wondering what I am doing wrong, here are the parameters I am using.
openscad.com -o image_1.png ../file.scad --render --colorscheme=Custom --camera=22,-8,-14,53,0,28,750 --imgsize=1024,1024

That command works OK for me for a couple of simple models.

Can you give an example of an image that you're not satisfied with, and maybe the model it came from?

Generally if you're making a PNG I wouldn't expect you to use --render, because that loses any color that you've specified in the model.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I had to keep the --render option and went with 4096 for image size and then scaled it down and it looks nice now On Tuesday, July 11, 2023 at 04:01:50 PM PDT, Trevor Orr via Discuss <discuss@lists.openscad.org> wrote: Thanks, I will try it without the --render and also double my output size. On Tuesday, July 11, 2023 at 03:59:30 PM PDT, Revar Desmera <revarbat@gmail.com> wrote: I also generate double sized images and then scale them down for antialiasing. I use the Python package openscad_runner to automate this when generating documentation from openscad_docsgen.  -Revar On Jul 11, 2023, at 3:46 PM, nop head <nop.head@gmail.com> wrote: I export with --imgsize=4096,4096 and then trim and resize it with Image magick to get an antialiased image.  On Tue, 11 Jul 2023 at 23:13, Jordan Brown <openscad@jordan.maileater.net> wrote: On 7/11/2023 10:07 AM, Trevor Orr via Discuss wrote: I am generating PNG images from Windows 11 command line and the images are coming out pretty grainy.  Just wondering what I am doing wrong, here are the parameters I am using. openscad.com -o image_1.png ../file.scad --render --colorscheme=Custom --camera=22,-8,-14,53,0,28,750 --imgsize=1024,1024 That command works OK for me for a couple of simple models. Can you give an example of an image that you're not satisfied with, and maybe the model it came from? Generally if you're making a PNG I wouldn't expect you to use --render, because that loses any color that you've specified in the model. _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org