I am trying to export to png from the command line and was thinking that the viewport-control panel numbers for translate, rotate and distance would be the numbers to use for the --camera option but they don't seem be correct. Is this not the case? If not how do I go about exporting with --camera with the view on the screen?
Yes I think they are but I pass 0 for the translate numbers and use
autocenter and viewall.
--camera=0,0,0,70,0,315,500--autocenter --viewall
On Mon, 29 Jul 2024 at 16:42, Trevor Orr via Discuss <
discuss@lists.openscad.org> wrote:
I am trying to export to png from the command line and was thinking that
the viewport-control panel numbers for translate, rotate and distance would
be the numbers to use for the --camera option but they don't seem be
correct. Is this not the case? If not how do I go about exporting with
--camera with the view on the screen?
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Yes I can confirm copying all the numbers, specifying the projection and
the imagesize gives exactly the screen view.
On Mon, 29 Jul 2024 at 17:43, nop head nop.head@gmail.com wrote:
Yes I think they are but I pass 0 for the translate numbers and use
autocenter and viewall.
--camera=0,0,0,70,0,315,500--autocenter --viewall
On Mon, 29 Jul 2024 at 16:42, Trevor Orr via Discuss <
discuss@lists.openscad.org> wrote:
I am trying to export to png from the command line and was thinking that
the viewport-control panel numbers for translate, rotate and distance would
be the numbers to use for the --camera option but they don't seem be
correct. Is this not the case? If not how do I go about exporting with
--camera with the view on the screen?
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Except if the code sets any of the $vp*
variables. Then --autocenter and --viewall and --camera get overridden.
-Revar
On Jul 29, 2024, at 9:54 AM, nop head via Discuss <discuss@lists.openscad.org> wrote:
Yes I can confirm copying all the numbers, specifying the projection and the imagesize gives exactly the screen view.
On Mon, 29 Jul 2024 at 17:43, nop head <nop.head@gmail.com> wrote:
Yes I think they are but I pass 0 for the translate numbers and use autocenter and viewall.
--camera=0,0,0,70,0,315,500--autocenter --viewallOn Mon, 29 Jul 2024 at 16:42, Trevor Orr via Discuss <discuss@lists.openscad.org> wrote:
I am trying to export to png from the command line and was thinking that the viewport-control panel numbers for translate, rotate and distance would be the numbers to use for the --camera option but they don't seem be correct. Is this not the case? If not how do I go about exporting with --camera with the view on the screen?
_______________________________________________
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 figured out my issue, I also had --autocenter and --viewall as parameters. Once I took those out it worked as expected.
On Monday, July 29, 2024 at 09:54:56 AM PDT, nop head via Discuss discuss@lists.openscad.org wrote:
Yes I can confirm copying all the numbers, specifying the projection and the imagesize gives exactly the screen view.
On Mon, 29 Jul 2024 at 17:43, nop head nop.head@gmail.com wrote:
Yes I think they are but I pass 0 for the translate numbers and use autocenter and viewall.
--camera=0,0,0,70,0,315,500--autocenter --viewall
On Mon, 29 Jul 2024 at 16:42, Trevor Orr via Discuss discuss@lists.openscad.org wrote:
I am trying to export to png from the command line and was thinking that the viewport-control panel numbers for translate, rotate and distance would be the numbers to use for the --camera option but they don't seem be correct. Is this not the case? If not how do I go about exporting with --camera with the view on the screen?_______________________________________________
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