C
Caddiy
Sun, Oct 18, 2020 1:05 AM
It doesn't seem to be possible to show some kind of nameplate in the corner
of a picture that stays put when the design is rotated or moved about. That
would be useful for the name of the design, author, date/version etc.
Shouldn't be that difficult?
http://forum.openscad.org/file/t2925/frame00001.png
BTW Does this forum do animated .gifs?
--
Sent from: http://forum.openscad.org/
It doesn't seem to be possible to show some kind of nameplate in the corner
of a picture that stays put when the design is rotated or moved about. That
would be useful for the name of the design, author, date/version etc.
Shouldn't be that difficult?
<http://forum.openscad.org/file/t2925/frame00001.png>
BTW Does this forum do animated .gifs?
--
Sent from: http://forum.openscad.org/
M
MichaelAtOz
Sun, Oct 18, 2020 2:54 AM
You can use these variables
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features#$vpr,_$vpt,_$vpf_and_$vpd
to make something face way you want.
http://forum.openscad.org/file/t359/1284801paper_fighting.gif
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
- on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
You can use these variables
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features#$vpr,_$vpt,_$vpf_and_$vpd>
to make something face way you want.
<http://forum.openscad.org/file/t359/1284801paper_fighting.gif>
-----
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
* on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
MF
Michael Frey
Sun, Oct 18, 2020 9:20 AM
On 18.10.20 03:05, Caddiy wrote:
BTW Does this forum do animated .gifs?
I do:
https://de.wikipedia.org/wiki/Benutzer:MichaelFrey#3D-Animationen
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Example/Strandbeest
For the purpose of commons/wikipedia, watermarking is not well liked.
I rarely publish the code of the animation, as I feel like I have to
polish the code before publication.
(as seen with the Strandbeest Example)
The 2D animations are in javascript - that code has become impossible to
publish, as I use messy copy paste code.
One tip I like to give: For high quality render, you can use OpenSCAD to
create STL Files, which then can be animated and rendered in POV-Ray.
The result of my test looked like this:
https://commons.wikimedia.org/wiki/File:Question_Mark_3D_Animation_POV-Ray.gif
https://de.wikipedia.org/wiki/Benutzer:MichaelFrey#/media/Datei:Strandbeest_POV-Ray_3D.gif
I Love the transparency of the GIF and the possibility to use textures,
but creating a stable rendering chain requires three seperates pieces of
code (OpenSCAD for creating the STL File, POV-Ray to import, rotate and
render, Bash Script to glue it together). POV-Ray is a power full
language in its own right, but OpenSCAD is easier to learn and easier to
model with, easier to animate with, so the POV-Ray strandbeest, I used a
script to generate each leg position in OpenSCAD and export it to STL.
All the POV-Ray script does is instantiate 6 legs in the correct angle
and rotate and position them.
With Kind regards,
Michael Frey
On 18.10.20 03:05, Caddiy wrote:
> BTW Does this forum do animated .gifs?
I do:
https://de.wikipedia.org/wiki/Benutzer:MichaelFrey#3D-Animationen
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Example/Strandbeest
For the purpose of commons/wikipedia, watermarking is not well liked.
I rarely publish the code of the animation, as I feel like I have to
polish the code before publication.
(as seen with the Strandbeest Example)
The 2D animations are in javascript - that code has become impossible to
publish, as I use messy copy paste code.
One tip I like to give: For high quality render, you can use OpenSCAD to
create STL Files, which then can be animated and rendered in POV-Ray.
The result of my test looked like this:
https://commons.wikimedia.org/wiki/File:Question_Mark_3D_Animation_POV-Ray.gif
https://de.wikipedia.org/wiki/Benutzer:MichaelFrey#/media/Datei:Strandbeest_POV-Ray_3D.gif
I Love the transparency of the GIF and the possibility to use textures,
but creating a stable rendering chain requires three seperates pieces of
code (OpenSCAD for creating the STL File, POV-Ray to import, rotate and
render, Bash Script to glue it together). POV-Ray is a power full
language in its own right, but OpenSCAD is easier to learn and easier to
model with, easier to animate with, so the POV-Ray strandbeest, I used a
script to generate each leg position in OpenSCAD and export it to STL.
All the POV-Ray script does is instantiate 6 legs in the correct angle
and rotate and position them.
With Kind regards,
Michael Frey
C
Caddiy
Mon, Oct 19, 2020 5:31 PM
You can use these variables
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features#$vpr,$vpt,$vpf_and_$vpd>
to make something face way you want.
So the possibility does exist. That's good to know. I had previously
stumbled across the section on $vpr, $vpt, $vpf and $vpd in the User Manual
but it talks about moving the viewport, whereas I want to fix an object I
have created. My viewport (PC monitor) is fine where it is on my desk and
moving it would not help anyway, I thought, and moved on.
Now, "Moving the viewport does not update them" sounds promising but there
is unfortunately no indication of how to actually fix one object in a
particular position while leaving the rest free to move.
So the next question is: How are $vpr, $vpt, $vpf and $vpd used to fix an
individual object in the lower right corner of the display? Could you give a
code example?
--
Sent from: http://forum.openscad.org/
You can use these variables
<https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_Language_Features#$vpr,_$vpt,_$vpf_and_$vpd>
to make something face way you want.
So the possibility does exist. That's good to know. I had previously
stumbled across the section on $vpr, $vpt, $vpf and $vpd in the User Manual
but it talks about moving the viewport, whereas I want to fix an object I
have created. My viewport (PC monitor) is fine where it is on my desk and
moving it would not help anyway, I thought, and moved on.
Now, "Moving the viewport does not update them" sounds promising but there
is unfortunately no indication of how to actually fix one object in a
particular position while leaving the rest free to move.
So the next question is: How are $vpr, $vpt, $vpf and $vpd used to fix an
individual object in the lower right corner of the display? Could you give a
code example?
--
Sent from: http://forum.openscad.org/
C
Caddiy
Mon, Oct 19, 2020 6:11 PM
On 18.10.20 03:05, Caddiy wrote:
BTW Does this forum do animated .gifs?
On 18.10.20 03:05, Caddiy wrote:
> BTW Does this forum do animated .gifs?
I do:
https://de.wikipedia.org/wiki/Benutzer:MichaelFrey#3D-Animationen
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Example/Strandbeest
Some very nice animations!
You would probably like Charles Parsons' steam engine of 1877.
--
Sent from: http://forum.openscad.org/
M
MichaelAtOz
Mon, Oct 19, 2020 10:56 PM
So the possibility does exist. That's good to know.
Could you give a code example?
Here is one for inspiration to get you started.
// turn on animation
$vpr = [$vpr[0], 0, $t * 360]; // animated rotate around Z
echo($vpt=$vpt,$vpr=$vpr,$vpd=$vpd); //,$vpf=$vpf);
// object of interest
cube([75,20,50]);
// oriented message
translate([25,25,100])
rotate([$vpr[0],$vpr[1],$vpr[2]])
text(str("$vpr=",$vpr[2]),size=10);
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
- on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
Caddiy wrote
> So the possibility does exist. That's good to know.
>
> Could you give a code example?
Here is one for inspiration to get you started.
// turn on animation
$vpr = [$vpr[0], 0, $t * 360]; // animated rotate around Z
echo($vpt=$vpt,$vpr=$vpr,$vpd=$vpd); //,$vpf=$vpf);
// object of interest
cube([75,20,50]);
// oriented message
translate([25,25,100])
rotate([$vpr[0],$vpr[1],$vpr[2]])
text(str("$vpr=",$vpr[2]),size=10);
-----
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
* on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
M
MichaelAtOz
Mon, Oct 19, 2020 11:06 PM
That had some line break problems in the email, check the forum to get the
right one.
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
- on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
That had some line break problems in the email, check the forum to get the
right one.
-----
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
* on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
C
Caddiy
Tue, Oct 20, 2020 2:15 PM
That had some line break problems in the email, check the forum to get the
right one.
So it's got some built-in errors, right?
--
Sent from: http://forum.openscad.org/
That had some line break problems in the email, check the forum to get the
right one.
So it's got some built-in errors, right?
--
Sent from: http://forum.openscad.org/
M
MichaelAtOz
Tue, Oct 20, 2020 10:33 PM
So it's got some built-in errors, right?
Not sure what you mean?
Every so often emails from the forum lose line breaks, I don't know where it
happens.
e.g. This is what I got:
// turn on animation
$vpr = [$vpr[0], 0, $t * 360]; // animated rotate around Z
echo($vpt=$vpt,$vpr=$vpr,$vpd=$vpd); //,$vpf=$vpf); // object of interest
cube([75,20,50]); // oriented message
translate([25,25,100])
rotate([$vpr[0],$vpr[1],$vpr[2]])
text(str("$vpr=",$vpr[2]),size=10);
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
- on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
Caddiy wrote
> So it's got some built-in errors, right?
Not sure what you mean?
Every so often emails from the forum lose line breaks, I don't know where it
happens.
e.g. This is what I got:
> // turn on animation
> $vpr = [$vpr[0], 0, $t * 360]; // animated rotate around Z
> echo($vpt=$vpt,$vpr=$vpr,$vpd=$vpd); //,$vpf=$vpf); // object of interest
> cube([75,20,50]); // oriented message
> translate([25,25,100])
> rotate([$vpr[0],$vpr[1],$vpr[2]])
> text(str("$vpr=",$vpr[2]),size=10);
-----
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
* on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
M
MichaelAtOz
Tue, Oct 20, 2020 11:00 PM
...an of course, that quote has different breaks...
I suspect it may be my email client, this is what I got.
-----Original Message-----
Sent: Wed, 21 Oct 2020 09:34
Subject: Re: [OpenSCAD] Another missing feature? (All I want for Xmas...)
So it's got some built-in errors, right?
Every so often emails from the forum lose line breaks, I don't know where it
$vpr = [$vpr[0], 0, $t * 360]; // animated rotate around Z
echo($vpt=$vpt,$vpr=$vpr,$vpd=$vpd); //,$vpf=$vpf); // object of interest
cube([75,20,50]); // oriented message
rotate([$vpr[0],$vpr[1],$vpr[2]])
text(str("$vpr=",$vpr[2]),size=10);
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
- on the Forum, click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the
extent possible under law, I have waived all copyright and related or neighbouring rights
to this work. Obviously inclusion of works of previous authors is not included in the
...an of course, that quote has different breaks...
I suspect it may be my email client, this is what I got.
> -----Original Message-----
> From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of MichaelAtOz
> Sent: Wed, 21 Oct 2020 09:34
> To: discuss@lists.openscad.org
> Subject: Re: [OpenSCAD] Another missing feature? (All I want for Xmas...)
>
> Caddiy wrote
> > So it's got some built-in errors, right?
>
> Not sure what you mean?
> Every so often emails from the forum lose line breaks, I don't know where it
> happens.
>
> e.g. This is what I got:
>
> > // turn on animation
> > $vpr = [$vpr[0], 0, $t * 360]; // animated rotate around Z
> > echo($vpt=$vpt,$vpr=$vpr,$vpd=$vpd); //,$vpf=$vpf); // object of interest
> > cube([75,20,50]); // oriented message
> > translate([25,25,100])
> > rotate([$vpr[0],$vpr[1],$vpr[2]])
> > text(str("$vpr=",$vpr[2]),size=10);
>
>
>
>
>
> -----
> OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
>
> * on the Forum, click on my MichaelAtOz label, there is a link to email me.
>
> Unless specifically shown otherwise above, my contribution is in the Public Domain; to the
> extent possible under law, I have waived all copyright and related or neighbouring rights
> to this work. Obviously inclusion of works of previous authors is not included in the
> above.
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
This email has been checked for viruses by AVG.
https://www.avg.com